신은섭(Shin Eun Seop)

save model

......@@ -106,6 +106,9 @@ public class DecisionTree {
(DecisionTreeRegressionModel) (model.stages()[1]);
System.out.println("Learned regression tree model:\n" + treeModel.toDebugString());
// save model
model.save("./decisionTree.model");
}
}
......
package detact;
public class Main {
}