This version of the OpenSearch documentation is no longer maintained. For the latest version, see the current documentation. For information about OpenSearch version maintenance, see Release Schedule and Maintenance Policy.
ML Commons plugin
ML Commons for OpenSearch eases the development of machine learning features by providing a set of common machine learning (ML) algorithms through transport and REST API calls. Those calls choose the right nodes and resources for each ML request and monitors ML tasks to ensure uptime. This allows you to leverage existing open-source ML algorithms and reduce the effort required to develop new ML features.
Models trained through the ML Commons plugin support model-based algorithms such as k-means. After you’ve trained a model enough so that it meets your precision requirements, you can apply the model to predict new data safely.
Should you not want to use a model, you can use the Train and Predict API to test your model without having to evaluate the model’s performance.
Using ML Commons
- Ensure that you’ve appropriately set the cluster settings described in Cluster Settings.
- Set up model access as described in Model Access Control.
- Start using models: