Closed
Description
I am trying to use SMOTE along with Randomforest multiOutputClassifier.
Here is how I am using it,
forest = RandomForestClassifier(n_estimators= n_estimator, random_state=1)
multi_target_forest = MultiOutputClassifier(forest, n_jobs=-1)
sampler = SMOTE()
clf = make_pipeline(sampler, multi_target_forest)
model = clf.fit(vecs, vec_labels)
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.
Metadata
Metadata
Assignees
Labels
No labels