New answers tagged pipelines
0
votes
Separating the features data from the target in X and y before or after a pipeline?
To answer your questions, you do train-test-split before you fit the pipeline. You don't need to do the row-dropping in the pipeline; you do this before you do the train-test-split. In other words, ...
Top 50 recent answers are included
Related Tags
pipelines × 99scikit-learn × 44
python × 30
machine-learning × 24
cross-validation × 7
preprocessing × 7
pandas × 6
classification × 5
random-forest × 5
one-hot-encoding × 5
nlp × 4
tensorflow × 4
data × 4
transformer × 4
apache-spark × 4
hyperparameter-tuning × 4
python-3.x × 4
time-series × 3
machine-learning-model × 3
xgboost × 3
class-imbalance × 3
data-science-model × 3
scala × 3
shap × 3
imbalanced-learn × 3