You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Apache Spark (JIRA)" <ji...@apache.org> on 2016/04/20 17:10:29 UTC

[jira] [Assigned] (SPARK-14758) Add checking for StepSize and Tol

     [ https://issues.apache.org/jira/browse/SPARK-14758?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Apache Spark reassigned SPARK-14758:
------------------------------------

    Assignee: Apache Spark

> Add checking for StepSize and Tol
> ---------------------------------
>
>                 Key: SPARK-14758
>                 URL: https://issues.apache.org/jira/browse/SPARK-14758
>             Project: Spark
>          Issue Type: Improvement
>          Components: ML
>            Reporter: zhengruifeng
>            Assignee: Apache Spark
>
> The following code run successfully and return a model. 
> {code}
> val data = ...
> val gbt = new GBTRegressor().setStepSize(-1)
> val linear = new LinearRegression().setTol(-1)
> val model = linear.fit(data)
> {code}
> The {{setStepSize}} and {{setTol}} should throw some exception.



--
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