java.lang.IllegalArgumentException: The value of the sklearn.preprocessing.imputation.Imputer.statistics attribute (null) is not a supported array type
at org.jpmml.sklearn.ClassDictUtil.getShape(ClassDictUtil.java:99)
at org.jpmml.sklearn.ClassDictUtil.getShape(ClassDictUtil.java:76)
at sklearn.preprocessing.Imputer.getStatisticsShape(Imputer.java:83)
at sklearn.preprocessing.Imputer.getNumberOfFeatures(Imputer.java:39)
at sklearn.pipeline.Pipeline.encodeFeatures(Pipeline.java:85)
at sklearn2pmml.PMMLPipeline.encodePMML(PMMLPipeline.java:122)
at org.jpmml.sklearn.Main.run(Main.java:144)
at org.jpmml.sklearn.Main.main(Main.java:93)
When calculating the number of features, an exception is raised accessing to a misspelled "statistics" attribute (missing suffix "_").
A sklearn pipeline like this raise the exception during the conversion to pmml