Re: Random Forest Error

2020-10-03 Thread toufik
please provide code used to change labels thank you -- Sent from: http://apache-spark-user-list.1001560.n3.nabble.com/ - To unsubscribe e-mail: user-unsubscr...@spark.apache.org

Re: Random Forest Error

2015-07-15 Thread rishikesh
Thanks, that fixed the problem. Cheers Rishi -- View this message in context: http://apache-spark-user-list.1001560.n3.nabble.com/Random-Forest-Error-tp23847p23850.html Sent from the Apache Spark User List mailing list archive at Nabble.com

Re: Random Forest Error

2015-07-15 Thread Anas Sherwani
For RandomForest classifier, labels should be within the range [0,numClasses-1]. This means, you have to map your labels to 0,1 instead of 1,2. -- View this message in context: http://apache-spark-user-list.1001560.n3.nabble.com/Random-Forest-Error-tp23847p23848.html Sent from the Apache Spark

Random Forest Error

2015-07-15 Thread rishikesh
in context: http://apache-spark-user-list.1001560.n3.nabble.com/Random-Forest-Error-tp23847.html Sent from the Apache Spark User List mailing list archive at Nabble.com. - To unsubscribe, e-mail: user-unsubscr...@spark.apache.org