Getting Started

How to get started with Scikit-Lego

1

Install Scikit-Lego

Run `pip install scikit-lego` or `conda install -c conda-forge scikit-lego` to install the package.

2

Import Components

Import desired transformers or models, for example: `from sklego.transformers import RandomAdder`.

3

Build Pipeline

Combine Scikit-Lego components with scikit-learn tools in a pipeline, e.g., `Pipeline([('scale', StandardScaler()), ('random_noise', RandomAdder()), ('model', LogisticRegression())])`.

4

Fit and Use Pipeline

Fit the pipeline on your data and use it for predictions or transformations as needed.