Return-Path: X-Original-To: apmail-spark-issues-archive@minotaur.apache.org Delivered-To: apmail-spark-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 0AA4E17333 for ; Sun, 24 May 2015 08:07:18 +0000 (UTC) Received: (qmail 72833 invoked by uid 500); 24 May 2015 08:07:17 -0000 Delivered-To: apmail-spark-issues-archive@spark.apache.org Received: (qmail 72803 invoked by uid 500); 24 May 2015 08:07:17 -0000 Mailing-List: contact issues-help@spark.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list issues@spark.apache.org Received: (qmail 72761 invoked by uid 99); 24 May 2015 08:07:17 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 24 May 2015 08:07:17 +0000 Date: Sun, 24 May 2015 08:07:17 +0000 (UTC) From: "Apache Spark (JIRA)" To: issues@spark.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Assigned] (SPARK-7780) The intercept in LogisticRegressionWithLBFGS should not be regularized MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/SPARK-7780?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Apache Spark reassigned SPARK-7780: ----------------------------------- Assignee: (was: Apache Spark) > The intercept in LogisticRegressionWithLBFGS should not be regularized > ---------------------------------------------------------------------- > > Key: SPARK-7780 > URL: https://issues.apache.org/jira/browse/SPARK-7780 > Project: Spark > Issue Type: Bug > Components: MLlib > Reporter: DB Tsai > > The intercept in Logistic Regression represents a prior on categories which should not be regularized. In MLlib, the regularization is handled through `Updater`, and the `Updater` penalizes all the components without excluding the intercept which resulting poor training accuracy with regularization. > The new implementation in ML framework handles this properly, and we should call the implementation in ML from MLlib since majority of users are still using MLlib api. > Note that both of them are doing feature scalings to improve the convergence, and the only difference is ML version doesn't regularize the intercept. As a result, when lambda is zero, they will converge to the same solution. -- This message was sent by Atlassian JIRA (v6.3.4#6332) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org For additional commands, e-mail: issues-help@spark.apache.org