Re: Regularization in MLlib

2015-04-14 Thread DB Tsai
? Regards, Theodore -- View this message in context: http://apache-spark-developers-list.1001551.n3.nabble.com/Regularization-in-MLlib-tp11457p11583.html Sent from the Apache Spark Developers List mailing list archive at Nabble.com

Re: Regularization in MLlib

2015-04-07 Thread DB Tsai
1) Norm(weights, N) will return (w_1^N + w_2^N +)^(1/N), so norm * norm is required. 2) This is bug as you said. I intend to fix this using weighted regularization, and intercept term will be regularized with weight zero. https://github.com/apache/spark/pull/1518 But I never actually have

RE: Regularization in MLlib

2015-04-07 Thread Ulanov, Alexander
: Tuesday, April 07, 2015 3:28 PM To: Ulanov, Alexander Cc: dev@spark.apache.org Subject: Re: Regularization in MLlib 1) Norm(weights, N) will return (w_1^N + w_2^N +)^(1/N), so norm * norm is required. 2) This is bug as you said. I intend to fix this using weighted regularization