Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id D0A81200B73 for ; Mon, 29 Aug 2016 23:36:23 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id CF253160AC9; Mon, 29 Aug 2016 21:36:23 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 5301C160AC8 for ; Mon, 29 Aug 2016 23:36:23 +0200 (CEST) Received: (qmail 1199 invoked by uid 500); 29 Aug 2016 21:36:22 -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 994 invoked by uid 99); 29 Aug 2016 21:36:22 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 29 Aug 2016 21:36:22 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 2A9022C0159 for ; Mon, 29 Aug 2016 21:36:22 +0000 (UTC) Date: Mon, 29 Aug 2016 21:36:22 +0000 (UTC) From: "Joseph K. Bradley (JIRA)" To: issues@spark.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Resolved] (SPARK-14662) LinearRegressionModel uses only default parameters if yStd is 0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Mon, 29 Aug 2016 21:36:24 -0000 [ https://issues.apache.org/jira/browse/SPARK-14662?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Joseph K. Bradley resolved SPARK-14662. --------------------------------------- Resolution: Fixed Assignee: Yanbo Liang Fix Version/s: 2.0.0 This has now been solved in [SPARK-15339] > LinearRegressionModel uses only default parameters if yStd is 0 > --------------------------------------------------------------- > > Key: SPARK-14662 > URL: https://issues.apache.org/jira/browse/SPARK-14662 > Project: Spark > Issue Type: Bug > Components: ML > Reporter: Louis Traynard > Assignee: Yanbo Liang > Priority: Minor > Fix For: 2.0.0 > > Original Estimate: 5m > Remaining Estimate: 5m > > In the (rare) case when yStd is 0 in LinearRegression, parameters are not copied immediately to the created LinearRegressionModel instance. But they should (as in all other cases), because currently only the default column names are used in and returned by model.findSummaryModelAndPredictionCol(), which leads to schema validation errors. > The fix is two lines and should not be hard to check & apply. -- 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