Skip to content

A library that allows serialization of SciKit-Learn estimators into PMML

License

Notifications You must be signed in to change notification settings

klalit/sklearn-pmml

 
 

Repository files navigation

Build Status Join the chat at https://gitter.im/alex-pirozhenko/sklearn-pmml

sklearn-pmml

A library that allows serialization of SciKit-Learn estimators into PMML

Installation

The easiest way is to use pip:

pip install sklearn-pmml

Supported models

  • DecisionTreeClassifier
  • DecisionTreeRegressor
  • GradientBoostingClassifier
  • RandomForestClassifier

PMML output

Classification

Classifier converters can only operate with categorical outputs, and for each categorical output variable varname the PMML output contains the following outputs:

  • categorical varname for the predicted label of the instance
  • double varname.label for the probability for a given label

Regression

Regression model PMML outputs the numeric response variable named as the output variable

About

A library that allows serialization of SciKit-Learn estimators into PMML

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 99.8%
  • Java 0.2%