Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via GitHub by keithgw
, 1 year ago
The function object (Java class net.razorvine.pickle.objects.ClassDictConstructor) is not a Numpy universal function
java.lang.ClassCastException: net.razorvine.pickle.objects.ClassDictConstructor cannot be cast to numpy.core.UFunc	at sklearn.preprocessing.FunctionTransformer.encodeFeatures(	at sklearn_pandas.DataFrameMapper.encodeFeatures(	at	at org.jpmml.sklearn.Main.main(