0

I'm trying to convert an implementation of scikit-learn to OpenCV of several Machine Learning algorithms. First of all, do you know of any specific question/document where I can find the parameters equivalence?

If not, in the specific case of Decision Trees, is the max_categories of OpenCv the equivalent of max_features in scikit-learn?

desertnaut
  • 57,590
  • 26
  • 140
  • 166
xobekuj
  • 11
  • 2

1 Answers1

0

in the specific case of Decision Trees, is the max_categories of OpenCV the equivalent of max_features in scikit-learn?

It is not.

From the OpenCV docs:

maxCategories – Cluster possible values of a categorical variable into [...]

while scikit-learn does not even support directly categorical variables as predictors.

desertnaut
  • 57,590
  • 26
  • 140
  • 166