Using PMML model file to score a random forest. When scoring getting the following output. Is there a way to increase the number of decimal points for probability? (ie. 0.8 to 0.8000 or 0.2 to 0.2000)
library(randomForest)
library(pmml)
iris.rf <- randomForest(Species ~ ., data=iris, ntree=5)
saveXML(pmml(iris.rf), file="irisrf.xml")
this model is saved as PMML file and evaluated to get the following output { "Species" : "setosa", "Predicted_Species" : "setosa", "Probability_setosa" : 0.8, "Probability_versicolor" : 0.2, "Probability_virginica" : 0.0 }