Skip to main content

A training pipeline for a model to predict if a passenger survived the Titanic

Project description

PEC2

This package has a custom training function (train) that trains a model base on the titanic dataset and returns the trained model.

How to use

import joblib
from model_pipeline_pypi.model_pipeline_pypi import train

titanic_csv_path = "your/path/to/titanic.csv"

clf = train(titanic_csv=titanic_csv_path)


# Save the trained model
joblib.dump(clf, "model.joblib")

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

PEC_project_Diego_Benavent-0.1.1.tar.gz (2.1 kB view details)

Uploaded Source

Built Distribution

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

PEC_project_Diego_Benavent-0.1.1-py3-none-any.whl (2.5 kB view details)

Uploaded Python 3

File details

Details for the file PEC_project_Diego_Benavent-0.1.1.tar.gz.

File metadata

File hashes

Hashes for PEC_project_Diego_Benavent-0.1.1.tar.gz
Algorithm Hash digest
SHA256 61a7416b6157a09b9501cd47113c1c5a3ff52f9c4fc7e0d02b29353625e9ea03
MD5 2dce6f37d5e92b701aad629cdd3604eb
BLAKE2b-256 ffa53c04748947a9a7aa56ef2f862635538745ce211d4ae584dd83c419933336

See more details on using hashes here.

File details

Details for the file PEC_project_Diego_Benavent-0.1.1-py3-none-any.whl.

File metadata

File hashes

Hashes for PEC_project_Diego_Benavent-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 85c62e83d4af14d8cbf299e872bc5f45a689c56ebc3b6b6b3e55fc691bf68358
MD5 0c1f116f05a5114221d9785840b1cfdb
BLAKE2b-256 55e6029fbe7c58461897a7722d4ae125d925c8b6cef025e64db6d02803619053

See more details on using hashes here.

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