Skip to content
Curriculum

Supervised and unsupervised learning

The two ways machines learn from data: with answers, and without them.

5 units22 bitesAbout 66 min

What this course covers

The foundations of machine learning, without the hype. You learn to tell problems that come with labels (supervised: regression and classification) from problems that look for structure (unsupervised: clustering and dimensionality reduction). You will see how a model is trained and tested honestly, spot overfitting, and read a confusion matrix, precision and recall. Examples come from working life in Indonesia: bank loans, ride-hailing, online shops and telcos. Every bite takes about three minutes and has questions that check you understood.

New to AI? Start with AI & data fundamentals.

Part of the career paths:Data scientist

What you will be able to do

  • Decide whether a business problem suits supervised or unsupervised learning
  • Tell regression from classification and read a simple model
  • Train and test a model honestly, and recognise overfitting
  • Judge a clustering by how useful it is for decisions

Units and bites

  1. Unit 15 bitesAbout 15 min

    Machine learning basics

    Supervised and unsupervised learning: labels, regression vs classification, train and test, overfitting and clustering.

    1. Supervised vs unsupervised learning

      Learning from examples that come with answers, or finding structure without them.

      3 min
    2. Regression and classification

      The two forms of supervised learning: predicting a number or predicting a label.

      3 min
    3. How a model learns: train and test

      A model learns from part of the data and is tested on a part it has never seen.

      3 min
    4. Overfitting

      The model that memorises its training data and trips on new data.

      3 min
    5. Clustering: finding groups without labels

      Unsupervised learning in practice: grouping similar customers, then naming the groups.

      3 min
  2. Unit 25 bitesAbout 15 min

    Model evaluation

    Honest data splits, the confusion matrix, precision and recall, and explaining them to the business.

    1. Train–test and time splits

      When a random split is fine, and when data must be cut by time.

      3 min
    2. The confusion matrix

      Four boxes that explain every kind of right and wrong.

      3 min
    3. Precision and recall

      How often a flag is right, and how many cases get caught.

      3 min
    4. Cross-validation

      Scoring a model several times so one lucky split does not fool you.

      3 min
    5. Explaining a model to the business

      From metric numbers to decision language: how many people, how many rupiah, how much risk.

      3 min
  3. Unit 35 bitesAbout 15 min

    Common supervised models

    Linear regression, logistic regression and decision trees — when to use which, and the features that make them useful.

    1. Linear regression in practice

      Reading coefficients and residuals, and when a straight line is enough.

      3 min
    2. Logistic regression

      The first classification model worth trying: probabilities, thresholds and coefficients you can explain.

      3 min
    3. Decision trees and ensembles

      One tree is easy to read; hundreds of trees are more accurate.

      3 min
    4. Features that matter

      Recency, frequency, monetary, and calendar features such as Ramadan and payday.

      3 min
    5. Choosing a first model

      Start from a simple baseline, and move up only when the test score improves.

      3 min
  4. Unit 44 bitesAbout 12 min

    Clustering in practice

    K-means step by step, scaling columns, choosing k and reading the result.

    1. K-means step by step

      Place centres, assign points, move the centres, repeat until nothing changes.

      3 min
    2. Scaling before clustering

      Why a rupiah column can drown out a frequency column, and how to even them out.

      3 min
    3. Choosing k

      The elbow method, the silhouette score, and the business question that matters more than both.

      3 min
    4. Reading clusters

      From group numbers to profiles you can explain and name.

      3 min
  5. Unit 53 bitesAbout 9 min

    Dimensionality reduction

    Summarising dozens of columns into a few without losing what matters.

    1. Too many columns

      Why columns that resemble each other confuse models and are hard to plot.

      3 min
    2. PCA, plainly

      Finding the directions with the most spread, and reading explained variance.

      3 min
    3. Seeing high-dimensional data

      Projecting data into two dimensions to look at it — and what the projection loses.

      3 min

Questions about this course

Learning

How long does Supervised and unsupervised learning take?

About 66 minutes in all: 5 units made of 22 bites of about three minutes each, and every bite ends with a quick check. You can do one bite a day or several in a row.

Do I need to know how to code?

Not to start. The foundations explain every idea in plain words first; where a course uses SQL or Python, it teaches it from the beginning, with a playground in the lesson.

Where should I start?

If you are new to AI, begin with AI & data fundamentals. If you know the job you want, follow its career path; Supervised and unsupervised learning has a place in it.

When can I start learning?

Datamew is coming to iOS and Android soon. There is no release date or price announced yet: join the waitlist and we will tell you when the app is out.

Is it available in Bahasa Indonesia?

Yes. Datamew is written in English and Bahasa Indonesia.

Help Center

More courses

Curriculum

Read while you wait

Guides from the Datamew team, free on the web today.

Waitlist

Be first on the app

Leave your email and we will tell you the day Datamew lands on your phone. One email at launch, no spam.