autodeployai / pypmml

Python PMML scoring library
Apache License 2.0
76 stars 22 forks source link

To include Covariate in pypmml #44

Open harishmdy opened 2 years ago

harishmdy commented 2 years ago

What is the tag I should use to add covariate in pypmml

harishmdy commented 2 years ago

I am trying to use the PMML file generated in SPSS application and to convert it into pypmml format. the output is not matching when the covariates are added in the DataField and MiningField. Should I be used any different attributes to be added in pypmml to use covariates? Please suggest.

scorebot commented 2 years ago

@harishmdy I have no idea what you want to do, pypmml completely conforms to the PMML standard, if your model is a valid PMML, pypmml can support it. Maybe you can use the transformations for covariates, for details visit https://dmg.org/pmml/v4-4-1/Transformations.html