我要评分
获取效率
正确性
完整性
易理解

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:

1
<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.