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

Sean Owen resolved SPARK-14758.
-------------------------------
       Resolution: Fixed
    Fix Version/s: 2.0.0

Issue resolved by pull request 12530
[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
>             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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to