Github user selvinsource commented on the pull request:
https://github.com/apache/spark/pull/7842#issuecomment-137925061
Also, did you verify the evaluation is correct by running
java -jar
target/spark-pmml-exporter-validator-1.1.0-SNAPSHOT-jar-with-dependencies.jar
DecisionTreeClassificationModel?
In my opinion, **this is the most important test to ensure the exported
model is correct**.
You should get Class 0 for the first item and Class 1 for the second as the
scala code
(https://github.com/selvinsource/spark-pmml-exporter-validator/blob/decision_trees_validator/src/main/resources/spark_shell_exporter/decisiontree_breastcancerwisconsin.scala).
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]