-
Notifications
You must be signed in to change notification settings - Fork 179
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
n_iters_ in SVR is always saved as 10,000 #1712
Comments
This is expected behavior for now. Warning for |
sklearn and sklearnex use different implementations of SVM, thus, different behavior on same number of iterations it expected. |
Describe the bug
The n_iter_ that is saved seems to be constant 10000
To Reproduce
import numpy as np
from sklearnex import patch_sklearn
patch_sklearn()
from sklearn.svm import SVR
svr = SVR()
X = np.random.randn(100, 5)
y = np.mean(X, axis=1)
svr.fit(X, y)
print('svr.n_iter_: ', svr.n_iter_)
Expected behavior
Describe what your are expecting from steps above
Output/Screenshots
import numpy as np
from sklearnex import patch_sklearn
patch_sklearn()
from sklearn.svm import SVR
svr = SVR()
X = np.random.randn(100, 5)
y = np.mean(X, axis=1)
svr.fit(X, y)
print(svr.n_iter_)
Environment:
The text was updated successfully, but these errors were encountered: