Skip to content

Commit

Permalink
mob next [ci-skip] [ci skip] [skip ci]
Browse files Browse the repository at this point in the history
lastFile:skore/src/skore/sklearn/comparator/comparator.py
  • Loading branch information
thomass-dev committed Feb 4, 2025
1 parent a39f330 commit c038e59
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 0 deletions.
2 changes: 2 additions & 0 deletions skore/src/skore/sklearn/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,11 @@
from skore.sklearn._cross_validation import CrossValidationReport
from skore.sklearn._estimator import EstimatorReport
from skore.sklearn.train_test_split.train_test_split import train_test_split
from skore.sklearn.comparator import Comparator

__all__ = [
"train_test_split",
"CrossValidationReport",
"EstimatorReport",
"Comparator",
]
3 changes: 3 additions & 0 deletions skore/src/skore/sklearn/comparator/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
from .comparator import Comparator

__all__ = ["Comparator"]
16 changes: 16 additions & 0 deletions skore/src/skore/sklearn/comparator/comparator.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
from copy import deepcopy
from typing import TYPE_CHECKING

from skore.sklearn._base import _BaseReport
from skore.externals._pandas_accessors import DirNamesMixin


if TYPE_CHECKING:
from skore.sklearn import EstimatorReport


class Comparator(_BaseReport, DirNamesMixin):
""" """

def __init__(self, estimator_reports: list[EstimatorReport]):
self.estimator_reports = deepcopy(estimator_reports)

0 comments on commit c038e59

Please sign in to comment.