mirror of
https://github.com/elastic/elasticsearch.git
synced 2025-04-24 23:27:25 -04:00
Implement accuracy metric for multiclass classification (#47772)
This commit is contained in:
parent
aa1dc0dddf
commit
94ee36d61e
17 changed files with 909 additions and 78 deletions
|
@ -52,7 +52,8 @@ include-tagged::{doc-tests-file}[{api}-evaluation-classification]
|
|||
<2> Name of the field in the index. Its value denotes the actual (i.e. ground truth) class the example belongs to.
|
||||
<3> Name of the field in the index. Its value denotes the predicted (as per some ML algorithm) class of the example.
|
||||
<4> The remaining parameters are the metrics to be calculated based on the two fields described above
|
||||
<5> Multiclass confusion matrix of size 3
|
||||
<5> Accuracy
|
||||
<6> Multiclass confusion matrix of size 3
|
||||
|
||||
===== Regression
|
||||
|
||||
|
@ -101,9 +102,11 @@ include-tagged::{doc-tests-file}[{api}-results-softclassification]
|
|||
include-tagged::{doc-tests-file}[{api}-results-classification]
|
||||
--------------------------------------------------
|
||||
|
||||
<1> Fetching multiclass confusion matrix metric by name
|
||||
<2> Fetching the contents of the confusion matrix
|
||||
<3> Fetching the number of classes that were not included in the matrix
|
||||
<1> Fetching accuracy metric by name
|
||||
<2> Fetching the actual accuracy value
|
||||
<3> Fetching multiclass confusion matrix metric by name
|
||||
<4> Fetching the contents of the confusion matrix
|
||||
<5> Fetching the number of classes that were not included in the matrix
|
||||
|
||||
===== Regression
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue