Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/trilokida/scikit-learn-pipeline

Utilities to build a composite estimator as a chain of transforms and estimators.
https://github.com/trilokida/scikit-learn-pipeline

Last synced: 4 days ago
JSON representation

Utilities to build a composite estimator as a chain of transforms and estimators.

Awesome Lists containing this project

README

        

# scikit-learn-pipeline
**Pipeline** can be used to chain multiple estimators into one. This is useful as there is often a fixed sequence of steps in processing the data, for example feature selection, normalization and classification.
Pipeline serves multiple purposes here:

Convenience and encapsulation
- You only have to call fit and predict once on your data to fit a whole sequence of estimators.

Joint parameter selection
- You can grid search over parameters of all estimators in the pipeline at once.

Safety
- Pipelines help avoid leaking statistics from your test data into the trained model in cross-validation, by ensuring that the same samples are used to train the transformers and predictors.

[sklearn.pipeline](https://scikit-learn.org/stable/api/sklearn.pipeline.html)