Rate This Document
Findability
Accuracy
Completeness
Readability

Warning for the NodeIdCache Parameter of the Random Forest Algorithm

Symptom

When the Random Forest algorithm is run, the following error information is displayed in the log:

 <KunpengAlgorithmLibrary> MultiC and NodeIdCache are not supported at the same time!

Key Process and Cause Analysis

The Random Forest algorithm in the library does not support the NodeIdCache parameter provided by the open source MLlib, but this does not affect the computation result of the algorithm.

Conclusion and Solution

Set the NodeIdCache parameter to false to clear the alarm. If you do not want to modify the code, ignore this warning. The library will automatically set NodeIdCache to false to ensure that the algorithm runs properly.