Hi Congrui,
I mean create your own TrainMLOR.scala with all the code provided in
the example, and have it under package org.apache.spark.mllib
Sincerely,
DB Tsai
---
My Blog: https://www.dbtsai.com
LinkedIn: https://www.linkedin.com/in/dbtsai
Thank you! I'll try it out.
From: DB Tsai-2 [via Apache Spark User List]
[mailto:ml-node+s1001560n7686...@n3.nabble.com]
Sent: Monday, June 16, 2014 11:32 AM
To: FIXED-TERM Yi Congrui (CR/RTC1.3-NA)
Subject: Re: MLlib-a problem of example code for L-BFGS
Hi Congrui,
I mean create your own
Hi All,
I'm new to Spark. Just tried out the example code on Spark website for
L-BFGS. But the code val model = new LogisticRegressionModel(... gave me
an error:
console:19: error: constructor LogisticRegressionModel in class
LogisticRegres
sionModel cannot be accessed in class $iwC
val
Hi Congrui,
Since it's private in mllib package, one workaround will be write your
code in scala file with mllib package in order to use the constructor
of LogisticRegressionModel.
Sincerely,
DB Tsai
---
My Blog: https://www.dbtsai.com
Hi DB,
Thank you for the help! I'm new to this, so could you give a bit more
details how this could be done?
Sincerely,
Congrui Yi
--
View this message in context:
http://apache-spark-user-list.1001560.n3.nabble.com/MLlib-a-problem-of-example-code-for-L-BFGS-tp7589p7596.html
Sent from