Web TippsUse custom web fonts in Google Sheets charts(08.09.2026 um 17:05 Uhr)
Web TippsIntroducing the new 1Password App for Google Chat(08.09.2026 um 18:02 Uhr)
Web TippsUse custom web fonts in Google Sheets charts(08.09.2026 um 17:05 Uhr)
Web TippsIntroducing the new 1Password App for Google Chat(08.09.2026 um 18:02 Uhr)

🔧 AI Nachrichten 🕛 vor 3 Jahren 10 Min Lesezeit
0

Building Better ML Systems.  Chapter 1: Every project must start with a plan.

↗ Quelle (towardsdatascience.com)
🗣️ Stimme:

Building Better ML Systems — 
Chapter 1: Every Project Must Start with a Plan

About ML project lifecycle, designs doc, business value, and requirements. About starting small and failing fast.

Photo by

A lot of data scientists and ML engineers, after graduating from universities, have a false image of how their day-to-day work will look like — they expect it to be similar to their studies:

Trying cool state-of-the-art algorithms on fixed relatively clean datasets and selecting the best one in terms of accuracy (Expectations).

You don’t need:

  • To think about the business value and a never-ending list of requirements.
  • (Most likely) to collect, label, and clean the dataset. In some cases, even the train/validation/test split is already done for you.
  • To thoroughly evaluate your model, check for biases, and conduct A/B tests.
  • To deploy the model to thousands (or millions) of users and ensure it is up and running 99.9% of the time.
  • To monitor the model, catch any drops in accuracy, and retrain it as needed.
  • To collect new data immediately after deploying a previous version and start working on a new, hopefully, better model.

Yes, you don’t need to think about all this during the research/study project. But in real-life projects it becomes crucial.

The main difference between research and a real-life project is that:

In real life, there are many users who use your model in all imaginable and unimaginable ways and expect it to always work quickly, accurately, and fairly without bias. Users’ behaviors continuously change, and epidemics and wars may happen, while your company tries to earn a profit by delivering what users want and building a competitive advantage by applying Machine Learning in ways that no one else has ever tried or succeeded before (Reality).

Throughout this series, you will learn that building better Machine Learning systems requires thinking of it as a system — paying enough attention to each component and their relationships.

This tutorial will be beneficial for Data Scientists, Machine Learning Engineers, Team, and Tech Leads (or those who aspire to be one). Do not expect this series to be comprehensive, although it will help you lay a strong foundation in ML system design, fill any gaps, and allow you to explore topics that are less familiar to you. Along the way, I will provide links to numerous excellent posts, papers, and books.

Without further ado, let’s begin!

Every project must start with a plan.

Below is the Machine Learning project lifecycle. Make yourself comfortable. First, you understand the task and determine what needs to be done. Then, you collect, label, and clean the data. Next, you move on to modeling. After that, you evaluate the models and select the best one. Finally, you deploy the model and monitor its performance.

Image 1. Life Cycle of a Machine Learning Project. Image by Author.

Is this the end? No, it is only the beginning.

While monitoring, you may discover that the model is not working well for some subset of users, or its accuracy is deteriorating over time, so you start again: understand the problem -> get data -> model and evaluate -> deploy.

Or during model evaluation, you may find that the model is not good enough to deploy, and so you start again: understand what is not working and how to improve it -> collect more data -> do more modeling -> evaluate to (hopefully) get better results this time.

(If this is your first time learning about the Machine Learning project lifecycle, I recommend checking out Anton Morgunov’s post: by Satish Chandra Gupta to learn more about the ML software development lifecycle.)

Before spending thousands of dollars on data annotation and weeks and weeks on Machine Learning model development, there are four things you need to do. Let’s call it the “pre-coding” stage. So, close your PyCharm for now, as all you need is a Google document, your brain, and Zoom.

1. Estimate the business value of the ML project.

Any commercial company’s goal is to earn more money or provide a better customer experience… in order to earn more money. With this simple axiom in mind, convince your boss, C-level management, and stakeholders that the current ML project is a good investment.

Ideally, you need to provide some rough numbers on how the ML model increases the company’s revenue, user engagement, or decreases request processing time, etc. Be creative here, turn off your perfectionism, and do not hesitate to ask your colleagues from the financial and marketing departments for help.

(Keep in mind, later this metric will be used to access the project, so be realistic with what you promise to deliver.)

2. Collect the requirements.

Once no one has doubts that the ML model is necessary, start collecting requirements.

Each domain is specific and each project is unique, so there is no exhaustive list of requirements to refer to. So trust your experience and collaborate with your colleagues.

Here’s a helpful tip: Come up with a list of generic questions (I’ll share mine below) and just ask. Start the conversation, and as you discuss, more project-specific questions will naturally arise.

  • How much data do we have? How are we going to label it?
  • What should model latency be?
  • Where will the model be deployed — cloud or on-premises? What are the instance specifications?
  • Are there any requirements for data privacy and model explainability?

If a task can be solved with machine learning, it does not mean it should be. At this point, I suggest that you reconsider whether a pure software engineering approach or a basic rule-based approach may be a suitable solution. Here are the posts that can help you with that:
- by Svenja Szillat

There is no Machine Learning without data. It may seem obvious, but unfortunately, in my career, I’ve seen too many companies making the same mistake: they want AI, but their datasets are small, lacking important features, or dirty. A great post “.

3. Start small and fail fast.

Even if your goal is to create an ML system that serves millions of users per day, it’s wise to start with something much much smaller:

  • PoC (Proof of Concept). Manually retrieve data from data storages, quickly iterate through a couple of algorithms in a Jupyter Notebook, and finally, proof (or reject) the hypothesis that you can train a machine learning model with satisfactory accuracy on the data you have. During the PoC stage, you’ll also understand what is needed to deploy and scale the model.
  • MVP (Minimal Viable Product). Assuming the PoC stage was successful and now you are creating a product with only the main functionality and releasing it to users. In a Machine Learning project, this means rolling out the model to a segment of the users and accessing whether it brings the expected business value.

Once you realize that an idea is not working out — abandon it with a clear conscience and move to the next one. This is much easier to do when you haven’t already spent years of work or hundreds of thousands of dollars. Keeping the cost of failure low is a key factor in the success of a project.

(To explore this topic further, read proposed by Eugene Yan. Feel free to modify it and adapt it to your project needs.

If you would like to learn more about design documents as a concept, check out these posts:
- by Malte Ubl

Conclusion

In this chapter, we learned that every project must start with a plan because ML systems are too complex to implement in an ad-hoc manner. We reviewed the ML project lifecycle, discussed why and how to estimate project business value, how to collect the requirements, and then reevaluate with a cold mind whether ML is truly needed. We learned how to start small and fail fast using concepts like “PoC” and “MVP”. And finally, we talked about the importance of design documents during the planning stage.

In the next posts, you will learn about data collection and labeling, model development, experiment tracking, online and offline evaluation, deployment, monitoring, retraining, and much much more — all this will help you build better Machine Learning systems.

The next chapter will be available soon. Subscribe to stay tuned.


on Medium, where people are continuing the conversation by highlighting and responding to this story.

Vollständiger Original-Bericht
Ausführliche Details, Code-Beispiele & Hersteller-Stellungnahme auf towardsdatascience.com.
↗ Original-Artikel auf towardsdatascience.com lesen
Wie bewertest du diesen Beitrag?
1 Klick Feedback
Teilen mit Netzwerk & Team:

Community-Analysen & Experten-Meinungen 0

Verfasse deine eigene Analyse, teile Workarounds oder diskutiere diesen Vorfall im Blog.
Noch keine Community-Analyse verfasst. Markiere einen Textabschnitt oder klicke oben auf Eigene Analyse verfassen“!
Community Pulse: Relevanz-Einschätzung
1 Klick Experten-Votum
🔴 Akute Relevanz 0%
🟡 In Evaluierung 0%
🟢 Keine Auswirkung 0%
Spannende Innovation 0%
Verwandte Story-Cluster & Quellen (Vektor-KI)
Port 8095 Engine
3 Quellen
Use custom web fonts in Google Sheets charts
2 Quellen
Introducing the new 1Password App for Google Chat
1 Quelle
Context-aware access controls are available for Gemini Enterprise in the Admin console
Ähnliche Beiträge
🔍 Verwandte News

Auch interessante Nachrichten Building Better ML Systems.  Chapter 1: Every project must start with a plan.

Thematisch verwandte Begriffe: Building, Better, Systems  Chapter, Every · 6 Treffer

Laden...

Videos werden geladen ...

Laden...

Beiträge werden geladen ...

Laden...

Videos werden geladen ...

Laden...

Beiträge werden geladen ...

Laden...

Videos werden geladen ...

Laden...

Beiträge werden geladen ...

Laden...

Videos werden geladen ...

Laden...

Beiträge werden geladen ...

Laden...

Videos werden geladen ...