Thanks. I used the following commnad line to run the SVM, but it seems that the path is not correct. What the right path or command line should be? Thanks. ./bin/run-example org.apache.spark.mllib.classification.SVM spark://100.1.255.193:7077 train.csv 20 Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/spark/mllib/classification/SVM Caused by: java.lang.ClassNotFoundException: org.apache.spark.mllib.classification.SVM at java.net.URLClassLoader$1.run(URLClassLoader.java:202) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:190) at java.lang.ClassLoader.loadClass(ClassLoader.java:306) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301) at java.lang.ClassLoader.loadClass(ClassLoader.java:247) Could not find the main class: org.apache.spark.mllib.classification.SVM. Program will exit.
-- View this message in context: http://apache-spark-user-list.1001560.n3.nabble.com/How-to-Run-Machine-Learning-Examples-tp6277p6288.html Sent from the Apache Spark User List mailing list archive at Nabble.com.