Open workspace
All stories
AI learning

How to learn AI from scratch: a practical beginner's plan

Start learning AI with a clear sequence: Python, data, machine learning, model evaluation and a small generative AI project, with checkpoints along the way.

To learn AI from scratch, first choose what you want to build. For machine learning engineering, begin with Python and data, then learn how models are trained and evaluated. For AI-powered applications, add language-model APIs and evaluation after you can build a basic software application. You can explore both without committing to a job title immediately.

This is a suggested learning sequence, not a promise of employment or a fixed completion time. Move on when you can complete each checkpoint independently.

Choose a starting point

Your starting pointFirst taskEvidence you are ready to continue
New to programmingLearn Python functions, lists, dictionaries and reading filesWrite a script that cleans a small CSV
Comfortable with software developmentBuild a data pipeline and a simple prediction baselineExplain how you separated training and evaluation data
Comfortable with statisticsPractise packaging Python code and using GitAnother person can run your experiment from the README
Interested in using AI at workChoose one low-risk task and define a review checklistCompare the output with a human-checked example

If you are choosing between roles, read the AI engineer and ML engineer comparison. Using an AI assistant is useful practice, but it does not by itself demonstrate that you can train or deploy a model.

Learn Python through one small dataset

Choose a public dataset with a clear licence and a question you understand. Load it, inspect missing values, remove duplicates where appropriate, and make a chart. Keep a note of every decision. Try writing the transformation yourself before asking an AI assistant to explain an error.

Your checkpoint is a script someone else can run, plus a short explanation of what the data does and does not represent. Do not start by collecting a long list of frameworks.

Learn the maths alongside the models

Start with vectors and matrices, averages and distributions, and the idea of a derivative. Connect each concept to a task: a vector represents features; probability helps describe uncertainty; a gradient tells an optimisation algorithm which direction to move.

SchoolWhool's free machine learning course has published lessons you can watch without an account. Check the course outline for availability: planned lessons are labelled, and the other AI course tracks are previews while being recorded.

Train a baseline and evaluate it honestly

For a first prediction task, compare a simple model against a basic reference such as always predicting the most common class. Decide how to divide the data before training. Keep the final test set separate from choices about models and settings. Google's guide to dividing datasets explains the distinct roles of training, validation and test data.

Watch for leakage: fitting preprocessing on all the data can let information from evaluation examples influence training. Fit learned transformations on the training split. A pipeline helps keep those steps together; see scikit-learn's common pitfalls.

Your checkpoint is an explanation of the baseline, evaluation method and several mistakes the model makes. A score without that context is not enough.

Try a small generative AI application

Choose a bounded task, such as answering questions about a set of public documents. Write example questions and expected evidence before experimenting. Include a question the documents cannot answer. Check whether the system admits that limitation, cites the right passage, and stays useful when the wording changes.

Record cost, response time and failure cases alongside answer quality. Begin with a simple workflow; add tools or multiple steps only when you can explain the benefit. Do not give an experimental system permission to send messages or change important records.

Turn learning into evidence

Publish a README describing your question, data permissions, setup, evaluation and limitations. Include the decisions you made yourself. The machine learning portfolio project guide gives three concrete project briefs and a review checklist.

Then compare your evidence with actual entry-level AI job requirements. Treat gaps as learning tasks, not keywords to add to a résumé. For a longer engineering path, use the machine learning engineer roadmap.

Do I need a degree or expensive hardware?

Admission and hiring requirements depend on the course or employer. Read each role's requirements rather than assuming all AI work has the same degree requirement. You can practise Python, data analysis and small classical models on modest hardware; larger experiments may require additional resources. Define the experiment before paying for compute.

How do I know I am making progress?

You are making progress when you can reproduce your result, explain a failure, and change one part of the system for a reason. Keep a learning log with the question you answered, evidence you produced and next uncertainty to test. That is more informative than counting tutorials watched.

Your next chapter starts with you.Make your next move