Skip to content

Commit d730ca3

Browse files
szabostevelcawl
andauthored
[DOCS] Adds Deploying the model section to regression and classification conceptual (#1273)
Co-authored-by: Lisa Cawley <lcawley@elastic.co>
1 parent 04a0d6a commit d730ca3

File tree

2 files changed

+24
-0
lines changed

2 files changed

+24
-0
lines changed

docs/en/stack/ml/df-analytics/dfa-classification.asciidoc

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ can optionally include or exclude fields from the analysis. For more information
2727
about field selection, see the
2828
{ref}/explain-dfanalytics.html[explain data frame analytics API].
2929

30+
3031
[[dfa-classification-supervised]]
3132
== Training the {classification} model
3233

@@ -63,6 +64,7 @@ that is approximately balanced. That is to say, ideally your data set should
6364
have a similar number of data points for each class.
6465
////
6566

67+
6668
[[dfa-classification-algorithm]]
6769
=== {classification-cap} algorithms
6870

@@ -76,6 +78,17 @@ is an iteration of the last one, hence it improves the decision made by the
7678
previous tree.
7779
//end::classification-algorithms[]
7880

81+
82+
[[dfa-classification-deploy]]
83+
=== Deploying the model
84+
85+
The model that you created is stored as {es} documents in internal indices. In
86+
other words, the characteristics of your trained model are saved and ready to be
87+
deployed and used as functions. The <<ml-inference,{infer}>> feature enables you
88+
to use your model in a preprocessor of an ingest pipeline or in a pipeline
89+
aggregation of a search query to make predictions about your data.
90+
91+
7992
[[dfa-classification-performance]]
8093
== {classification-cap} performance
8194

docs/en/stack/ml/df-analytics/dfa-regression.asciidoc

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,7 @@ predictions are combined.
7272
{regression-cap} works as a batch analysis. If new data comes into your index,
7373
you must restart the {dfanalytics-job}.
7474

75+
7576
[[dfa-regression-algorithm]]
7677
=== {regression-cap} algorithms
7778

@@ -123,6 +124,16 @@ It is highly recommended to use the default values, unless you fully understand
123124
the impact of the different loss function parameters.
124125

125126

127+
[[dfa-regression-deploy]]
128+
=== Deploying the model
129+
130+
The model that you created is stored as {es} documents in internal indices. In
131+
other words, the characteristics of your trained model are saved and ready to be
132+
deployed and used as functions. The <<ml-inference,{infer}>> feature enables you
133+
to use your model in a preprocessor of an ingest pipeline or in a pipeline
134+
aggregation of a search query to make predictions about your data.
135+
136+
126137
[[dfa-regression-feature-importance]]
127138
== {feat-imp-cap}
128139

0 commit comments

Comments
 (0)