0
votes

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?

1
If the answer has resolved your issue, kindly accept it (see What should I do when someone answers my question?) - thanks (in any case, your first question is off-topic for SO) - desertnaut

1 Answers

0
votes

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.