MODULE 01 · Junior · 45 minutes

Half the “ML tasks” you are handed are solved by an if-else

Four requests from a product manager. We decide which of them genuinely need a model and which are closed by a twenty-line rule — the rule wins more often than people expect.

Open this module in the simulator All 23 lessons

This module is free — it only needs an account, no card.

🏢 The situation

Monday, 9:30 am. You are the new Junior ML Engineer at Datacore — a marketplace with 2M active users and its own fintech product (installment payments and a wallet).

You are greeted by Lena, the ML team lead:

"Welcome! Our team is me, senior data scientist Igor, data engineer Anya, and now you. We build models that actually move money: product recommendations, anti-fraud, demand forecasting, installment scoring. No code today — figure out how an ML project works here. On Wednesday there's a sync with Max, the product manager. He loves asking newcomers how ML differs from 'just writing if-else'. Be ready."

🎯 Your task

  1. Understand what machine learning is and when it is needed — and when it isn't.
  2. Learn the lifecycle of an ML project.
  3. Understand team roles: who is responsible for what.

📚 Theory

What machine learning is

Arthur Samuel's classic definition (1959): machine learning is the field that gives computers the ability to learn without being explicitly programmed.

A practical definition for the sync with Max:

ML is needed when there are too many rules, they are non-obvious, or they constantly change. You cannot tell a cat from a dog in a photo with if-else — but a model learns it from 100,000 labeled photos.

When ML is a bad idea

Juniors often want to "add ML" everywhere. Experienced engineers first ask:

Question If the answer is "no" — you don't need ML
Is there data (a lot, and relevant)? Without data there is nothing to train on
Are the rules hard to write by hand? 3 clear rules → write if-else
Are errors acceptable? ML always errs in some % of cases
Can quality be measured? Without a metric you can't tell if the model works

Types of ML tasks

  1. Supervised learning: there are examples of "input → correct answer".
    • Regression — predict a number (delivery cost, demand).
    • Classification — predict a class (customer will churn / stay, fraud / not fraud).
  2. Unsupervised learning: no answers; we look for structure in the data (customer clustering, anomaly detection).
  3. Reinforcement learning: an agent learns through rewards (feed recommendations, robotics).

At Datacore, 90% of tasks are supervised. That's how it is in almost every business.

The ML project lifecycle

Andrew Ng describes the cycle in his Machine Learning Specialization, and in real teams it looks the same:

Businessproblem MLframing Data(60–80% of time) Model(baseline!) Evaluation(offline + A/B) Deploy +monitoring data drifts → the model degrades → the cycle starts again The ML project lifecycle
A project is a cycle, not a line: after deployment, monitoring brings the team back to the data and the model.

Important truths from practice:

Team roles

Role What they do At Datacore
Data Engineer data pipelines, storage, data quality Anya
Data Scientist research, hypotheses, models, metrics Igor
ML Engineer models + production: services, deployment, monitoring you
Product Manager business problem, priorities, user value Max
Team Lead solution architecture, reviews, team growth Lena

The boundaries are blurry: in small teams the ML engineer does everything from EDA to deployment. That's exactly why this simulator takes you through the whole cycle.


What to remember

Lena at the stand-up:

"Good start. Remember the main thing: we don't 'build models', we solve business problems, and a model is just one of the tools. Tomorrow Anya will give you access to the sales data — your first real task."

Module checklist:

  • I understand the difference between regular code and ML
  • I know the 3 types of ML tasks and how regression differs from classification
  • I can draw the ML project lifecycle
  • I know who is who in an ML team

Next in this module: Practice

A step-by-step walkthrough of the solution, the code and a five-question quiz.

Open the module →

Nearby lessons

02 First task: exploratory data analysis

The whole program — 23 lessons