8000 partial_fit for multioutput classifier/regressor · Issue #8053 · scikit-learn/scikit-learn · GitHub
[go: up one dir, main page]

Skip to content

partial_fit for multioutput classifier/regressor #8053

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

Closed
yupbank opened this issue Dec 14, 2016 · 1 comment · Fixed by #8054
Closed

partial_fit for multioutput classifier/regressor #8053

yupbank opened this issue Dec 14, 2016 · 1 comment · Fixed by #8054

Comments

@yupbank
Copy link
Contributor
yupbank commented Dec 14, 2016

Description

add partial_fit for multioutput libs to enjoy sgd..

Steps/Code to Reproduce

from sklearn.multioutput import MultiOutputClassifier
from sklearn.linear_model impoer SGDClassifier
from itertootls import izip

base_clf = SGDClassifier(loss='log)
clf = MultiOutputClassifier(base_clf)

for batch_X, batch_y in izip(batch_X_iter, batch_y_iter):
    clf.partial_fit(batch_X, batch_y)
    

Expected Results

Actual Results

Versions

@amueller
Copy link
Member

PR welcome.

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

Successfully merging a pull request may close this issue.

2 participants
0