You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
TPOT stands for Tree-based Pipeline Optimization Tool. TPOT is a Python Automated Machine Learning tool that optimizes machine learning pipelines using genetic programming. Consider TPOT your Data Science Assistant.
8
14
@@ -33,8 +39,8 @@ The original version of TPOT was primarily developed at the University of Pennsy
33
39
34
40
## License
35
41
36
-
Please see the [repository license](https://github.com/EpistasisLab/tpot2/blob/main/LICENSE) for the licensing and usage information for TPOT2.
37
-
Generally, we have licensed TPOT2 to make it as widely usable as possible.
42
+
Please see the [repository license](https://github.com/EpistasisLab/tpot/blob/main/LICENSE) for the licensing and usage information for TPOT.
43
+
Generally, we have licensed TPOT to make it as widely usable as possible.
38
44
39
45
TPOT is free software: you can redistribute it and/or modify
40
46
it under the terms of the GNU Lesser General Public License as
@@ -51,23 +57,23 @@ License along with TPOT. If not, see <http://www.gnu.org/licenses/>.
51
57
52
58
## Documentation
53
59
54
-
[The documentation webpage can be found here.](https://epistasislab.github.io/tpot2/)
60
+
[The documentation webpage can be found here.](https://epistasislab.github.io/tpot/)
55
61
56
62
We also recommend looking at the Tutorials folder for jupyter notebooks with examples and guides.
57
63
58
64
## Installation
59
65
60
-
TPOT2 requires a working installation of Python.
66
+
TPOT requires a working installation of Python.
61
67
62
68
### Creating a conda environment (optional)
63
69
64
-
We recommend using conda environments for installing TPOT2, though it would work equally well if manually installed without it.
70
+
We recommend using conda environments for installing TPOT, though it would work equally well if manually installed without it.
65
71
66
72
[More information on making anaconda environments found here.](https://conda.io/projects/conda/en/latest/user-guide/tasks/manage-environments.html)
67
73
68
74
```
69
-
conda create --name tpot2env python=3.10
70
-
conda activate tpot2env
75
+
conda create --name tpotenv python=3.10
76
+
conda activate tpotenv
71
77
```
72
78
73
79
### Packages Used
@@ -99,7 +105,7 @@ Many of the hyperparameter ranges used in our configspaces were adapted from eit
99
105
100
106
### Note for M1 Mac or other Arm-based CPU users
101
107
102
-
You need to install the lightgbm package directly from conda using the following command before installing TPOT2.
108
+
You need to install the lightgbm package directly from conda using the following command before installing TPOT.
103
109
104
110
This is to ensure that you get the version that is compatible with your system.
If you want to utilize the additional features provided by TPOT2 along with `scikit-learn` extensions, you can install them using `pip`. The command to install TPOT2 with these extra features is as follows:
118
+
If you want to utilize the additional features provided by TPOT along with `scikit-learn` extensions, you can install them using `pip`. The command to install TPOT with these extra features is as follows:
113
119
114
120
```
115
-
pip install tpot2[sklearnex]
121
+
pip install tpot[sklearnex]
116
122
```
117
123
118
124
Please note that while these extensions can speed up scikit-learn packages, there are some important considerations:
@@ -126,11 +132,11 @@ We recommend using Python 3.9 when installing these extra features, as it provid
126
132
127
133
128
134
```
129
-
pip install -e /path/to/tpot2repo
135
+
pip install -e /path/to/tpotrepo
130
136
```
131
137
132
-
If you downloaded with git pull, then the repository folder will be named TPOT2. (Note: this folder is the one that includes setup.py inside of it and not the folder of the same name inside it).
133
-
If you downloaded as a zip, the folder may be called tpot2-main.
138
+
If you downloaded with git pull, then the repository folder will be named TPOT. (Note: this folder is the one that includes setup.py inside of it and not the folder of the same name inside it).
139
+
If you downloaded as a zip, the folder may be called tpot-main.
134
140
135
141
136
142
## Usage
@@ -140,17 +146,17 @@ See the Tutorials Folder for more instructions and examples.
140
146
### Best Practices
141
147
142
148
#### 1
143
-
TPOT2 uses dask for parallel processing. When Python is parallelized, each module is imported within each processes. Therefore it is important to protect all code within a `if __name__ == "__main__"` when running TPOT2 from a script. This is not required when running TPOT2 from a notebook.
149
+
TPOT uses dask for parallel processing. When Python is parallelized, each module is imported within each processes. Therefore it is important to protect all code within a `if __name__ == "__main__"` when running TPOT from a script. This is not required when running TPOT from a notebook.
TPOT2 will not check if your data is correctly formatted. It will assume that you have passed in operators that can handle the type of data that was passed in. For instance, if you pass in a pandas dataframe with categorical features and missing data, then you should also include in your configuration operators that can handle those feautures of the data. Alternatively, if you pass in `preprocessing = True`, TPOT2 will impute missing values, one hot encode categorical features, then standardize the data. (Note that this is currently fitted and transformed on the entire training set before splitting for CV. Later there will be an option to apply per fold, and have the parameters be learnable.)
216
+
TPOT will not check if your data is correctly formatted. It will assume that you have passed in operators that can handle the type of data that was passed in. For instance, if you pass in a pandas dataframe with categorical features and missing data, then you should also include in your configuration operators that can handle those feautures of the data. Alternatively, if you pass in `preprocessing = True`, TPOT will impute missing values, one hot encode categorical features, then standardize the data. (Note that this is currently fitted and transformed on the entire training set before splitting for CV. Later there will be an option to apply per fold, and have the parameters be learnable.)
211
217
212
218
213
219
Setting `verbose` to 5 can be helpful during debugging as it will print out the error generated by failing pipelines.
214
220
215
221
216
-
## Contributing to TPOT2
222
+
## Contributing to TPOT
217
223
218
-
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.
224
+
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.
219
225
220
226
## Citing TPOT
221
227
@@ -281,8 +287,8 @@ BibTeX entry:
281
287
}
282
288
```
283
289
284
-
###Support for TPOT2
290
+
## Support for TPOT
285
291
286
-
TPOT2 was developed in the [Artificial Intelligence Innovation (A2I) Lab](http://epistasis.org/) at Cedars-Sinai with funding from the [NIH](http://www.nih.gov/) under grants U01 AG066833 and R01 LM010098. We are incredibly grateful for the support of the NIH and the Cedars-Sinai during the development of this project.
292
+
TPOT was developed in the [Artificial Intelligence Innovation (A2I) Lab](http://epistasis.org/) at Cedars-Sinai with funding from the [NIH](http://www.nih.gov/) under grants U01 AG066833 and R01 LM010098. We are incredibly grateful for the support of the NIH and the Cedars-Sinai during the development of this project.
287
293
288
294
The TPOT logo was designed by Todd Newmuis, who generously donated his time to the project.
0 commit comments