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.

  • java.lang.IllegalArgumentException: The function object (Java class net.razorvine.pickle.objects.ClassDictConstructor) is not a Numpy universal function at sklearn.preprocessing.FunctionTransformer.encodeFeatures( at sklearn_pandas.DataFrameMapper.encodeFeatures( at at org.jpmml.sklearn.Main.main( Caused by: java.lang.ClassCastException: net.razorvine.pickle.objects.ClassDictConstructor cannot be cast to numpy.core.UFunc at sklearn.preprocessing.FunctionTransformer.encodeFeatures( ... 3 more
No Bugmate found.