• Home
  • Archive
  • Tools
  • Contact Us

The Customize Windows

Technology Journal

  • Cloud Computing
  • Computer
  • Digital Photography
  • Windows 7
  • Archive
  • Cloud Computing
  • Virtualization
  • Computer and Internet
  • Digital Photography
  • Android
  • Sysadmin
  • Electronics
  • Big Data
  • Virtualization
  • Downloads
  • Web Development
  • Apple
  • Android
Advertisement
You are here:Home » MLOps Lifecycle and Evaluation of Model Performance

By Abhishek Ghosh November 16, 2021 7:11 pm Updated on November 17, 2021

MLOps Lifecycle and Evaluation of Model Performance

Advertisement

Data science, machine learning (ML) and artificial intelligence have triggered a real hype in recent years and received a lot of attention in the industry. Machine learning methods are used to increase either the productivity of the users or the interactivity of the application. Numerous data science teams spend their time training machine learning models.
However, we observe two types of problems that arise in practice.
In this article, we have tried to explain how continuous delivery works for machine learning models and the basics of evaluating model performance. Above all, how to accommodate data engineering, model engineering and software engineering pipelines in a CI/CD pipeline. In addition, we want to show how to automate the manual process of deploying ML models using DevOps practices.

Table of Contents

  • 1 Introduction
  • 2 MLOps Lifecycle
  • 3 Operationalization of Machine Learning
  • 4 Model-performance Measures
  • 5 Starting a Project
  • 6 Discussion

Listen to the audio of this article :

Advertisement

---

Abhishek Ghosh 15 · MLOps Lifecycle and Evaluation of Model Performance

Either the majority of ML models do not manage to be integrated into a software product, or the model deployment takes too much time. We have identified several reasons that explain this problem:

  • ML Model Deployment is a complex process. In general, this involves the management of the three pipelines Data Engineering, Model Engineering and Software Engineering.
  • There are no standardized processes to bring an ML model into the production environment. Machine Learning Model Operation Management (MLOps) is still in its early stages.
  • Defining the right infrastructure stack to automate machine learning deployments currently requires a trial-and-error process. Many tools and systems for machine learning and AI model monitoring are in an active commercial offering phase.
  •  

    MLOps Lifecycle

     

    The implementation of machine learning in software systems takes place in few phases.

    Design (Problem Definition)

    Even the best ML solution will fail if it does not solve usage or business problems. Therefore, in this first phase, we try to find out who the users of our software are. What problems do they have? Which of these problems are best solved with ML? And most importantly, can we accept a nondeterministic solution through ML? Let’s take as the example software for billing professional travel expenses. This software could automatically detect some metadata fields, such as the category of a document, and thus facilitate the process of travel expense reporting.
    This phase is crucial for the success of an ML project. However, it may take some time until the right problem is found.

    Model Development (Data Science Research)

    After we have analyzed the workflows in software usage and identified use cases (tasks) suitable for ML, we can convert these use cases into ML projects. You then start the so-called Data Science Research. In this second phase, you go through a series of processes iteratively:
    The mapping of the user problem to the ML algorithms. You analyze and identify which ML algorithm is best suited to solve the problem. In our example, we chose unsupervised ML because category recognition is a classification task.

    • Data engineering, in which you first analyze whether the necessary data is available or what effort we have to make to obtain the data and provide it with labels (for training algorithms). In addition, data engineering can include other steps such as data integration, preparation, cleaning and validation.
    • Model engineering, in which different classification algorithms are trained on the data and thus different ML models are produced. By evaluating the performance, it is decided which ML model is best suited for our problem.

     

    Operationalization of Machine Learning

     

    Training the ML models can take a lot of time and be challenging, but the real challenge is integrating an ML system into the production environment, i.e. into the software product that interacts with users. An ML system consists of three main elements: training data, ML model and code for model training. We use the DevOps principles for ML systems (MLOps) to combine ML development and operations. As an extension of DevOps, MLOps is dedicated to automating and monitoring (in all steps) the integration of ML systems into software projects.

     

    Model-performance Measures

     

    The measures may be applied for several purposes, including:

    1. Model evaluation: a developer may want to know how good the model is, i.e., how reliable are the model’s predictions or how frequent the errors or the expected magnitude of errors;
    2. Model comparison: a developer may want to compare two or more models to offer a client option to choose between them;
    3. Out-of-sample and out-of-time comparisons: a developer may want to check a model’s performance when applied to new data from the client to evaluate whether performance has been worsened.

    Most of the commercially available model-performance measures are based on the comparison of the model’s predictions with the values in a provided dataset. In real life predictions and the dependent-variable values are not equal and hence for professional service delivery, and we want to quantify the disagreement.

    MLOps Lifecycle and Evaluation of Model Performance

    Click here to view the full size image

     

    Discussion

     

    The goal of this article was to direct the self-employed professionals towards the upcoming measures to offer better service to better clients.

    Normally, we use rapid application development (RAD) tools for the experimental phase. The main focus of RAD tools is on creating ML prototypes and functional requirements. Very popular are e.g. Jupyter notebook or cloud-based environments such as Colab from Google. There are several advantages and disadvantages to using RAD tools. The data was prepared, new features were derived and various machine learning models were trained. But how a developer will evaluate the performance of these models? For this purpose, so-called model performance model monitoring is being introduced in the machine learning area.

Facebook Twitter Pinterest

Abhishek Ghosh

About Abhishek Ghosh

Abhishek Ghosh is a Businessman, Surgeon, Author and Blogger. You can keep touch with him on Twitter - @AbhishekCTRL.

Here’s what we’ve got for you which might like :

Articles Related to MLOps Lifecycle and Evaluation of Model Performance

  • Nginx WordPress Installation Guide (All Steps)

    This is a Full Nginx WordPress Installation Guide With All the Steps, Including Some Optimization and Setup Which is Compatible With WordPress DOT ORG Example Settings For Nginx.

  • Changing Data With cURL for OpenStack Swift (HP Cloud CDN)

    Changing Data With cURL For Object is Quite Easy in OpenStack Swift. Here Are Examples With HP Cloud CDN To Make it Clear. Official Examples Are Bad.

  • WordPress & PHP : Different AdSense Units on Mobile Devices

    Here is How To Serve Different AdSense Units on Mobile Devices on WordPress With PHP. WordPress Has Function Which Can Be Used In Free Way.

  • Approaches of Deep Learning : Part 1

    From This Series on Approaches of Deep Learning We Will Learn Minimum Theories Around AI, Machine Learning, Natural Language Processing and Of Course, Deep Learning Itself.

performing a search on this website can help you. Also, we have YouTube Videos.

Take The Conversation Further ...

We'd love to know your thoughts on this article.
Meet the Author over on Twitter to join the conversation right now!

If you want to Advertise on our Article or want a Sponsored Article, you are invited to Contact us.

Contact Us

Subscribe To Our Free Newsletter

Get new posts by email:

Please Confirm the Subscription When Approval Email Will Arrive in Your Email Inbox as Second Step.

Search this website…

 

Popular Articles

Our Homepage is best place to find popular articles!

Here Are Some Good to Read Articles :

  • Cloud Computing Service Models
  • What is Cloud Computing?
  • Cloud Computing and Social Networks in Mobile Space
  • ARM Processor Architecture
  • What Camera Mode to Choose
  • Indispensable MySQL queries for custom fields in WordPress
  • Windows 7 Speech Recognition Scripting Related Tutorials

Social Networks

  • Pinterest (24.3K Followers)
  • Twitter (5.8k Followers)
  • Facebook (5.7k Followers)
  • LinkedIn (3.7k Followers)
  • YouTube (1.3k Followers)
  • GitHub (Repository)
  • GitHub (Gists)
Looking to publish sponsored article on our website?

Contact us

Recent Posts

  • Hybrid Multi-Cloud Environments Are Becoming UbiquitousJuly 12, 2023
  • Data Protection on the InternetJuly 12, 2023
  • Basics of BJT TransistorJuly 11, 2023
  • What is Confidential Computing?July 11, 2023
  • How a MOSFET WorksJuly 10, 2023
PC users can consult Corrine Chorney for Security.

Want to know more about us?

Read Notability and Mentions & Our Setup.

Copyright © 2023 - The Customize Windows | dESIGNed by The Customize Windows

Copyright  · Privacy Policy  · Advertising Policy  · Terms of Service  · Refund Policy