Is machine learning hard?
Last updated: 2026-11-24
Machine learning is hard at first for most people, because it stands on three things at once: some math, some code, and a way of judging whether a result is any good. When one of the three is thin, the other two feel harder than they are. That is a gap in what you have met so far, not a fault in you. A ten minute check on this page shows which prerequisite is missing, and the order below shows what to learn next.
Start learning No account needed
An honest answer: what makes it hard
How hard it is depends on how far you go. Training a model on a table of data with a library asks for basic Python and a little algebra. Understanding why a model works, or why it fails on new data, asks for basic probability, and later for linear algebra and calculus. Many courses start at the first level and move into the second, and people who were comfortable with the code find the math arrives all at once.
Judging results is the part that surprises people. A model can score well on the data it learned from and badly on data it has not seen, so a score means little until you check it on held out data and can say what the number does and does not tell you.
The ten minute check
You need a pencil, blank paper and a code editor with Python installed. Close your notes. Go through the three parts below and write down the first place you stall in each.
- Algebra and functions (about three minutes). Write y = 3x + 2 and fill in a table for x = 0, 1 and 2. Say what the 3 and the 2 each do to the line, then say how you would find them if you only had the table. If you cannot read the formula as a rule that turns an input into an output, or cannot say what a slope is, that is gap A.
- Basic probability (about three minutes). Without notes, find the chance of two heads in two fair coin flips, say what the mean and the spread of a list of numbers each tell you, and say what a probability of 0.2 would look like over many trials. If you can only recall formulas, or cannot do one of the three, that is gap B.
- Python (about four minutes). Without searching, write a loop that adds up a list of numbers and prints the mean. Then break it on purpose and read the error message to say what it points at. If you cannot write the loop, or the error message gives you nothing to go on, that is gap C.
You may find more than one. Start with the one where you stalled earliest, because it is usually the one that holds up the others.
What to do for each gap
Gap A: algebra and functions
Treat a function as a machine until a formula reads as a rule. Plot a few points by hand, change one number, and watch what moves. Fitting a line to data, an early step in machine learning, is this same idea with the numbers unknown, so it is worth being sure of it first. How to study for a math exam covers practice with mixed problems.
Gap B: basic probability
Learn it through small experiments you can run. Flip, roll or simulate a few hundred trials, then compare the counts with what you worked out by hand. Learn statistics on your own lays out an order for the statistics you need.
Gap C: Python
Write short programs that handle a list of numbers: add them up, take the mean, filter, sort. Read each error message before you search for it. When a loop over data feels routine, add a data library. If an error will not move, how to get unstuck gives you a next move.
An order to learn in
- Fill the gap the check found, one prerequisite at a time.
- Fit one simple model by hand: a line through a handful of points, with the error written out.
- Do the same with a library and check that it agrees with your hand result.
- Split your data, train on one part, and judge the model on the part it has not seen.
- Add one new model at a time, and say what it can do that the last one cannot.
- When you want to know how a neural network learns, read understand backpropagation.
We found no study of this exact order, so treat it as our suggestion, not a finding.
How to tell you understood a model, not just ran it
Running a model and getting a number is not the same as understanding it. Try these without the code in front of you:
- Before you run it, write what you expect the output to look like.
- Change one setting, predict the effect, then run it and compare.
- Say what each input and output means in the units of your data.
- Find a case where the model is wrong and say why.
- Rebuild the result by hand on five rows of data.
- Explain the score on held out data and what it does not tell you.
If you stall on one, that is where to go back. How to test yourself covers how to check what you can do alone.
How Professor Turing helps
Professor Turing is a tutor for adults learning any subject, in college or on their own. It asks you questions instead of giving the final answer, does not grade a bare guess, and remembers what you got wrong. No account is needed to start.
Bring the step where you stalled in the check, or a model you ran and want to understand. Its first reply asks what you already know before it teaches anything. If you answer with a bare guess, it asks how you got there instead of saying right or wrong, and when you stay stuck it changes its approach and makes the next step smaller instead of giving the final answer. Later in a session it can offer a short test without help, scored apart from the tutoring, so you can tell what you can do alone from what the tutor carried you through.
It does not choose a course for you or fill in a study plan. You must be 18 or older, and conversations are deleted after 7 days.
FAQ
Is machine learning hard to learn? For most people it is hard at first, because it stands on some math, some code and a way of judging results at the same time. The ten minute check on this page shows which prerequisite you are missing.
Do I need math to learn machine learning? Some. Algebra and functions and basic probability come first, and linear algebra and calculus matter when you want to know why training works. The check on this page shows which you need to work on.
Can I teach myself machine learning? Yes. Run the ten minute check, fill the gap it finds, then follow the order on this page and test yourself on each model. We found no study of this exact order, so it is our suggestion.
Start with what you're working on
Tell the tutor which step or model you are working on and where it stopped, and let it ask you the questions.
Start learning No account needed
See also: all study guides