This project is one of the practice project to implement all the things we learn until learn. Also save it for future reference Complete AI software Deployment with CI/CD. Thank You!
STEPS:
- create requirements.txt (pip install -r requirements.txt)
- create setup.py
- before run setup.py '''create src package(by adding init.py) in a src folder for check'''
- run setup.py(python setup.py install)
components: components are the steps we follows in training pipeline(data source,data ingestion, data transformation,model trainer,model monitoring,CI/CD pipeline,model deployment)
- create template.py (responsible for creating the entire project structure)
- code in template.py # we have to things in our project [components & pipeline(training, testing)]
- run template.py (python template.py)
- we can also use cookiecutter(optional)
- Write code on logger.py
- Write code for exception.py
- create .env variable (store database connection )
- write code in utils.py read_sql_data(for database connection)
- Start data ingestion(open components/data_ingestion.py)
- write code for run data ingestion in app.py
- use DVC(data version control) for track data like git (for big data)
- DVC Commands
- use jupyter for research for training(USE EDA,model_training)
- write code in data_transformation.py(feature_engineering)
- create save_object def in utils
- write code for model_trainer.py
- update utils
- after complete components ( time to build pipeline)
- 1- Prediction_pipeline
- create new app.py
- create folder templates (index.html, home.html)
- write code in both
- write code in training_pipeline.py
- write code in app.py(flask)
- run app.py(python app.py)
- check on crome (127.0.0.1:5000)
- call(127.0.0.1:5000/predictdata)
