I don't really know how to create JIRA :(

Specifically, the code I commented out are:

    //val prediction = model.predict(test.map(_.features))
    //val predictionAndLabel = prediction.zip(test.map(_.label))
    //val prediction = model.predict(training.map(_.features))
    //val predictionAndLabel = prediction.zip(training.map(_.label))

    //val metrics = new BinaryClassificationMetrics(predictionAndLabel)

    //println(s"Test areaUnderPR = ${metrics.areaUnderPR()}.")
    //println(s"Test areaUnderROC = ${metrics.areaUnderROC()}.")

in
examples/src/main/scala/org/apache/spark/examples/mllib/BinaryClassification.scala.





--
View this message in context: 
http://apache-spark-user-list.1001560.n3.nabble.com/Error-when-testing-with-large-sparse-svm-tp9592p10010.html
Sent from the Apache Spark User List mailing list archive at Nabble.com.

Reply via email to