jpmml / jpmml-sklearn

Java library and command-line application for converting Scikit-Learn pipelines to PMML
GNU Affero General Public License v3.0
531 stars 117 forks source link

Update Imbalanced-Learn mappings #163

Closed vruusmann closed 3 years ago

vruusmann commented 3 years ago

See https://github.com/jpmml/sklearn2pmml/issues/293#issuecomment-896787310

The JPMML-SkLearn mappings file expects the fully-qualified name of the SMOTE sampler class to be imblearn.over_sampling._smote.SMOTE, but according to the above comment it looks to be imblearn.over_sampling._smote.base.SMOTE now.

Ie. there's an extra base module component in the FQN.