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] [Commented] (SPARK-14758) Add checking for StepSize and Tol

    [ https://issues.apache.org/jira/browse/SPARK-14758?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15250066#comment-15250066 ] 

Apache Spark commented on SPARK-14758:
--------------------------------------

User 'zhengruifeng' has created a pull request for this issue:
https://github.com/apache/spark/pull/12530

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