【发布时间】:2015-06-25 11:17:07
【问题描述】:
如何在 pyspark randomForests 中指定 categoricalFeaturesInfo?
文档对此不是很清楚,我尝试了一些类似的方法:
categoricalFeaturesInfo= {(12,4)}
categoricalFeaturesInfo= {(12->4)}
categoricalFeaturesInfo= {地图[int,int](12,4)}
... 等等,但它们都不起作用。非常感谢任何帮助。
【问题讨论】:
标签: apache-spark categories random-forest decision-tree pyspark