ML+DEVOPS=MLOPS

ML+DEVOPS=MLOPS

AUTOMATION OF MACHINE LEARNING WITH DEVOPS

 In industry generally machine learning guys and developer + operational guys termed as devops guys ,don’t about each other . I mean to say there is a silos between them and this leads many problem and needs many manual efforts.

But what if we combine both the minds of ml + devops guys?

It will lead to automate everything ,there will not be any manual effort as soon as the ml code entered on github and then everything will be automate. So that there will not be any time delay and will be faster and accurate.

So here I have tried to do one task given by vimal sir to automate ml with devops with the help of Jenkins ,docker and git, github .

TASK DESCRIPTION

1. Create container image that’s has Python3 and Keras or numpy installed using dockerfile

2. When we launch this image, it should automatically starts train the model in the container.

3. Create a job chain of job1, job2, job3, job4 and job5 using build pipeline plugin in Jenkins

4. Job1 : Pull the Github repo automatically when some developers push repo to Github.

5. Job2 : By looking at the code or program file, Jenkins should automatically start the respective machine learning software installed interpreter install image container to deploy code and start training( eg. If code uses CNN, then Jenkins should start the container that has already installed all the softwares required for the cnn processing).

6. Job3 : Train your model and predict accuracy or metrics.

7. Job4 : if metrics accuracy is less than 80% , then tweak the machine learning model architecture.

8. Job5: Retrain the model or notify that the best model is being created

9. Create One extra job job6 for monitor : If container where app is running. fails due to any reason then this job should automatically start the container again from where the last trained model left.

AS ml guy we push the code to github 

No alt text provided for this image
No alt text provided for this image

->code were pushed on github

No alt text provided for this image

->creating dockerfile for docker image

No alt text provided for this image

*starting the docker and building the docker image with name cnn and version v1

No alt text provided for this image
No alt text provided for this image

->job 1

No alt text provided for this image

-> job 2

No alt text provided for this image

->job 3

No alt text provided for this image

-> job 4

No alt text provided for this image

->job 5

No alt text provided for this image

->job 6

No alt text provided for this image

->build pipeline showing all jobs connected with eachother

No alt text provided for this image

thank you vimal sir for such a great knowledge .


To view or add a comment, sign in

More articles by Vandana Poddar

  • JENKINS CLUSTER

    Devops task 4 Description:- Create A dynamic Jenkins cluster and perform task-3 using the dynamic Jenkins cluster…

  • INTEGRATING DOCKER AND KUBERNETES WITH JENKINS USING JENKINSFILE APPROACH

    In this i will use groovy language to do this integration. so detailed plan is given below Description: 1.

  • INTEGRATING PROMETHEUS AND GRAFANA IN KUBERNETES

    In this article we will deploy prometheus and grafana on kuberenetes I have task to do this powerfull integration…

  • INTEGRATION OF JENKINS WITH DOCKER AND KUBERNETES

    This article will detailed on integrating jenkins with kuberrnetes and docker. I have task to complete this powerful…

  • HUMAN FACE EXPRESSION RECOGNITION

    Have you ever thought ,how emojis are made ? How the camera filters works that change our face expression to emoji…

  • devops_task2

    This article is for integration of jenkin with git and docker. Task Description 1.

  • Face recognition

    using MobileNet In today's world face recognition is one of the secure technology .so here I am with a small project of…

Others also viewed

Explore content categories