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(FunctionTransformer.java:52)	at sklearn_pandas.DataFrameMapper.encodeFeatures(DataFrameMapper.java:70)	at org.jpmml.sklearn.Main.run(Main.java:146)	at org.jpmml.sklearn.Main.main(Main.java:107)