Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Table of Contents
maxLevel3

Introduction

Prerequisites

Download WSO2 Machine Learner, and start the server. 

Building the sample

Execute the following command to download the source code of the product: git clone https://github.com/wso2/product-ml.git

Executing the sample

Follow the steps below to execute the sample.

  1. Navigate to <ML_HOME>/samples/rest-api/decision-tree/ directory using the CLI.
     

    Info

    <ML_HOME> refers to the downloaded product-ml directory with the source code of the product.

  2. Execute the following command to execute the sample: sh model-generation.sh

Output of the sample

Code Block
languagetext