Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Isofor and r2pmml #13

Open
jwveld opened this issue Dec 10, 2017 · 0 comments
Open

Isofor and r2pmml #13

jwveld opened this issue Dec 10, 2017 · 0 comments

Comments

@jwveld
Copy link

jwveld commented Dec 10, 2017

When trying to create a PMMLL file from a trained model with r2pmml it gives me the following error.
Is this solvable?

Jan

dec 10, 2017 7:25:03 PM org.jpmml.rexp.Main run
INFO: Parsing RDS..
dec 10, 2017 7:25:03 PM org.jpmml.rexp.Main run
INFO: Parsed RDS in 14 ms.
dec 10, 2017 7:25:03 PM org.jpmml.rexp.Main run
INFO: Initializing default Converter
dec 10, 2017 7:25:03 PM org.jpmml.rexp.Main run
INFO: Initialized org.jpmml.rexp.IForestConverter
dec 10, 2017 7:25:03 PM org.jpmml.rexp.Main run
INFO: Converting..
dec 10, 2017 7:25:03 PM org.jpmml.rexp.Main run
SEVERE: Failed to convert
java.lang.IllegalArgumentException: xcols
at org.jpmml.rexp.RVector.getValue(RVector.java:104)
at org.jpmml.rexp.RVector.getValue(RVector.java:80)
at org.jpmml.rexp.IForestConverter.encodeSchema(IForestConverter.java:59)
at org.jpmml.rexp.ModelConverter.encodePMML(ModelConverter.java:74)
at org.jpmml.rexp.ModelConverter.encodePMML(ModelConverter.java:70)
at org.jpmml.rexp.Main.run(Main.java:149)
at org.jpmml.rexp.Main.main(Main.java:97)

Exception in thread "main" java.lang.IllegalArgumentException: xcols
at org.jpmml.rexp.RVector.getValue(RVector.java:104)
at org.jpmml.rexp.RVector.getValue(RVector.java:80)
at org.jpmml.rexp.IForestConverter.encodeSchema(IForestConverter.java:59)
at org.jpmml.rexp.ModelConverter.encodePMML(ModelConverter.java:74)
at org.jpmml.rexp.ModelConverter.encodePMML(ModelConverter.java:70)
at org.jpmml.rexp.Main.run(Main.java:149)
at org.jpmml.rexp.Main.main(Main.java:97)
Error in .convert(tempfile, file, converter, converter_classpath, verbose) :
1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant