Re: Regularization parameters

2014-08-07 Thread SK
What is the definition of regParam and what is the range of values it is allowed to take? thanks -- View this message in context: http://apache-spark-user-list.1001560.n3.nabble.com/Regularization-parameters-tp11601p11737.html Sent from the Apache Spark User List mailing list archive at

Re: Regularization parameters

2014-08-07 Thread Xiangrui Meng
Then this may be a bug. Do you mind sharing the dataset that we can use to reproduce the problem? -Xiangrui On Thu, Aug 7, 2014 at 1:20 AM, SK wrote: > Spark 1.0.1 > > thanks > > > > -- > View this message in context: > http://apache-spark-user-list.1001560.n

Re: Regularization parameters

2014-08-07 Thread SK
Spark 1.0.1 thanks -- View this message in context: http://apache-spark-user-list.1001560.n3.nabble.com/Regularization-parameters-tp11601p11631.html Sent from the Apache Spark User List mailing list archive at Nabble.com

Re: Regularization parameters

2014-08-07 Thread Xiangrui Meng
; 0.5, else it is > mapped to class 1. THen I compare the predictions with the corresponding > labels and the number of matches is given by correctCount. > > val accuracy = correctCount.toDouble / predictionAndLabel.count > > thanks > > > > -- > View this message

Re: Regularization parameters

2014-08-07 Thread SK
ble / predictionAndLabel.count thanks -- View this message in context: http://apache-spark-user-list.1001560.n3.nabble.com/Regularization-parameters-tp11601p11627.html Sent from the Apache Spark User List mailing list archive at Nabble.com. -

Re: Regularization parameters

2014-08-06 Thread Mohit Singh
dataset with global solutions..? On Wed, Aug 6, 2014 at 7:12 PM, Burak Yavuz wrote: > Hi, > > That is interesting. Would you please share some code on how you are > setting the regularization type, regularization parameters and running > Logistic Regression? > > Thanks, >

Re: Regularization parameters

2014-08-06 Thread Burak Yavuz
Hi, That is interesting. Would you please share some code on how you are setting the regularization type, regularization parameters and running Logistic Regression? Thanks, Burak - Original Message - From: "SK" To: u...@spark.incubator.apache.org Sent: Wednesday, August 6,

Regularization parameters

2014-08-06 Thread SK
e same results. So why is the accuracy value different? thanks -- View this message in context: http://apache-spark-user-list.1001560.n3.nabble.com/Regularization-parameters-tp11601.html Sent from the Apache Spark User List mailing list archive at Nabb