21 lines
430 B
Plaintext
21 lines
430 B
Plaintext
// This file is autogenerated, DO NOT EDIT
|
|
// Use `node scripts/generate-docs-examples.js` to generate the docs examples
|
|
|
|
[source, js]
|
|
----
|
|
const response = await client.ml.evaluateDataFrame({
|
|
index: "animal_classification",
|
|
evaluation: {
|
|
classification: {
|
|
actual_field: "animal_class",
|
|
metrics: {
|
|
auc_roc: {
|
|
class_name: "dog",
|
|
},
|
|
},
|
|
},
|
|
},
|
|
});
|
|
console.log(response);
|
|
----
|