MCPcopy Create free account
hub / github.com/docker/model-test / MetricSet

Struct MetricSet

cmd/analyze-batch/main.go:20–28  ·  view source on GitHub ↗

MetricSet represents precision, recall, and F1 metrics

Source from the content-addressed store, hash-verified

18
19// MetricSet represents precision, recall, and F1 metrics
20type MetricSet struct {
21 Precision float64 `json:"precision"`
22 Recall float64 `json:"recall"`
23 F1 float64 `json:"f1"`
24 TruePositives int `json:"true_positives"`
25 FalsePositives int `json:"false_positives"`
26 TrueNegatives int `json:"true_negatives"`
27 FalseNegatives int `json:"false_negatives"`
28}
29
30// ModelAnalysis represents the analysis results for a single model
31type ModelAnalysis struct {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected