Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Stack Overflow by krishna Prasad
, 1 year ago
Currently, LogisticRegression with ElasticNet in ML package only supports binary classification. Found 5 in the input dataset.
via Data Science by krishna Prasad
, 1 year ago
Currently, LogisticRegression with ElasticNet in ML package only supports binary classification. Found 5 in the input dataset.
via Stack Overflow by krishna Prasad
, 1 year ago
Currently, LogisticRegression with ElasticNet in ML package only supports binary classification. Found 5 in the input dataset.
via Stack Overflow by hbabbar
, 2 years ago
Currently, LogisticRegression with ElasticNet in ML package only supports binary classification. Found 5 in the input dataset.
org.apache.spark.SparkException: Currently, LogisticRegression with ElasticNet in ML package only supports binary
 classification. Found 5 in the input dataset.	at org.apache.spark.ml.classification.LogisticRegression.train(LogisticRegression.scala:290)	at org.apache.spark.ml.classification.LogisticRegression.train(LogisticRegression.scala:159)	at org.apache.spark.ml.Predictor.fit(Predictor.scala:90)	at org.apache.spark.ml.Predictor.fit(Predictor.scala:71)	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)	at java.lang.reflect.Method.invoke(Method.java:498)	at py4j.reflection.MethodInvoker.invoke(MethodInvoker.java:231)	at py4j.reflection.ReflectionEngine.invoke(ReflectionEngine.java:381)	at py4j.Gateway.invoke(Gateway.java:259)	at py4j.commands.AbstractCommand.invokeMethod(AbstractCommand.java:133)	at py4j.commands.CallCommand.execute(CallCommand.java:79)	at py4j.GatewayConnection.run(GatewayConnection.java:209)	at java.lang.Thread.run(Thread.java:745)