spark-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From 陈哲 <czhenj...@gmail.com>
Subject Questions about ml.random forest (only one decision tree?)
Date Thu, 04 Aug 2016 08:48:13 GMT
Hi all
     I'm trying to use spark ml to do some prediction with random forest.
By reading the example code
https://github.com/apache/spark/blob/master/examples/src/main/java/org/apache/spark/examples/ml/JavaRandomForestClassifierExample.java
,
I can only find out it's similar to
https://github.com/apache/spark/blob/master/examples/src/main/java/org/apache/spark/examples/ml/JavaDecisionTreeClassificationExample.java.
Is random forest algorithm suppose to use multiple decision trees to work.
     I'm new about spark and ml. Is there  anyone help me, maybe provide
example about using multiple decision trees in random forest in spark

Thanks
Best Regards
Patrick

Mime
View raw message