Table of Contents | ||
---|---|---|
|
...
Download WSO2 Machine Learner, and start the server. For information on setting up and running WSO2 ML, see Getting Started.
Building the sample
Execute the following command to download the source code of the product: git clone https://github.com/wso2/product-ml.git
...
Follow the steps below if you already executed a sample before.
- Execute the following command to remove the databases created:
rm -rf repository/database/WSO2ML_DB.*
- Navigate to
<ML_HOME>/bin/
directory using the CLI. - Restart the WSO2 ML server by executing the following command: ./
wso2server.sh -Dsetup
- Execute the following command to remove the databases created:
Navigate to
<ML_HOME>/samples/rest-api/decision-tree/
directory using the CLI.Info <ML_HOME>
refers to the downloadedproduct-ml
directory with the source code of the product- Execute the following command to execute the sample:
sh model-generation.sh
...