Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Dec 9, 2024
1 parent f18f23e commit cc5d1a5
Show file tree
Hide file tree
Showing 11 changed files with 49 additions and 49 deletions.
32 changes: 16 additions & 16 deletions openml/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -91,35 +91,35 @@ def populate_cache(


__all__ = [
"OpenMLDataset",
"OpenMLBenchmarkSuite",
"OpenMLClassificationTask",
"OpenMLClusteringTask",
"OpenMLDataFeature",
"OpenMLRun",
"OpenMLSplit",
"OpenMLDataset",
"OpenMLEvaluation",
"OpenMLSetup",
"OpenMLParameter",
"OpenMLTask",
"OpenMLSupervisedTask",
"OpenMLClusteringTask",
"OpenMLFlow",
"OpenMLLearningCurveTask",
"OpenMLParameter",
"OpenMLRegressionTask",
"OpenMLClassificationTask",
"OpenMLFlow",
"OpenMLRun",
"OpenMLSetup",
"OpenMLSplit",
"OpenMLStudy",
"OpenMLBenchmarkSuite",
"OpenMLSupervisedTask",
"OpenMLTask",
"__version__",
"_api_calls",
"config",
"datasets",
"evaluations",
"exceptions",
"extensions",
"config",
"runs",
"flows",
"tasks",
"runs",
"setups",
"study",
"tasks",
"utils",
"_api_calls",
"__version__",
]

# Load the scikit-learn extension by default
Expand Down
2 changes: 1 addition & 1 deletion openml/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -512,10 +512,10 @@ def overwrite_config_context(config: dict[str, Any]) -> Iterator[_Config]:

__all__ = [
"get_cache_directory",
"get_config_as_dict",
"set_root_cache_directory",
"start_using_configuration_for_example",
"stop_using_configuration_for_example",
"get_config_as_dict",
]

_setup()
12 changes: 6 additions & 6 deletions openml/datasets/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,17 +17,17 @@
)

__all__ = [
"OpenMLDataFeature",
"OpenMLDataset",
"attributes_arff_from_df",
"check_datasets_active",
"create_dataset",
"delete_dataset",
"edit_dataset",
"fork_dataset",
"get_dataset",
"get_datasets",
"list_datasets",
"OpenMLDataset",
"OpenMLDataFeature",
"status_update",
"list_qualities",
"edit_dataset",
"fork_dataset",
"delete_dataset",
"status_update",
]
2 changes: 1 addition & 1 deletion openml/evaluations/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

__all__ = [
"OpenMLEvaluation",
"list_evaluations",
"list_evaluation_measures",
"list_evaluations",
"list_evaluations_setups",
]
4 changes: 2 additions & 2 deletions openml/extensions/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

__all__ = [
"Extension",
"register_extension",
"get_extension_by_model",
"get_extension_by_flow",
"get_extension_by_model",
"register_extension",
]
8 changes: 4 additions & 4 deletions openml/flows/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@

__all__ = [
"OpenMLFlow",
"get_flow",
"list_flows",
"get_flow_id",
"flow_exists",
"assert_flows_equal",
"delete_flow",
"flow_exists",
"get_flow",
"get_flow_id",
"list_flows",
]
12 changes: 6 additions & 6 deletions openml/runs/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,14 +19,14 @@
"OpenMLRun",
"OpenMLRunTrace",
"OpenMLTraceIteration",
"run_model_on_task",
"run_flow_on_task",
"delete_run",
"get_run",
"list_runs",
"get_runs",
"get_run_trace",
"run_exists",
"get_runs",
"initialize_model_from_run",
"initialize_model_from_trace",
"delete_run",
"list_runs",
"run_exists",
"run_flow_on_task",
"run_model_on_task",
]
4 changes: 2 additions & 2 deletions openml/setups/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@
from .setup import OpenMLParameter, OpenMLSetup

__all__ = [
"OpenMLSetup",
"OpenMLParameter",
"OpenMLSetup",
"get_setup",
"initialize_model",
"list_setups",
"setup_exists",
"initialize_model",
]
4 changes: 2 additions & 2 deletions openml/study/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@
from .study import OpenMLBenchmarkSuite, OpenMLStudy

__all__ = [
"OpenMLStudy",
"OpenMLBenchmarkSuite",
"OpenMLStudy",
"attach_to_study",
"attach_to_suite",
"create_benchmark_suite",
Expand All @@ -33,6 +33,6 @@
"get_suite",
"list_studies",
"list_suites",
"update_suite_status",
"update_study_status",
"update_suite_status",
]
14 changes: 7 additions & 7 deletions openml/tasks/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,17 +19,17 @@
)

__all__ = [
"OpenMLTask",
"OpenMLSupervisedTask",
"OpenMLClusteringTask",
"OpenMLRegressionTask",
"OpenMLClassificationTask",
"OpenMLClusteringTask",
"OpenMLLearningCurveTask",
"OpenMLRegressionTask",
"OpenMLSplit",
"OpenMLSupervisedTask",
"OpenMLTask",
"TaskType",
"create_task",
"delete_task",
"get_task",
"get_tasks",
"list_tasks",
"OpenMLSplit",
"TaskType",
"delete_task",
]
4 changes: 2 additions & 2 deletions openml/testing.py
Original file line number Diff line number Diff line change
Expand Up @@ -348,9 +348,9 @@ def create_request_response(


__all__ = [
"TestBase",
"SimpleImputer",
"CustomImputer",
"SimpleImputer",
"TestBase",
"check_task_existence",
"create_request_response",
]

0 comments on commit cc5d1a5

Please sign in to comment.