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

Google Groups | Unknown author | 10 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

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

    Google Groups | 10 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