Open workspace
Practical guide

What is machine learning? Learning a rule from examples

Machine learning is an approach to building software in which a model learns patterns from data so it can make predictions or decisions on new examples.

No ranking, interview or hiring outcome is guaranteed.

A concrete example

Suppose you want to estimate a home's price. Ordinary programming could encode hand-written rules for size, location and age. A machine-learning system instead fits a model to past homes whose prices are known, then evaluates how well that learned relationship works on homes it did not train on.

The learned model is not a database of perfect answers. Its behavior depends on the data, target, assumptions and evaluation design.

The basic workflow

  1. Frame

    Define the input, desired output, decision and cost of mistakes.

  2. Collect and inspect

    Understand where data came from and what it leaves out.

  3. Split and baseline

    Reserve evaluation data and establish a simple comparison.

  4. Train

    Fit model parameters on the training examples.

  5. Evaluate and investigate

    Use appropriate metrics, inspect errors and check whether results generalize.

  6. Monitor

    After deployment, watch inputs, outcomes and changing conditions.

Three broad kinds

  • Supervised learningLearn from examples with known target values, such as prices or labels.
  • Unsupervised learningFind useful structure without a supplied target, such as clusters or lower-dimensional representations.
  • Reinforcement learningLearn actions through feedback from interaction with an environment.

Keep the claim in proportion

  • A keyword match or AI fit assessment is guidance, not an employer ATS score or a prediction of being hired.
  • Course and tool availability is described as it exists today; planned material is labelled rather than presented as published.
  • Job applications happen on the employer's site, under your control.

Questions

Is machine learning the same as AI?

Machine learning is one approach within the broader field of AI.

Do I need advanced maths to start?

No. Begin with Python, data and basic algebra, then learn statistics and calculus alongside the models that use them.

Related reading

What is AI?Machine learning courseML engineer roadmap

Learn it in order, with the practice attached

SchoolWhool's five tracks run from Python to machine learning. Open lessons, their key terms and quiz questions need no account; a free account adds quiz answers and saves your progress.