Hi, I am extending Spark ML package locally to include one of the specialized model I need to try. In particular, I am trying to extend the LogisticRegression model with one which takes a custom object Weights as weights, and I am getting the following compilation error
could not find implicit value for parameter space: breeze.math.MutableInnerProductModule[breeze.linalg.DenseMatrix[Double],Double] [error] new BreezeLBFGS[BDM[Double]]($(maxIter), 10, $(tol)) While LogisticRegressionModel object uses Breeze DenseVectors for the weights, I also tried using Breeze DenseMatrix and it generated the same error as before. I imagine I need to specify the MutableInnerProductModel someway, but not sure how and where. Could someone hint/help? Thanks in advance, Nikhil -- View this message in context: http://apache-spark-user-list.1001560.n3.nabble.com/Extending-Spark-ML-LogisticRegression-Object-tp25241.html Sent from the Apache Spark User List mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscr...@spark.apache.org For additional commands, e-mail: user-h...@spark.apache.org