Mike Dusenberry created SYSTEMML-580:
----------------------------------------

             Summary: Add Scala LogisticRegression API For Spark Pipeline
                 Key: SYSTEMML-580
                 URL: https://issues.apache.org/jira/browse/SYSTEMML-580
             Project: SystemML
          Issue Type: New Feature
            Reporter: Tommy Yu
            Assignee: Tommy Yu


I wrote a scala ml pipeline wrapper for LogisticRegression Model as a example 
for scala user.

I propose a scala version example since some weakness for java version.

It's not naturally to extend scala class in java code. We need know function 
style after compile, like
@Override
public void 
org$apache$spark$ml$param$shared$HasElasticNetParam$setter$elasticNetParam_$eq(DoubleParam
 arg0) {}

I assume it's set function, but do nothing here

Hard to follow ml parameter style, but define parameter like below

private IntParam icpt = new IntParam(this, "icpt", "Value of intercept");
private DoubleParam reg = new DoubleParam(this, "reg", "Value of regularization 
parameter");



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to