-
Notifications
You must be signed in to change notification settings - Fork 92
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
8 changed files
with
63 additions
and
60 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
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 @@ | ||
from ._template import TemplateEstimator | ||
from ._template import TemplateClassifier | ||
from ._template import TemplateTransformer | ||
|
||
from ._template import TemplateClassifier, TemplateEstimator, TemplateTransformer | ||
from ._version import __version__ | ||
|
||
__all__ = ['TemplateEstimator', 'TemplateClassifier', 'TemplateTransformer', | ||
'__version__'] | ||
__all__ = [ | ||
"TemplateEstimator", | ||
"TemplateClassifier", | ||
"TemplateTransformer", | ||
"__version__", | ||
] |
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 +1 @@ | ||
__version__ = "0.0.4.dev0" | ||
__version__ = "0.0.4.dev0" |
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,15 +1,11 @@ | ||
import pytest | ||
|
||
from sklearn.utils.estimator_checks import check_estimator | ||
|
||
from skltemplate import TemplateEstimator | ||
from skltemplate import TemplateClassifier | ||
from skltemplate import TemplateTransformer | ||
from skltemplate import TemplateClassifier, TemplateEstimator, TemplateTransformer | ||
|
||
|
||
@pytest.mark.parametrize( | ||
"estimator", | ||
[TemplateEstimator(), TemplateTransformer(), TemplateClassifier()] | ||
"estimator", [TemplateEstimator(), TemplateTransformer(), TemplateClassifier()] | ||
) | ||
def test_all_estimators(estimator): | ||
return check_estimator(estimator) |
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