Versions Compared

Key

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

...

PropertyDescription
<model storage-location>

ML model storage location is either the file system or Registry. If the model is stored in the Registry, storage-location should have the prefix registry:

<percentile value>Percentile The percentile value for the prediction. This should be a double value between 0-100. 95.0 is default. It is required to specify a percentile value when the ML model uses an algorithm of the Anomaly Detection type. This property is optional for other algorithm types. For more information about algorithms of the Anomaly Detection type, see Machine Learner Algorithms.
<name>Name of the feature according to the generated model.
<expression>The XPath or JSONPath expression to extract the feature value from the payload.
<predictionOutput property>
The message context property name, to which you need to set the prediction output value.

...

  1. Download WSO2 ESB version 4.9.x or later.
  2. Start the WSO2 ESB server as follows.
      • on Linux, run <ESB_HOME>/bin/wso2server.sh
      • on MS Windows, run <ESB_HOME>/bin/wso2server.bat

  3. Log in to the WSO2 ESB management console using admin/admin credentials, and click Configure.
  4.  Click Features, and then click Repository Management.
  5. Click Add Repository, and enter the details as shown below to add the P2 repository.
  6. Click Add.
  7. Click Available Features tab, and select the repository added in the previous step.
  8. Deselect the Group features by category check box.

  9. Click Find Features. It can take a while to list out all the available features in the feature repository. Once listed, select the following features. 

    • Machine Learner Core 
    • Machine Learner Commons 
    • Machine Learner Database Service 
    • Metrics Group
    • Predict Mediator Aggregate
    Tip

    If you cannot see this feature, retry with one of the following suggestions:

    • Add a more recent P2 repository. The repository you added could be deprecated.
    • Check for the feature in the Installed Features tab.

    install ML features in ESBImage RemovedImage Added

  10. Once the features are selected, click  Install  to proceed with the installation. 

  11. Click Next, select I accept the terms of the license agreement option, and then click Next.

  12. Click Restart Now, and then click Yes in the message which pops up. Wait a few seconds until the sever restarts, and refresh the screen.

...