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/03/20 09:12:33 UTC

[jira] [Commented] (SPARK-14027) Add parameter check to GradientDescent

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

Apache Spark commented on SPARK-14027:
--------------------------------------

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

> Add parameter check to GradientDescent
> --------------------------------------
>
>                 Key: SPARK-14027
>                 URL: https://issues.apache.org/jira/browse/SPARK-14027
>             Project: Spark
>          Issue Type: Improvement
>          Components: MLlib
>            Reporter: zhengruifeng
>            Priority: Minor
>
> The following code should throw some exception, not just run successfully and return a model:
> val data = MLUtils.loadLibSVMFile(sc, "/tmp/sample_libsvm_data.txt")
> val model = LogisticRegressionWithSGD.train(data, -2, -0.01, 0.5)



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