scikit-learn-intelex icon indicating copy to clipboard operation
scikit-learn-intelex copied to clipboard

Undocumented Third Parameter Acceptable in Decision Forest Regression Training .compute() function

Open raoberman opened this issue 6 years ago • 0 comments
trafficstars

While coding, I discovered that decision_forest_regression_training.compute() function is allowed to take in a third parameter, however, according to the daal4py documentation, only 2 input parameters are allowed: data and dependentVariable - meaning that this third parameter is undocumented. See here: https://intelpython.github.io/daal4py/algorithms.html#daal4py.decision_forest_regression_training.compute

Upon further investigation, placing in a 1-d vertical numpy array as the value for the third parameter, then running the training/prediction for Decision Forest Regression does not impact the prediction results (same result as only data and dependentVariable being inputted).

See pic below (does not error out):

third_param

What is the purpose of this third mystery parameter, and why is it undocumented?

My test code: third_param.zip

raoberman avatar Aug 16 '19 22:08 raoberman