Register
Login
Resources
Docs Blog Datasets Glossary Case Studies Tutorials & Webinars
Product
Data Engine LLMs Platform Enterprise
Pricing Explore
Connect to our Discord channel
General:  ml pipelines Type:  model Task:  classification Data Domain:  tabular Framework:  scikit-learn
7c88a9d6b4
Initial code skeleton
2 years ago
7c88a9d6b4
Initial code skeleton
2 years ago
1e6c22c259
Repro pipeline
2 years ago
7c88a9d6b4
Initial code skeleton
2 years ago
7c88a9d6b4
Initial code skeleton
2 years ago
1e6c22c259
Repro pipeline
2 years ago
d1b93079a1
Update the metrics
2 years ago
src
a49e03966a
Implement fill NANs using median
2 years ago
7c88a9d6b4
Initial code skeleton
2 years ago
d1b93079a1
Update the metrics
2 years ago
7c88a9d6b4
Initial code skeleton
2 years ago
7c88a9d6b4
Initial code skeleton
2 years ago
7c88a9d6b4
Initial code skeleton
2 years ago
e1f4c6b105
Update README
2 years ago
3d5adcb974
Update dvc.lock
2 years ago
9a1ec2fb88
Refactor code
2 years ago
4f7b50c3d1
Update imputation with mean
2 years ago
7c88a9d6b4
Initial code skeleton
2 years ago
7c88a9d6b4
Initial code skeleton
2 years ago
7c88a9d6b4
Initial code skeleton
2 years ago
7c88a9d6b4
Initial code skeleton
2 years ago
Storage Buckets
Data Pipeline
Legend
DVC Managed File
Git Managed File
Metric
Stage File
External File

README.md

You have to be logged in to leave a comment. Sign In

kaggle-titanic-dvc

Predict survival on the Kaggle Titanic dataset using DVC for reproducible machine learning

Project Organization

├── LICENSE
├── Makefile           <- Makefile with commands like `make data` or `make train`
├── README.md          <- The top-level README for developers using this project.
├── data
│   ├── external       <- Data from third party sources.
│   ├── interim        <- Intermediate data that has been transformed.
│   ├── processed      <- The final, canonical data sets for modeling.
│   └── raw            <- The original, immutable data dump.
│
├── docs               <- A default Sphinx project; see sphinx-doc.org for details
│
├── models             <- Trained and serialized models, model predictions, or model summaries
│
├── notebooks          <- Jupyter notebooks. Naming convention is a number (for ordering),
│                         the creator's initials, and a short `-` delimited description, e.g.
│                         `1.0-jqp-initial-data-exploration`.
│
├── references         <- Data dictionaries, manuals, and all other explanatory materials.
│
├── reports            <- Generated analysis as HTML, PDF, LaTeX, etc.
│   └── figures        <- Generated graphics and figures to be used in reporting
│
├── requirements.txt   <- The requirements file for reproducing the analysis environment, e.g.
│                         generated with `pip freeze > requirements.txt`
│
├── setup.py           <- makes project pip installable (pip install -e .) so src can be imported
├── src                <- Source code for use in this project.
│   ├── __init__.py    <- Makes src a Python module
│   │
│   ├── data           <- Scripts to download or generate data
│   │   └── make_dataset.py
│   │
│   ├── features       <- Scripts to turn raw data into features for modeling
│   │   └── build_features.py
│   │
│   ├── models         <- Scripts to train models and then use trained models to make
│   │   │                 predictions
│   │   ├── predict_model.py
│   │   └── train_model.py
│   │
│   └── visualization  <- Scripts to create exploratory and results oriented visualizations
│       └── visualize.py
│
└── tox.ini            <- tox file with settings for running tox; see tox.readthedocs.io

Project based on the cookiecutter data science project template. #cookiecutterdatascience

Getting started

# clone the repository
git clone git@github.com:truocpham-agilityio/kaggle-titanic-dvc.git

# create virtual environment in folder
cd kaggle-titanic-dvc
python3 -m venv venv
source venv/bin/activate

# install requirements
pip3 install -r requirements.txt
pip3 install .

# pull data from origin
dvc pull -r origin

# check the status of the pipeline
dvc status

# Expected output
#   Data and pipelines are up to date.

Pipeline

# Reproduce model pipeline
dvc repro

DVC Studio View

Explore the ML experiments: https://studio.iterative.ai/user/truocpham-agilityio/views/kaggle-titanic-dvc-qhscvyp2k1

Tip!

Press p or to see the previous file or, n or to see the next file

About

Predict survival on the Kaggle Titanic dataset using DVC for reproducible machine learning

https://github.com/truocpham-agilityio/kaggle-titanic-dvc
Collaborators 1

Comments

Loading...