Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dev #31

Merged
merged 51 commits into from
Aug 1, 2023
Merged

Dev #31

Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
51 commits
Select commit Hold shift + click to select a range
e33403b
fixed params_sklearn_cluster_FeatureAgglomeration
perib May 10, 2023
74fa457
remove underrepresented, inf gens, early stop fix
perib May 11, 2023
f516312
optuna final stage
perib May 19, 2023
3437a58
dask settings
perib May 19, 2023
f278633
templates
perib May 19, 2023
c4f6cf1
bug fix
perib May 19, 2023
05bf502
storage param
perib May 19, 2023
57a2ec7
test_dask_storage
perib May 20, 2023
8678a67
edit
perib May 20, 2023
14156f0
fix
perib May 20, 2023
ea858ef
fixes
perib May 21, 2023
9c0123a
steady_state_part_1
perib May 21, 2023
3baee3c
steady state estimator
perib May 22, 2023
4cb4cec
example
perib May 22, 2023
e0aeed7
fix
perib May 23, 2023
6e5a127
edge case
perib May 23, 2023
f383964
edit
perib May 23, 2023
e0ebd2c
fixes
perib May 23, 2023
c0f7f22
edits
perib Jun 4, 2023
ec061e1
edit
perib Jun 4, 2023
fbeed22
Merge branch 'main' into dev
perib Jun 4, 2023
fc3dbc0
organization, bug fixes
perib Jun 14, 2023
b4de9cc
typo
perib Jun 15, 2023
d744b61
restructure
perib Jun 15, 2023
165a3b8
edits- working tutorial 1
perib Jun 15, 2023
c1ab541
update
perib Jun 15, 2023
b9a0ba8
Merge pull request #23 from perib/dev
perib Jun 15, 2023
9b63817
import path bugfix
perib Jun 23, 2023
dc5840d
Merge branch 'EpistasisLab:dev' into dev
perib Jun 23, 2023
4724480
Merge pull request #24 from perib/dev
perib Jun 23, 2023
2e17842
bugfix
perib Jun 28, 2023
8868afe
Merge pull request #25 from perib/dev
perib Jun 28, 2023
4e51f8a
edit api
perib Jul 5, 2023
38857fe
Merge pull request #26 from perib/dev
perib Jul 5, 2023
8cc3c6a
Merge pull request #2 from EpistasisLab/dev
perib Jul 13, 2023
7278bed
pareto starts at 1, cleanup and optimization
perib Jul 13, 2023
607dbdf
cleanup api
perib Jul 14, 2023
f98665f
Merge pull request #27 from perib/dev
perib Jul 14, 2023
3898c83
minor edits
perib Jul 18, 2023
a58f6fe
typos
perib Jul 18, 2023
75e7326
Merge pull request #28 from perib/dev
perib Jul 18, 2023
b5a078c
edit sh scaling
perib Jul 18, 2023
e441933
linear create_offspring
perib Jul 20, 2023
a0510fe
no more retries, added back var functions
perib Jul 25, 2023
34032c7
Merge pull request #29 from perib/dev
perib Jul 25, 2023
a5c0df4
njobs=1
perib Jul 26, 2023
c8cc64a
ignore canceled error
perib Jul 26, 2023
5f49864
edit
perib Jul 26, 2023
7b27b0d
typo
perib Jul 26, 2023
a514df1
Merge pull request #30 from perib/dev
perib Jul 27, 2023
4ac71b6
correctly get n_splits, tutorial update
perib Aug 1, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading