* Tweak rules Signed-off-by: Fanit Kolchina <[email protected]> * Rule changes Signed-off-by: Fanit Kolchina <[email protected]> * Remove the following and simple Signed-off-by: Fanit Kolchina <[email protected]> * Revised rules and added tests Signed-off-by: Fanit Kolchina <[email protected]> * Soft rollout with only spelling and terms Signed-off-by: Fanit Kolchina <[email protected]> * Add Vale to readme Signed-off-by: Fanit Kolchina <[email protected]> * Only lint modified and added files Signed-off-by: Fanit Kolchina <[email protected]> * Remove run on workflow dispatch Signed-off-by: Fanit Kolchina <[email protected]> * Removed only added and modified files Signed-off-by: Fanit Kolchina <[email protected]> * Added please Signed-off-by: Fanit Kolchina <[email protected]> * Changed min alert level to warning Signed-off-by: Fanit Kolchina <[email protected]> * Don't fail on error and minor changes Signed-off-by: Fanit Kolchina <[email protected]> * Remove fail on error Signed-off-by: Fanit Kolchina <[email protected]> * Attempt to have vale not fail Signed-off-by: Fanit Kolchina <[email protected]> * Fixed links Signed-off-by: Fanit Kolchina <[email protected]> * Update README.md Co-authored-by: Nathan Bower <[email protected]> Signed-off-by: kolchfa-aws <[email protected]> * Update README.md Co-authored-by: Nathan Bower <[email protected]> Signed-off-by: kolchfa-aws <[email protected]> --------- Signed-off-by: Fanit Kolchina <[email protected]> Signed-off-by: kolchfa-aws <[email protected]> Co-authored-by: Nathan Bower <[email protected]>
2.2 KiB
layout, title, nav_order, has_children, has_toc
| layout | title | nav_order | has_children | has_toc |
|---|---|---|---|---|
| default | About ML Commons | 1 | false | false |
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.
Interaction with the ML Commons plugin occurs through either the REST API or ad and kmeans Piped Processing Language (PPL) commands.
Models trained through the ML Commons plugin support model-based algorithms such as kmeans. 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.
Permissions
There are two reserved user roles that can use of the ML commons plugin.
ml_full_access: Full access to all ML features, including starting new ML tasks and reading or deleting models.ml_readonly_access: Can only read ML tasks, trained models and statistics relevant to the model's cluster. Cannot start nor delete ML tasks or models.
ML node
To prevent your cluster from failing when running ML tasks, you configure a node with the ml node role. When configuring without the data node role, ML nodes will not store any shards and will calculate resource requirements at runtime. To use an ML node, create a node in your opensearch.yml file. Give your node a custom name and define the node role as ml:
node.name: ml-node
node.roles: [ ml ]