A classical ML pipeline for the Titanic survival dataset — EDA, preprocessing, feature engineering, model selection, evaluation, and hyperparameter tuning.
Project description
titanic-pipeline
A classical ML pipeline for the Titanic survival dataset.
Covers the full workflow: EDA, preprocessing, feature engineering, model selection, evaluation, and hyperparameter tuning — all accessible via a single print_pipeline() call.
Install
pip install titanic-pipeline
Usage
from titanic_pipeline import print_pipeline
# Print the entire pipeline
print_pipeline()
# Print a specific section
print_pipeline('eda')
print_pipeline('preprocessing')
print_pipeline('feature_engineering')
print_pipeline('model_selection')
print_pipeline('evaluation')
print_pipeline('tuning')
Sections
| Key | Contents |
|---|---|
imports |
All library imports |
eda |
Data loading, missing value audit, target distribution, visualizations |
preprocessing |
Drop redundant columns, impute missing values, encode categoricals, scale, train/test split |
feature_engineering |
family_size, is_alone, age_bin, fare_per_person with survival correlation plots |
model_selection |
Logistic Regression, Decision Tree, k-NN, Random Forest, SVM — side-by-side comparison |
evaluation |
Confusion matrix, classification report, ROC curves, feature importance |
tuning |
GridSearchCV for Decision Tree and k-NN |
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file titanic_pipeline-0.1.6.tar.gz.
File metadata
- Download URL: titanic_pipeline-0.1.6.tar.gz
- Upload date:
- Size: 7.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1208f32f094825fa6696cb54fac8f4d50cd8b83bf3acf257cbb9369d63dca74f
|
|
| MD5 |
43dc20a8d1965cb9faf9df8b3f8bbf2b
|
|
| BLAKE2b-256 |
bbfaee0fee8bc6c06dcb7b5c98c30bf6e98239ef1ac3d59cbd52a5656230d614
|
Provenance
The following attestation bundles were made for titanic_pipeline-0.1.6.tar.gz:
Publisher:
publish.yml on roshanemoraes/titanic-ml-pipeline
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
titanic_pipeline-0.1.6.tar.gz -
Subject digest:
1208f32f094825fa6696cb54fac8f4d50cd8b83bf3acf257cbb9369d63dca74f - Sigstore transparency entry: 1185777697
- Sigstore integration time:
-
Permalink:
roshanemoraes/titanic-ml-pipeline@176e9d554405061768a6d29bcb91d51e2d7d6c6f -
Branch / Tag:
refs/tags/v0.1.6 - Owner: https://github.com/roshanemoraes
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@176e9d554405061768a6d29bcb91d51e2d7d6c6f -
Trigger Event:
release
-
Statement type:
File details
Details for the file titanic_pipeline-0.1.6-py3-none-any.whl.
File metadata
- Download URL: titanic_pipeline-0.1.6-py3-none-any.whl
- Upload date:
- Size: 7.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
bfdd295c699834751e3a604aa57626af9a2942d4eb47d994a76cad2eb914449e
|
|
| MD5 |
ccc9e91c86cd62b3eaaa00b3d3031e09
|
|
| BLAKE2b-256 |
5cc8dfbcbc5e79fe72114a8aec47db4b88651d7de2e2fcc92dbfb4997d8c213e
|
Provenance
The following attestation bundles were made for titanic_pipeline-0.1.6-py3-none-any.whl:
Publisher:
publish.yml on roshanemoraes/titanic-ml-pipeline
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
titanic_pipeline-0.1.6-py3-none-any.whl -
Subject digest:
bfdd295c699834751e3a604aa57626af9a2942d4eb47d994a76cad2eb914449e - Sigstore transparency entry: 1185777702
- Sigstore integration time:
-
Permalink:
roshanemoraes/titanic-ml-pipeline@176e9d554405061768a6d29bcb91d51e2d7d6c6f -
Branch / Tag:
refs/tags/v0.1.6 - Owner: https://github.com/roshanemoraes
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@176e9d554405061768a6d29bcb91d51e2d7d6c6f -
Trigger Event:
release
-
Statement type: