File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed
docs/reference/ml/df-analytics/apis Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -78,6 +78,8 @@ Available evaluation types:
7878[[ml-evaluate-dfanalytics-example]]
7979==== {api-examples-title}
8080
81+
82+ [[ml-evaluate-binary-soft-class-example]]
8183===== Binary soft classification
8284
8385[source,console]
@@ -139,6 +141,7 @@ The API returns the following results:
139141----
140142
141143
144+ [[ml-evaluate-regression-example]]
142145===== {regression-cap}
143146
144147[source,console]
@@ -252,6 +255,7 @@ performance. This is required in order to evaluate results.
252255calculated by the {reganalysis}.
253256
254257
258+ [[ml-evaluate-classification-example]]
255259===== {classification-cap}
256260
257261
@@ -311,14 +315,14 @@ The API returns the following result:
311315 "predicted_classes" : [
312316 {
313317 "predicted_class" : "dog",
314- "count" : 11
318+ "count" : 7
315319 },
316320 {
317321 "predicted_class" : "cat",
318322 "count" : 4
319323 }
320324 ],
321- "other_predicted_class_doc_count" : 4
325+ "other_predicted_class_doc_count" : 0
322326 }
323327 ],
324328 "other_actual_class_count" : 0
You can’t perform that action at this time.
0 commit comments