GithubHelp home page GithubHelp logo

ydata-dvc-demo's Introduction

ML project example (ydata-demo)

Dependencies installation

python -m venv .venv
source .venv/bin/activate
pip install -r requirements.txt
pip install -e .

Usage

Load data python ml_project/train.py load_data --train_cloud_path dvc/train.csv --test_cloud_path dvc/test.csv
Featurize python ml_project/train.py featurize --data_folder data/raw --output_folder data/processed
Train model python ml_project/train.py train_model --data_folder data/processed

DVC

Examples

dvc add /path/to/item.pkl
dvc push
dvc repro

DVC initialization

dvc init
dvc remote add s3cache s3://evgerher-ydata-demo/dvc
dvc remote modify s3cache profile ydata-demo
dvc remote modify s3cache endpointurl https://storage.yandexcloud.net

Optional: dvc remote default s3cache

MlFlow

Resources:

Automatic parameters tracking examples:


Project structure

- ml_project - folder with source code
  - data: package for loading from local/remote source data
  - features: package for data transformation
  - models: package for model training procedures
- configs - folder with configuration files to run training experiments
  - train_lr.yaml - example of linear regression config
  - train_rf.yaml - example of random forest regressor config
- tests - folder with tests files
- notebooks - folder with initial .ipynb files
- artifacts
  - models - trained model binary file and other files

requirements.txt   <- The requirements file for reproducing the analysis environment

ydata-dvc-demo's People

Contributors

evgerher avatar

Stargazers

 avatar

Watchers

Emma Yavasan avatar  avatar

Forkers

tansla

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.