Project Python for Java Developers: From Streams to Tensors
Part 9: "The First Model" — scikit-learn, Pipelines and Honest Metrics
Sentinel's first fraud model. The estimator API, stratified train/test splits, Pipeline and ColumnTransformer, logistic regression vs random forests, why accuracy lies on imbalanced data, precision-recall and threshold tuning, cross-validation, data leakage, and persisting models.