Closed Phiranuphon closed 5 years ago
I tried to generate the scorecard from glm model but it didnt work. java.lang.IllegalArgumentException at org.jpmml.rexp.RExpUtil.getFactorLevels(RExpUtil.java:77)
The glm model must be trained using only categorical features (In R speak - "factors"). Your glm model contains non-factor terms in the formula, as clearly indicated by the failing RExpUtil#getFactorLevels(...)
method.
I tried to generate the scorecard from glm model but it didnt work. It worked perfectly fine on tree model like rpart.
here is my script:
I got these error messages: