java.lang.ClassCastException: moa.options.ClassOption cannot be cast to moa.classifiers.Classifier

Google Groups | Unknown author | 8 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    "java.lang.NullPoniterException" occurs when getPreparedClassOption(learnerOption) is being cast as Classifier under main function

    Google Groups | 8 months ago | Unknown author
    java.lang.ClassCastException: moa.options.ClassOption cannot be cast to moa.classifiers.Classifier

    Root Cause Analysis

    1. java.lang.ClassCastException

      moa.options.ClassOption cannot be cast to moa.classifiers.Classifier

      at moa.api.Testing4.main()
    2. moa.api
      Testing4.main
      1. moa.api.Testing4.main(Testing4.java:25)
      1 frame