java.lang.ClassCastException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • GitHub comment 16#243254737
    via GitHub by keithgw
    ,
    • java.lang.ClassCastException: numpy.core.NDArray cannot be cast to java.util.List at xgboost.sklearn.XGBClassifier.getClasses(XGBClassifier.java:55) at sklearn.Classifier.createSchema(Classifier.java:43) at sklearn.EstimatorUtil.encodePMML(EstimatorUtil.java:47) at org.jpmml.sklearn.Main.run(Main.java:189) at org.jpmml.sklearn.Main.main(Main.java:107)
    No Bugmate found.