-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Support for MultiOutputClassifier #337
Comments
I think that forest = RandomForestClassifier(n_estimators=n_estimator, random_state=1)
sampler = SMOTE(random_state=2)
pipeline = make_pipeline(sampler, forest)
multi_target_forest = MultiOutputClassifier(pipeline, n_jobs=-1)
model = multi_target_forest.fit(vecs, vec_labels) |
I also think this would be a very nice addition to support multi-class oversampling out of the box with imbalanced-learn. |
It is already supported. |
Closed if favor of #340 regarding support of multilabel/multiclass |
I am trying to use SMOTE along with Randomforest multiOutputClassifier.
Here is how I am using it,
Is there a support for multOutputClassifier? Is this the correct way to use it?
I am encountering the value error in vec_labels.
length of vecs is 1631, vec_labels is [1631][241].
Please help.
The text was updated successfully, but these errors were encountered: