-
Notifications
You must be signed in to change notification settings - Fork 174
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
sklearn adapter #70
sklearn adapter #70
Conversation
Current coverage is 84.94% (diff: 82.85%)@@ master #70 diff @@
==========================================
Files 19 20 +1
Lines 566 598 +32
Methods 0 0
Messages 0 0
Branches 0 0
==========================================
+ Hits 482 508 +26
- Misses 84 90 +6
Partials 0 0
|
@hsuantien |
I personally view ContinuousModel as Model with additional capability. It If sklearn models generally support continuous prediction, maybe we can Thanks. --Hsuan-Tien On Thu, Nov 10, 2016 at 11:31 AM, yangarbiter [email protected]
Hsuan-Tien Lin [email protected] http://www.csie.ntu.edu.tw/~htlinAssociate Professor National Taiwan University |
What I am thinking is not to specify the inputed model through its inherited interface but through whether a particular method is implemented. |
As sklearn is one of the most important dependencies of libact, and most people are more familiar with it compared to other machine learning packages, I think it would be better to follow sklearn's design - to raise an error to notify the users to implement model.predict_real. |
Agree. |
#20