...
The model will be generated by default in the
/tmp/
directory of your machine. For example, the generated file is in the following format denoting the date and time when it was generated:model.1.2015-03-20_13:29:10
Info You can change the location where the output model file is saved, by defining the folder path of the required location for the value of the
location
element in the<ML_HOME>/samples/rest-api/decision-tree/create-model-storage
file as shown below.Code Block language text { "type" : "file", "location" : "/tmp" }
The sample executes the generated model on the
<ML_HOME>/samples/rest-api/decision-tree/prediction-test
data set, and it prints the value[
0.0]
as the prediction result In the CLI logs.