zhengruifeng created SPARK-14027:
------------------------------------
Summary: 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: [email protected]
For additional commands, e-mail: [email protected]