| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Data ingestion into the project > Data Validation > Data Transformation
Data to Model - Model to Data (iteratively)
Model Training - Model Evaluation - Model Testing - Model Packaging (.pkl)
Supervised? Unsupervised? Classification? Regression?
Virtual Machine Commands: sudo apt update sudo apt install python3-pip sudo apt install virtualenv mkdir mlflow cd mlflow pipenv install mlflow pipenv install awscli pipenv install boto3 pipenv shell aws configure
`python3 -m venv mlops`
git init
pip install dvc
dvc init
git add .dvc .dvcignore
git commit -m "Initialize DVC"
create file in project's directory: dvc.yaml (configuration file) manually or by running e.g.
dvc run -n preprocess -d src/preprocess.py -d data/raw -o data/processed
python src/preprocess.py data/raw data/processed
dvc repro (this will execute dvc.yaml) , dvc dag , dvc metrics show
Split Jupyter Notebook into Python Scripts (Modular Approach):
See here MLflow Repo
docker build -t username/app: latest docker run -p 8080:8080 username/app: latest docker run -d -p 8080:8080 username/app: latest
docker login docker push username/app: latest
Install Jenkins in AWS EC2 Ubuntu Instance sudo apt update sudo apt install openjdk-8-jdk -y visit: https://pkg.jenkins.io/debian-stable/ sudo systemctl start jenkins sudo systemctl enable jenkins sudo systemctl status jenkins add 8080 port to the security group sudo cat /var/lib/jenkins/secrets/initialAdminPassword
commands:
| Back | FazBrowse Home | New Git URL |