eland.ml.MLModel

class eland.ml.MLModel(es_client: Union[str, List[str], Tuple[str, ...], Elasticsearch], model_id: str)

A machine learning model managed by Elasticsearch. (See https://www.elastic.co/guide/en/elasticsearch/reference/master/put-inference.html)

These models can be created by Elastic ML, or transformed from supported Python formats such as scikit-learn or xgboost and imported into Elasticsearch.

The methods for this class attempt to mirror standard Python classes.