Ich hatte ausgebildete Machine Learning Modelle Spark-RDD-basierte API (mllib Paket) 1.5.2 unter Verwendung von sagen "Mymodel123",Wie man ML-Modell in MLlib-Modell umwandelt?
org.apache.spark.mllib.tree.model.RandomForestModel Mymodel123 = ....;
Mymodel123.save("sparkcontext","path");
Jetzt bin ich mit Spark-Dataset-basierter API (ml-Paket) 2.2.0. Gibt es eine Möglichkeit, die Modelle (Mymodel123) mithilfe der datensatzbasierten API zu laden?
org.apache.spark.ml.classification.RandomForestClassificationModel newModel = org.apache.spark.ml.classification.RandomForestClassificationModel.load("sparkcontext","path");