eqdisco.export.to_pmml#

eqdisco.export.to_pmml(model, path=None, target='y', description=None)[source]#

PMML 4.4 document of the equation.

The equation becomes a DerivedField of the TransformationDictionary built from Apply elements (PMML built-in functions), used by a RegressionModel with intercept 0 and coefficient 1. Composite primitives are expanded (square as pow(x, 2), neg as 0 - x, logistic and gauss through exp); protected operators are written as the plain functions.

Examples using eqdisco.export.to_pmml#

Exporting equations to code, spreadsheets and PMML

Exporting equations to code, spreadsheets and PMML