A Scikit-Learn Pipeline chains data transformations and a final estimator into one fitted workflow. In ligand screening, it can standardize SMILES, generate molecular fingerprints, train a classifier, and support cross-validation without rerunning each step manually. section 3.4.3
A pipeline contains two main roles:
- Transformers preprocess or represent data, such as by standardizing molecules, extracting fingerprints, scaling features, imputing missing values, or encoding categories. section 3.4.3
- The final estimator trains the machine-learning model on the transformed data. section 3.4.3
- The single object helps apply transformations consistently, reduce data leakage, rerun experiments, and tune preprocessing and model parameters together. section 3.4.3

