DEV Community

Priscilla Parodi for Elastic

Posted on • Edited on

Inference for Supervised Learning

| Menu | Next Post: Elastic Data Frame - Classification Analysis HandsOn |

Inference is a machine learning feature that enables you to use supervised data frame analytics model – Regression and Classification or a model deployed for Natural Language Processing – against incoming data.

Let's assume that you have an index with historical data and a classification model that is trained on this data and that you are receiving new data, with inference you can perform the classification against the new data with the same input fields that you've trained the model on, and get a prediction.

All you need to do is create an ingest pipeline with a configurable inference processor:

Kibana>Management>Stack Management>Ingest>Ingest Node Pipelines. Click on Create Pipeline.

Alt Text

And add your inference processor:

Add a processor

Alt Text

Processor = Inference>Add

Alt Text

And add the target field (optional) ml.inference.<results_field_name> and the ID of your trained model.

Image description

Note: After the Elastic Data Frame - Classification Analysis HandsOn(prerequisite) we have an example using the inference processor.

But now, let's proceed with the Classification Analysis HandsOn.

| Menu | Next Post: Elastic Data Frame - Classification Analysis HandsOn |

This post is part of a series that covers Artificial Intelligence with a focus on Elastic's (Creators of Elasticsearch) Machine Learning solution, aiming to introduce and exemplify the possibilities and options available, in addition to addressing the context and usability.

Top comments (0)