AdaBoostClassifier with different base learners

后端 未结 3 1035
一生所求
一生所求 2020-12-14 09:26

I am trying to use AdaBoostClassifier with a base learner other than DecisionTree. I have tried SVM and KNeighborsClassifier but I get errors. Can some one point out the cla

3条回答
  •  旧时难觅i
    2020-12-14 10:11

    Any classifier that supports passing sample weights should work. SVC is one such classifier. What specific error message (and traceback) do you get? Can you provide a minimalistic reproduction case for this error (e.g. as a http://gist.github.com )?

提交回复
热议问题