def configure_evaluator() -> Evaluator:
        """Configure the default evaluator for DFKDE.

        Returns:
            Evaluator: Evaluator object with image-level AUROC and F1 metrics.
        """
        image_auroc = AUROC(fields=["pred_score", "gt_label"], prefix="image_")
        image_f1score = F1Score(fields=["pred_label", "gt_label"], prefix="image_")
        test_metrics = [image_auroc, image_f1score]
        return Evaluator(test_metrics=test_metrics)
Configure the default evaluator for DFKDE.

        Returns:
            Evaluator: Evaluator object with image-level AUROC and F1 metrics.
        
src/anomalib/models/image/dfkde/lightning_model.py