-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
mob next [ci-skip] [ci skip] [skip ci]
lastFile:skore/src/skore/sklearn/comparator/comparator.py
- Loading branch information
1 parent
a39f330
commit c038e59
Showing
3 changed files
with
21 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
from .comparator import Comparator | ||
|
||
__all__ = ["Comparator"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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) |