07 February 2019 0 6K Report

hello , I have dataset consist of 20 classes it is imbalance I will apply

under sampling + boost ensemble also under sampling +bagging

like that rusboost = RUSBoostClassifier(random_state=0)

rusboost.fit(X_train, y_train)

RUSBoostClassifier(...)

y_pred = rusboost.predict(X_test)

balanced_accuracy_score(y_test, y_pred)

then after balancing I need try knn ,DT , RF on resul on RUSBOOST how can I do that ? it is passable ? I use python 3

More Hg Ab's questions See All
Similar questions and discussions