from dataclasses import dataclass
from typing import List

from backend.metric.model import MetricValue
from backend.tree.model import Rule, TreeNode


@dataclass
class ClassificationResult:
    tree: List[TreeNode]
    rules: List[Rule]
    precision: MetricValue
    recall: MetricValue
    accuracy: MetricValue
    f1: MetricValue
    mcc: MetricValue
    cohen_kappa: MetricValue
