iamDecode / sklearn-pmml-model

A library to parse and convert PMML models into Scikit-learn estimators.
BSD 2-Clause "Simplified" License
76 stars 15 forks source link

Support one-vs-rest logistic regression #36

Closed iamDecode closed 2 years ago

iamDecode commented 2 years ago

The discussion in #35 showed that the one-vs-rest approach to multi-class classification for logistic regression was not importing as expected. This method of multi-class is encoded as a modelChain Segmentation, rather than a single RegressionModel.

This PR adds explicit one-vs-rest support for logistic regression.