MetricSet represents precision, recall, and F1 metrics
| 18 | |
| 19 | // MetricSet represents precision, recall, and F1 metrics |
| 20 | type 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 |
| 31 | type ModelAnalysis struct { |
nothing calls this directly
no outgoing calls
no test coverage detected