Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

titanic_pipeline-0.1.8.tar.gz (7.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

titanic_pipeline-0.1.8-py3-none-any.whl (6.9 kB view details)

Uploaded Python 3

File details

Details for the file titanic_pipeline-0.1.8.tar.gz.

File metadata

  • Download URL: titanic_pipeline-0.1.8.tar.gz
  • Upload date:
  • Size: 7.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for titanic_pipeline-0.1.8.tar.gz
Algorithm Hash digest
SHA256 d4ba258ec1da0a4f181cc5664de40264e23010f61afec3b5fb632b446ca2b34d
MD5 bf9b2752b7e07b3c85442b6c962dfdd5
BLAKE2b-256 c401fc0dd742b667243378df0800956baf4197ea05e63b579cd9aa7bd368d600

See more details on using hashes here.

Provenance

The following attestation bundles were made for titanic_pipeline-0.1.8.tar.gz:

Publisher: publish.yml on roshanemoraes/titanic-ml-pipeline

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file titanic_pipeline-0.1.8-py3-none-any.whl.

File metadata

File hashes

Hashes for titanic_pipeline-0.1.8-py3-none-any.whl
Algorithm Hash digest
SHA256 1ef474b5926c359265b7db760d7b59183b25c2a02a9a627673f94490d9276b05
MD5 50c7435f0344434a6b6ace0f5f54418d
BLAKE2b-256 354a7cc45fd1f1082c399297fcee6f52eabb922c7c2bd2e00d64ac2f87532c3e

See more details on using hashes here.

Provenance

The following attestation bundles were made for titanic_pipeline-0.1.8-py3-none-any.whl:

Publisher: publish.yml on roshanemoraes/titanic-ml-pipeline

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page