Skip to content

Commit

Permalink
Refactor: base.py renamed to optimizer.py and moved to the domain
Browse files Browse the repository at this point in the history
  • Loading branch information
Caparrini committed Oct 21, 2024
1 parent 7039964 commit 4e21a68
Show file tree
Hide file tree
Showing 9 changed files with 4 additions and 4 deletions.
1 change: 0 additions & 1 deletion mloptimizer/application/__init__.py
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
from .base import Optimizer
from .hyperparameter_space_service import HyperparameterSpaceService
1 change: 1 addition & 0 deletions mloptimizer/domain/optimization/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
from .genetic_algorithm import GeneticAlgorithm
from .optimizer import Optimizer
File renamed without changes.
Empty file.
Empty file.
2 changes: 1 addition & 1 deletion mloptimizer/test/application/reporting/test_plots.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import pytest
from mloptimizer.application.reporting.plots import logbook_to_pandas, plot_logbook, plot_search_space
from mloptimizer.application import Optimizer
from mloptimizer.domain.optimization import Optimizer
from mloptimizer.domain.hyperspace import HyperparameterSpace
from sklearn.tree import DecisionTreeClassifier
from sklearn.datasets import load_iris
Expand Down
Empty file.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import pytest
from mloptimizer.application import Optimizer
from mloptimizer.domain.optimization import Optimizer
from mloptimizer.domain.hyperspace import Hyperparam, HyperparameterSpace
from sklearn.tree import DecisionTreeClassifier
from sklearn.ensemble import RandomForestClassifier, ExtraTreesClassifier, GradientBoostingClassifier
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import pytest
from mloptimizer.application import Optimizer
from mloptimizer.domain.optimization import Optimizer
from mloptimizer.domain.hyperspace import HyperparameterSpace
from sklearn.tree import DecisionTreeRegressor
from sklearn.ensemble import RandomForestRegressor, ExtraTreesRegressor, GradientBoostingRegressor
Expand Down

0 comments on commit 4e21a68

Please sign in to comment.