HF RL Explorer

Classification Metrics, Slices, and Model Comparison

Classification Metrics, Slices, and Model Comparison: a task in UXInteract 0.1 (Harbor dataset). Implement /app/code/eval metrics.py in Python. Preserve the public ModelEvaluator class and these methods: load predictions(path) , compute accuracy(predictions, ground truth) , evaluate(pred path, gt…

The task

Implement `/app/code/eval_metrics.py` in Python. Preserve the public `ModelEvaluator` class and these methods: `load_predictions(path)`, `compute_accuracy(predictions, ground_truth)`, `evaluate(pred_path, gt_path)`, and `save_report(results, output_path)`.

Part of Lego-X/UXInteract.