Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

glm classification error #47

Open
tsailiming opened this issue Jan 27, 2015 · 3 comments
Open

glm classification error #47

tsailiming opened this issue Jan 27, 2015 · 3 comments

Comments

@tsailiming
Copy link

On Spark 1.2.0

15/01/26 14:15:07 INFO scheduler.DAGScheduler: Job 0 finished: count at MLAlgorithmTests.scala:204, took 122.066741 s
Exception in thread "main" java.lang.IllegalArgumentException: GLMClassificationTest given incompatible (loss, regType) = (logistic, l2). Note the set of supp
orted combinations increases in later Spark versions.
        at mllib.perf.onepointtwo.GLMClassificationTest.runTest(MLAlgorithmTests.scala:238)
        at mllib.perf.onepointtwo.GLMClassificationTest.runTest(MLAlgorithmTests.scala:167)
        at mllib.perf.onepointtwo.RegressionAndClassificationTests.run(MLAlgorithmTests.scala:38)
        at mllib.perf.onepointtwo.TestRunner$$anonfun$2.apply(TestRunner.scala:55)
        at mllib.perf.onepointtwo.TestRunner$$anonfun$2.apply(TestRunner.scala:53)
        at scala.collection.TraversableLike$$anonfun$map$1.apply(TraversableLike.scala:244)
        at scala.collection.TraversableLike$$anonfun$map$1.apply(TraversableLike.scala:244)
        at scala.collection.immutable.Range.foreach(Range.scala:141)
        at scala.collection.TraversableLike$class.map(TraversableLike.scala:244)
        at scala.collection.AbstractTraversable.map(Traversable.scala:105)
        at mllib.perf.onepointtwo.TestRunner$.main(TestRunner.scala:53)
        at mllib.perf.onepointtwo.TestRunner.main(TestRunner.scala)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:606)
        at org.apache.spark.deploy.SparkSubmit$.launch(SparkSubmit.scala:358)
        at org.apache.spark.deploy.SparkSubmit$.main(SparkSubmit.scala:75)
        at org.apache.spark.deploy.SparkSubmit.main(SparkSubmit.scala)
@tsailiming
Copy link
Author

I'm still getting this error in the latest spark-perf and Spark 1.2.1

@nchammas
Copy link
Contributor

cc @mengxr

@mengxr
Copy link
Contributor

mengxr commented Feb 14, 2015

Please ignore this test. We don't support (logistic, l2) yet, which I plan to add soon.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants