Table of Contents maxLevel 3
...
This guide demonstrates how to use a downloaded ML model generated using WSO2 ML in plain Java code. This guide uses the <ML_HOME>https://github.com/wso2/carbon-ml/tree/master/samples/model-usage/ sample Java client implementation.
...
Info |
---|
You can stop the WSO2 ML server after generating the required model, since this process of using the model in a Java client does not require a running ML server. |
Building the sample
To build this sample, a Java project should be created as follows.
...
The complete project created above can be found in the <ML_HOME>at https://github.com/wso2/carbon-ml/tree/master/samples/model-usage directory. To build this, execute the following command from this the model-usage
directory.
Code Block |
---|
mvn clean install |
...
To execute this sample, execute the following command from the <ML_HOME>/samples/model-usage
directory.
Code Block |
---|
mvn exec:java |
...
Info |
---|
If you package this project as a JAR file, add the following JAR files that are found in the
|