You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Sean Owen (JIRA)" <ji...@apache.org> on 2016/04/25 10:36:12 UTC
[jira] [Updated] (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 ]
Sean Owen updated SPARK-14758:
------------------------------
Assignee: zhengruifeng
Priority: Trivial (was: Major)
> 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: zhengruifeng
> Priority: Trivial
> Fix For: 2.0.0
>
>
> 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