Uploaded image for project: 'CDAP'
  1. CDAP
  2. CDAP-13823

Multilayer perceptron model is broken

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 5.0.0
    • Component/s: MMDS
    • Labels:
      None
    • Rank:
      1|i00evj:

      Description

      I tried to train a multilayer perceptron model with the default params and got an error:

      2018-07-19 20:09:02,645 - ERROR [Thread-454:c.c.m.m.ModelManagerServiceHandler@426] - Error training model 42835f86c6e44c4fbada0b9612e96b8d in experiment re.
      java.lang.NumberFormatException: Invalid modeler parameter layers=[I@25527b40. Must be a comma separate list of positive integers.
              at co.cask.mmds.spec.IntArrayParam.parseVal(IntArrayParam.java:56) ~[mmds-model-1.1.0-SNAPSHOT.jar:na]
              at co.cask.mmds.spec.IntArrayParam.parseVal(IntArrayParam.java:24) ~[mmds-model-1.1.0-SNAPSHOT.jar:na]
              at co.cask.mmds.spec.Param.<init>(Param.java:33) ~[mmds-model-1.1.0-SNAPSHOT.jar:na]
              at co.cask.mmds.spec.IntArrayParam.<init>(IntArrayParam.java:29) ~[mmds-model-1.1.0-SNAPSHOT.jar:na]
              at co.cask.mmds.modeler.param.MultilayerPerceptronParams.<init>(MultilayerPerceptronParams.java:69) ~[mmds-model-1.1.0-SNAPSHOT.jar:na]
              at co.cask.mmds.modeler.MultilayerPerceptronModeler.getParams(MultilayerPerceptronModeler.java:43) ~[mmds-model-1.1.0-SNAPSHOT.jar:na]
              at co.cask.mmds.modeler.MultilayerPerceptronModeler.createPredictor(MultilayerPerceptronModeler.java:49) ~[mmds-model-1.1.0-SNAPSHOT.jar:na]
              at co.cask.mmds.modeler.train.ModelTrainer.train(ModelTrainer.java:130) ~[mmds-model-1.1.0-SNAPSHOT.jar:na]
              at co.cask.mmds.manager.ModelManagerServiceHandler.lambda$trainModel$16(ModelManagerServiceHandler.java:417) ~[unpacked/:na]
              at java.lang.Thread.run(Thread.java:748) ~[na:1.8.0_151-google-v7]
      

      Unsure if this error is a backend error parsing or a frontend error passing the wrong things.

        Attachments

          Activity

            People

            • Assignee:
              ashau Albert Shau
              Reporter:
              ashau Albert Shau
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: