@@ -7,7 +7,7 @@ experimental::[]
77{infer-cap} is a {ml} feature that enables you to use supervised {ml} processes
88– like <<dfa-regression>> or <<dfa-classification>> – not only as a batch
99analysis but in a continuous fashion. This means that {infer} makes it possible
10- to use trained {ml} models against incoming data.
10+ to use <<ml- trained-models,trained {ml} models>> against incoming data.
1111
1212For instance, suppose you have an online service and you would like to predict
1313whether a customer is likely to churn. You have an index with historical data –
@@ -19,32 +19,16 @@ trained the model on, and get a prediction.
1919
2020Let's take a closer look at the machinery behind {infer}.
2121
22-
23- [[ml-inference-models]]
24- == Trained {ml} models as functions
25-
26- When you create a {dfanalytics-job} that executes a supervised process, you need
27- to train a {ml} model on a training dataset to be able to make predictions on
28- data points that the model has never seen. The models that are created by
29- {dfanalytics} are stored as {es} documents in internal indices. In other words,
30- the characteristics of your trained models are saved and ready to be used as
31- functions.
32-
33- Alternatively, you can use a pre-trained language identification model to
34- determine the language of text. {lang-ident-cap} supports 109 languages. For
35- more information and configuration details, check the <<ml-lang-ident>> page.
36-
37-
3822[[ml-inference-processor]]
3923== {infer-cap} processor
4024
4125{infer-cap} can be used as a processor specified in an
42- {ref}/pipeline.html[ingest pipeline]. It uses a stored {dfanalytics} model to
43- infer against the data that is being ingested in the pipeline. The model is used
44- on the {ref}/ingest.html[ingest node]. {infer-cap} pre-processes the data by
45- using the model and provides a prediction. After the process, the pipeline
46- continues executing (if there is any other processor in the pipeline), finally
47- the new data together with the results are indexed into the destination index.
26+ {ref}/pipeline.html[ingest pipeline]. It uses a trained model to infer against
27+ the data that is being ingested in the pipeline. The model is used on the
28+ {ref}/ingest.html[ingest node]. {infer-cap} pre-processes the data by using the
29+ model and provides a prediction. After the process, the pipeline continues
30+ executing (if there is any other processor in the pipeline), finally the new
31+ data together with the results are indexed into the destination index.
4832
4933Check the {ref}/inference-processor.html[{infer} processor] and
5034{ref}/ml-df-analytics-apis.html[the {ml} {dfanalytics} API documentation] to
@@ -55,14 +39,14 @@ learn more about the feature.
5539== {infer-cap} aggregation
5640
5741{infer-cap} can also be used as a pipeline aggregation. You can reference a
58- pre- trained {dfanalytics} model in the aggregation to infer on the result field
59- of the parent bucket aggregation. The {infer} aggregation uses the model on the
60- results to provide a prediction. This aggregation enables you to run
61- {classification} or { reganalysis} at search time. If you want to perform the
62- analysis on a small set of data, this aggregation enables you to generate
63- predictions without the need to set up a processor in the ingest pipeline.
42+ trained model in the aggregation to infer on the result field of the parent
43+ bucket aggregation. The {infer} aggregation uses the model on the results to
44+ provide a prediction. This aggregation enables you to run {classification} or
45+ {reganalysis} at search time. If you want to perform the analysis on a small set
46+ of data, this aggregation enables you to generate predictions without the need
47+ to set up a processor in the ingest pipeline.
6448
6549Check the
6650{ref}/search-aggregations-pipeline-inference-bucket-aggregation.html[{infer} bucket aggregation]
6751and {ref}/ml-df-analytics-apis.html[the {ml} {dfanalytics} API documentation] to
68- learn more about the feature.
52+ learn more about the feature.
0 commit comments