Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Complete implementation of remaining Spark models #6

Open
6 tasks
MLnick opened this issue Jun 8, 2018 · 2 comments
Open
6 tasks

Complete implementation of remaining Spark models #6

MLnick opened this issue Jun 8, 2018 · 2 comments

Comments

@MLnick
Copy link
Collaborator

MLnick commented Jun 8, 2018

Classifiers

  • OneVsRest

Regressors

  • AFTSurvivalRegression
  • IsotonicRegression

Clustering

  • BisectingKMeans
  • GaussianMixture

Other

  • ALS
@Paxanator
Copy link

I have a working version of OneVsRest here: https://github.com/Paxanator/aardpfark/tree/models/onevsrest

But i think i'm making too many compromises going through it. Would appreciate some help figure out how to fit it into the existing structure

@laotang123
Copy link

I have a working version of OneVsRest here: https://github.com/Paxanator/aardpfark/tree/models/onevsrest

But i think i'm making too many compromises going through it. Would appreciate some help figure out how to fit it into the existing structure

Thank you for your answer, except for the JSON PFA file. But something went wrong

Exception in thread "main" com.opendatagroup.hadrian.errors.PFASyntaxException: PFA syntax error at JSON line:col 134:38 (PFA field "fcns -> Stage_1_action -> do -> 0 -> let -> Stage_1_action_output -> do -> 0"): expecting expression, which may be ["string"], but no other array can be used as an expression
at com.opendatagroup.hadrian.reader.jsonToAst$.readArgument(reader.scala:828)
at com.opendatagroup.hadrian.reader.jsonToAst$.readExpression(reader.scala:744)
at com.opendatagroup.hadrian.reader.jsonToAst$.readExpressionArray(reader.scala:659)
at com.opendatagroup.hadrian.reader.jsonToAst$.readArgument(reader.scala:930)
at com.opendatagroup.hadrian.reader.jsonToAst$.readExpression(reader.scala:744)
at com.opendatagroup.hadrian.reader.jsonToAst$.readExpressionMap(reader.scala:678)
at com.opendatagroup.hadrian.reader.jsonToAst$.readArgument(reader.scala:923)
at com.opendatagroup.hadrian.reader.jsonToAst$.readExpression(reader.scala:744)
at com.opendatagroup.hadrian.reader.jsonToAst$.readExpressionArray(reader.scala:659)
at com.opendatagroup.hadrian.reader.jsonToAst$.readFcnDef(reader.scala:1144)
at com.opendatagroup.hadrian.reader.jsonToAst$.readFcnDefMap(reader.scala:1114)
at com.opendatagroup.hadrian.reader.jsonToAst$.readEngineConfig(reader.scala:298)
at com.opendatagroup.hadrian.reader.jsonToAst$.parserToAst(reader.scala:160)
at com.opendatagroup.hadrian.reader.jsonToAst$.apply(reader.scala:154)
at com.opendatagroup.hadrian.jvmcompiler.PFAEngine$.fromJson(jvmcompiler.scala:2335)
at com.ibm.aardpfark.PFATest01$.main(PFATest01.scala:43)
at com.ibm.aardpfark.PFATest01.main(PFATest01.scala)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants