I want to load a trained and saved spark.mllib.tree.model.DecisionTreeModel
, and I want to load it in Java. I cannot use spark.read().load(...)
because I am asked not to create SparkSession
, and I cannot usePMML
because it does not support DecisionTree
. Could anyone please tell me how to do that?
Thank you!