-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #10 from discovery-unicamp/adding_options
Adding validation options
- Loading branch information
Showing
5 changed files
with
118 additions
and
26 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,20 @@ | ||
from librep.base.estimator import Estimator | ||
from librep.base.transform import Transform, InvertibleTransform | ||
from librep.base.evaluators import ( | ||
SupervisedEvaluator, | ||
UnsupervisedEvaluator, | ||
CustomSimpleEvaluator, | ||
CustomMultiEvaluator, | ||
Evaluators, | ||
) | ||
|
||
__all__ = [ | ||
"Estimator", | ||
"Transform", | ||
"InvertibleTransform", | ||
"SupervisedEvaluator", | ||
"UnsupervisedEvaluator", | ||
"CustomSimpleEvaluator", | ||
"CustomMultiEvaluator", | ||
"Evaluators", | ||
] |
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
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 |
---|---|---|
@@ -1,8 +1,9 @@ | ||
import os | ||
import numpy | ||
from typing import Union, Hashable | ||
import pandas as pd | ||
from typing import Union, Hashable, Iterable | ||
|
||
# PathLike: The PathLike type is used for defining a file path. | ||
PathLike = Union[str, os.PathLike] | ||
ArrayLike = Union[numpy.ndarray] | ||
ArrayLike = Union[numpy.ndarray, pd.DataFrame, Iterable] | ||
KeyType = Hashable |