Skip to content

Commit

Permalink
Merge pull request #31 from perib/dev
Browse files Browse the repository at this point in the history
Dev
  • Loading branch information
perib authored Aug 1, 2023
2 parents dad7256 + 4ac71b6 commit e19efb6
Show file tree
Hide file tree
Showing 59 changed files with 3,832 additions and 1,777 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
TPOT stands for Tree-based Pipeline Optimization Tool. TPOT2 is a Python Automated Machine Learning tool that optimizes machine learning pipelines using genetic programming. Consider TPOT2 your Data Science Assistant.

TPOT2 is a rewrite of TPOT with some additional functionality. Notably, we added support for graph-based pipelines and additional parameters to better specify the desired search space.
TPOT2 is currently in Alpha. This means that there will likely be some backwards incompatible changes to the API as we develop. Some implemented features may be buggy. There is a list of known issues written at the bottom of this README. Some features have placeholder names or are listed as "Experimental" in the doc string. These are features that may not be fully implemented and may or may work with all other features.
TPOT2 is currently in Alpha. This means that there will likely be some backwards incompatible changes to the API as we develop. Some implemented features may be buggy. There is a list of known issues written at the bottom of this README. Some features have placeholder names or are listed as "Experimental" in the doc string. These are features that may not be fully implemented and may or may not work with all other features.

If you are interested in using the current stable release of TPOT, you can do that here: [https://github.com/EpistasisLab/tpot/](https://github.com/EpistasisLab/tpot/).

Expand Down Expand Up @@ -136,7 +136,7 @@ Setting `verbose` to 5 can be helpful during debugging as it will print out the

## Contributing to TPOT2

We welcome you to check the existing issues for bugs or enhancements to work on. If you have an idea for an extension to TPOT, please file a new issue so we can discuss it.
We welcome you to check the existing issues for bugs or enhancements to work on. If you have an idea for an extension to TPOT2, please file a new issue so we can discuss it.


### Known issues
Expand Down
976 changes: 232 additions & 744 deletions Tutorial/1_Estimators_Overview.ipynb

Large diffs are not rendered by default.

62 changes: 42 additions & 20 deletions Tutorial/2_Defining_Search_Space_(config_dicts).ipynb

Large diffs are not rendered by default.

38 changes: 10 additions & 28 deletions Tutorial/3_Genetic_Feature_Set_Selectors.ipynb

Large diffs are not rendered by default.

10 changes: 5 additions & 5 deletions Tutorial/4_Symbolic_Regression_and_Classification.ipynb

Large diffs are not rendered by default.

8 changes: 4 additions & 4 deletions Tutorial/5_GraphPipeline.ipynb

Large diffs are not rendered by default.

143 changes: 125 additions & 18 deletions Tutorial/6_SH_and_early_termination.ipynb

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion Tutorial/7_dask_parallelization.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -273,7 +273,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.10.10"
"version": "3.10.11"
},
"orig_nbformat": 4,
"vscode": {
Expand Down
228 changes: 123 additions & 105 deletions Tutorial/8_Genetic_Algorithm_Overview.ipynb

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ def calculate_version():
'jupyter>=1.0.0',
'networkx>=3.0',
'dask>=2023.3.1',
'distributed>=2023.3.1',
'distributed>=2023.7.0',
'dask-ml>=2022.5.27',
'dask-jobqueue>=0.8.1',
'func_timeout>=4.3.5',
Expand Down
29 changes: 15 additions & 14 deletions tpot2/__init__.py
Original file line number Diff line number Diff line change
@@ -1,17 +1,18 @@

#TODO: are all the imports in the init files done correctly?
#TODO clean up import organization
from ._version import __version__
from .graphsklearn import *
from .individual import *
from .logbook import *
from .population import *
from .base_evolver import *
from .objectives import *
from .evolutionary_algorithms import *
from .tpot_estimator import *
from .builtin_modules import *
from .config import *
from .representations import *
from .parent_selectors import *
from .utils import *

from .graphsklearn import GraphPipeline
from .population import Population

from . import builtin_modules
from . import utils
from . import config
from . import individual_representations
from . import evolvers
from . import objectives
from . import selectors
from . import tpot_estimator


from .tpot_estimator import TPOTClassifier, TPOTRegressor, TPOTEstimator, TPOTEstimatorSteadyState
3 changes: 2 additions & 1 deletion tpot2/builtin_modules/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,5 @@
from .column_one_hot_encoder import ColumnOneHotEncoder
from .arithmetictransformer import ArithmeticTransformer
from .passthrough import Passthrough
from .imputer import ColumnSimpleImputer
from .imputer import ColumnSimpleImputer
from .selector_wrappers import RFE_ExtraTreesClassifier, SelectFromModel_ExtraTreesClassifier, RFE_ExtraTreesRegressor, SelectFromModel_ExtraTreesRegressor
Loading

0 comments on commit e19efb6

Please sign in to comment.