Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add functionality to retrieve decision boundary #342

Open
tlienart opened this issue Nov 18, 2019 · 4 comments
Open

Add functionality to retrieve decision boundary #342

tlienart opened this issue Nov 18, 2019 · 4 comments
Labels
enhancement New feature or request

Comments

@tlienart
Copy link
Collaborator

Use cases are typically visualisation but could also be further analysis like robustness (via margins) etc.

For some models they should be very easy to get (SVM, linear classifiers, LDA, ...) though sometimes dependent upon a threshold.

It's hard in general to describe the decision boundary but for the basic models we should provide a way.

@tlienart tlienart added the enhancement New feature or request label Nov 18, 2019
@ablaom
Copy link
Member

ablaom commented Nov 19, 2019

I suggest report as the interface point.

@tlienart
Copy link
Collaborator Author

yes that makes sense, so would you have a named field with a callable?

@ablaom
Copy link
Member

ablaom commented Nov 20, 2019

Yes. The user does something like report(mach).get_boundary(threshold) or whatever.

In hindsight extras would have been a better name that report. I guess it's too late for that now.

@ablaom
Copy link
Member

ablaom commented Nov 20, 2019

Or though we could switch and keep report for backwards compatibility.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants