Getting Started

How to get started with TPOT

1

Install TPOT

Use pip to install TPOT with the command: pip install tpot

2

Prepare Your Dataset

Load and preprocess your dataset into features (X) and target (y) variables compatible with scikit-learn.

3

Initialize TPOT Classifier or Regressor

Create a TPOTClassifier or TPOTRegressor object with desired parameters like generations and population size.

4

Fit TPOT on Your Data

Call the fit() method on your TPOT object passing your training data to start the optimization.

5

Export the Best Pipeline

Use the export() method to save the optimized pipeline as a Python script for reuse or deployment.