-
Notifications
You must be signed in to change notification settings - Fork 118
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
accuracy degraded when using latest sklearn version #9
Comments
Can confirm that this is what happens: with the following pytest output:
|
https://scikit-learn.org/stable/modules/generated/sklearn.svm.LinearSVC.html Copy+paste of default values from current version(https://scikit-learn.org/stable/modules/generated/sklearn.svm.LinearSVC.html): class sklearn.svm.LinearSVC(penalty='l2', loss='squared_hinge', dual=True, tol=0.0001, C=1.0, multi_class='ovr', fit_intercept=True, intercept_scaling=1, class_weight=None, verbose=0, random_state=None, max_iter=1000) Copy+paste from 0.20.4, closest version to one in this library (https://scikit-learn.org/0.20/modules/generated/sklearn.svm.LinearSVC.html): class sklearn.svm.LinearSVC(penalty='l2', loss='squared_hinge', dual=True, tol=0.0001, C=1.0, multi_class='ovr', fit_intercept=True, intercept_scaling=1, class_weight=None, verbose=0, random_state=None, max_iter=1000) They are the same unless I am missing something. |
I tried to retrain using the train.py and exact the same train data file. but running the accuracy-test side by side between the model generated by sklearn 0.22 and the existing one (sklearn 0.20), the one from 0.22 perform significantly worse than the one from 0,20.
Any idea why this happens?
thanks.
The text was updated successfully, but these errors were encountered: