java.lang.AssertionError: assertion failed: lapack.dppsv returned 4.

Stack Overflow | user3121900 | 2 weeks ago
  1. 0

    Py4JJavaError when applying linear regression model with pyspark

    Stack Overflow | 2 weeks ago | user3121900
    java.lang.AssertionError: assertion failed: lapack.dppsv returned 4.
  2. Speed up your debug routine!

    Automated exception search integrated into your IDE

  3. 0

    Issues with Logistic Regression for multiclass classification using PySpark

    Stack Overflow | 5 months ago | krishna Prasad
    org.apache.spark.SparkException: Currently, LogisticRegression with ElasticNet in ML package only supports binary classification. Found 5 in the input dataset.
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.lang.AssertionError

    assertion failed: lapack.dppsv returned 4.

    at scala.Predef$.assert()
  2. Scala
    Predef$.assert
    1. scala.Predef$.assert(Predef.scala:170)
    1 frame
  3. Spark Project ML Library
    CholeskyDecomposition$.solve
    1. org.apache.spark.mllib.linalg.CholeskyDecomposition$.solve(CholeskyDecomposition.scala:40)
    1 frame
  4. org.apache.spark
    LinearRegression.train
    1. org.apache.spark.ml.optim.WeightedLeastSquares.fit(WeightedLeastSquares.scala:140)
    2. org.apache.spark.ml.regression.LinearRegression.train(LinearRegression.scala:181)
    3. org.apache.spark.ml.regression.LinearRegression.train(LinearRegression.scala:70)
    3 frames
  5. Spark Project ML Library
    Predictor.fit
    1. org.apache.spark.ml.Predictor.fit(Predictor.scala:90)
    2. org.apache.spark.ml.Predictor.fit(Predictor.scala:71)
    2 frames
  6. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2. sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    4. java.lang.reflect.Method.invoke(Unknown Source)
    4 frames
  7. Py4J
    GatewayConnection.run
    1. py4j.reflection.MethodInvoker.invoke(MethodInvoker.java:237)
    2. py4j.reflection.ReflectionEngine.invoke(ReflectionEngine.java:357)
    3. py4j.Gateway.invoke(Gateway.java:280)
    4. py4j.commands.AbstractCommand.invokeMethod(AbstractCommand.java:132)
    5. py4j.commands.CallCommand.execute(CallCommand.java:79)
    6. py4j.GatewayConnection.run(GatewayConnection.java:214)
    6 frames
  8. Java RT
    Thread.run
    1. java.lang.Thread.run(Unknown Source)
    1 frame