Github user AnthonyTruchet commented on the issue:
    This seems very related to the change. I know nothing wrt the way PySpark 
interfaces Python and Scala and I'm surprised that changing an internal f the 
Scala lib causes this ? Ready to learn and help though :-)
 line 155, in __main__.LogisticRegressionModel
    Failed example:
        mcm = LogisticRegressionWithLBFGS.train(data, iterations=10, 
    Exception raised:
        Traceback (most recent call last):
          File "/usr/lib64/python2.6/", line 1253, in __run
            compileflags, 1) in test.globs
          File "<doctest __main__.LogisticRegressionModel[23]>", line 1, in 
            mcm = LogisticRegressionWithLBFGS.train(data, iterations=10, 
        Py4JJavaError: An error occurred while calling 
    Caused by: java.lang.IllegalArgumentException: axpy only supports adding to 
a dense vector but got type class org.apache.spark.mllib.linalg.SparseVector.
                at org.apache.spark.mllib.linalg.BLAS$.axpy(BLAS.scala:58)

If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at or file a JIRA ticket
with INFRA.

To unsubscribe, e-mail:
For additional commands, e-mail:

Reply via email to