Coder Social home page Coder Social logo

airqualitymlops's Introduction

  1. Create environment and activate it
  2. Create requirements.txt and put required packages and install it using below command
pip install -r requirements.txt

  1. Create data folder in the root of project
  2. Create template.py to create structure of the project
  3. Create a data_given folder and put data file there
  4. Make a repo on Github and keep on pushing the code wherever required
git init
dvc init
dvc add data_given/data_file
git add . && git commit -m "firs
t commit" 
git branch -M main
git remote add origin https://gi
thub.com/swatishayna/airqualitymlops.git
git push origin main

  1. Stage1: Get the data: create afile inside src directory to get the data from data_given folder and add this stage in dvc.yaml
  2. Stage2: load the data: create afile inside src directory to load the data and add this stage in dvc.yaml
  3. Run in Terminal
dvc repro
  • This will generate dvc.lock file
  1. Stage3:Perform train test split: Create a file in src folder and add this stage in dvc.yaml
  2. Stage4: Train and Evaluate Model: Create a file in src folder and add this stage in dvc.yaml 12.Create directory report and add two files params.json and scores.json
    dvc repro
    dvc metrics show
    dvc metrics diff```
     
    
    
    
  3. Make tox.ini file which will generate virtualenv and test ommand line tool
https://tox.readthedocs.io/en/latest/index.html

  1. tox commands
tox

for rebuilding

tox -r
  1. pytest commands
pytest-v
  1. setup commands
pip install -e .
  1. build package commands
python setup.py sdist bdist_wheel

airqualitymlops's People

Contributors

swatishayna avatar

Watchers

 avatar

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.