Skip to main content

Assembling MLOps practice - part 1

[PLACEHOLDER]

In one of our previous articles it was highlighted how DevOps manages the End-to-End application cycle, leveraging agility and automation. CI/CD pipelines, collaboration and transparency, monitoring and automation are part of the list on how DevOps leverages and facilitates agility. What if then we bring those to support ML? That is how MLOps comes to the table and starts making sense!

Lego-Alike-data-assembly
Lego Alike data assembly - Generated with Gemini

A big tech corporation, or a startup, nowadays will see how it is becoming a requirement to incorporate AI and Machine learning (ML) in their operations. ML components are key parts of the ecosystem, supporting the solutions provided to clients. As a result, DevOps and MLOps have become part of the "secret sauce" for success. 

What is MLOps

Just to bring the definition of what you probably know (or put together based on the above) MLOps focuses on the life-cycle management of machine learning models. It combines machine learning with traditional data engineering and DevOps practices for building, deploying, and maintaining ML models.
MLOps makes sure that models are:

  • Reliable.
  • Scalable.
  • Efficient.

To accomplish this, a pipeline is established which includes tasks such as:

  1. Data collection.
  2. Model training.
  3. Deployment of the models.
  4. Monitoring of the models.
  5. Updates and enhancements.
MLOps-cycle
MLOps

How do you get started for setting an MLOps Practice?

You need:

  1. A framework.
  2. A team (multi-disciplinary) with the know-how.
  3. Technology.

DevOps-development-operations

Recommended article

SRE, DevOps and ITOps. If you are wondering what the differences between the SRE and DevOps are, as well as how these roles work with ITOps within an organisation then...


A framework:

  • Establish Clear Goals. The need of defining the business problems (use cases) that ML is meant to solve for your company. You need to be able to measure success, therefore you need to also define the OKRs and KPIs.
  • A culture of collaboration. In discussions about DevOps, MLOps, and agility, collaboration is the “glue” that serves as an integral component that binds these concepts together.
  • Ensure model governance and security. Proper audits to mitigate bias in the data, data processing consistency, and to ensure security (sensitive vs confidential vs PII vs public and accessible).
  • Model development pipeline. Having the right toolkit to set the proper automate data processing. CI/CD (Continuous Integration and Continuous Deployment) will keep the rhythm of the pipeline, which includes the unceasing iterative and improvement of the models’ refinement and its data. 
MLOps-building-blocks
MLOps building blocks and enablement

Who do you need?

Building a diverse, multidisciplinary team is crucial for the success of AI and ML projects, as it ensures the right combination of skills to achieve business objectives effectively. In MLOps, various roles play a key part in shaping and maintaining AI practices, though the specific requirements and team size may influence their composition. While these roles are not exhaustive, assembling a team with complementary expertise fosters innovation and enhances operational efficiency, ultimately driving successful AI initiatives that will improve the business outcomes and will contribute to the effectiveness and collaboration of the different business units and teams within the organization, such as data scientists, software engineers, and IT personnel, ensuring that ML models are continuously improved and updated.

Here are some of those roles that you would be needing:

  • AI Architects. They are responsible for designing the system’s architecture and ensuring that it is scalable and efficient.
  • Data Scientists. They are responsible for the models and algorithms.
  • ML Engineers. They are responsible for developing and deploying machine learning models and algorithms.
  • Data Engineers. They are responsible for designing, building, and maintaining the data infrastructure.
  • Software Engineers. They act as the bridge between machine learning models and production systems, ensuring smooth integration and long-term reliability. They do so by  developing and maintaining the software components.
  • Product Designers. They lead the UI and UX.
  • Domain Experts. They provide domain-specific knowledge and expertise in order for the crew mentioned above to come together, take the requirements and design the solution.
  • AI Ethics and SMEs. This part of the team are the ones making sure the AI system has the guardrails in place, keeping it ethical and socially responsible.

Difference between MLOps and AIOps

AIOps and MLOps are two distinct yet complementary paradigms that both leverage Artificial Intelligence (AI) and Machine Learning (ML). 

MLOps is a set of practices and framework designed to streamline and automate the lifecycle of machine learning models; making sure they run smoothly, they are scalable, and reliably in production environments. 

While AIOps, on the other hand, leverages AI-driven insights to provide solutions at a faster pace. AIOps, focuses on applying AI/ML technologies to enhance and automate IT operations, performing tasks such as anomaly detection, event correlation, predictive analytics, risk management, automated root cause analysis, etc.

lego-alike-data-assemblyLine-green

Assembling an MLOps Practice - Part 2

In part 2 of the article, we move forward by exploring part of the technical stack that could be an option for implementing MLOps...


Trending posts

Apple's App Tracking Transparency sealing Meta's fate

If you have been following the recent news on Meta (formerly Facebook) you may have read that Meta recently projected their ad revenue will be cut by a staggering $10 billion in 2022 due to Apple’s new App Tracking Transparency feature (also known as ATT). This has resulted in Meta’s stock to plummet by over 20%. Photo by julien Tromeur on Unsplash - modified by Beolle So what is Apple’s ATT and how does it impact ad revenue? Apple has been releasing multiple privacy features for the last few years. This included Apple’s Mail Privacy Protection and Apple’s App Tracking Transparency feature. You can learn more about Apple’s Mail Privacy Protection in our earlier post by clicking here .  Apple’s App Tracking Transparency (ATT) was launched in iOS 14.5 and iPadOS 14.5 where it prompted users to select if they wanted the app to track their activities across other apps on the device. The prompt is displayed when the user opens an app like Facebook or Instagram for the first time o...

Building MCP with TypeScript

MCP servers are popular these days. We’ve been researching and exploring a few code repos, some where missing modularity, others just not having pieces that we were looking for… therefore we decided to build our own, simple and foundational that could be a starting point for those trying to solve for the similar things we were… and we decided to share it with the community, via our public github. MCP host, server,data sources     Before we start.  Using Typescript and NodeJS was one of our requirements. This proved somewhat challenging because I don't code as frequently these days due to my leadership responsibilities, and I typically prefer working with C# or Python. Colleagues in my tech community have been working with their teams on some of their MCPs going the Python route. Therefore, I said, “I guess we are trying the other route” 😊. One of our reasons to go with TypeScript was due to the need of the integration with APIs, and based on the research, it seems t...

SLA-SLO-SLI and DevOps metrics

Companies are in need of the metrics that will allow them to stay in business by making sure they meet the expectations of their customers. The name of the game is higher customer satisfaction by winning their trust and loyalty. To do so, you want to provide good products and services. Therefore you need to find ways to monitor performance, drive continuous improvements and deliver the quality expected by the consumer in this highly competitive market. Photos from AlphaTradeZone via Pexel and Spacejoy via Unsplash SLAs, SLOs and SLIs are a good way to achieve the above. They allow clients and vendors to be on the same page when it comes to expected system performance. If we go one level deeper, vendors/providers work on NFRs (Non-Functional Requirements) when working on their solutions. NFRs define the quality attributes of a system. I bring them up because the relationship between them and the SLAs is that they provide, in a way, foundational aspects for the SLA-SLO-SL...

Democratizing AI

Democratizing AI is all about empowering others to use it, by making it available to them. Audiences, such as marketers in a company, will be able to access AI capabilities as part of their MarTech solutions, without the need of being technical. It could also be schools, where the younger generations are learning how to use it in responsible, secure, innovative, and creative ways. This is the year where companies, after discovery phases and teams experimenting, are looking to activate and take advantage of the AI advances. Generated with Microsoft Designer   And so, questions emerge, such as “What to democratize when leveraging AI?” There are common scenarios, as well as specific ones, that will depend on the company, and the industry they belong to. A common scenario, seen in many industries, when democratizing data is the data visualization and reporting . In digital marketing, as an example, data scientists and data analysts can automate reporting, making them available to the c...

This blog uses cookies to improve your browsing experience. Simple analytics might be in place for pageviews purposes. They are harmless and never personally identify you.

Agreed