Machine Learning Styles (Supervised vs Unsupervised)

Context: FIT1043_MOC, FIT2086_MOC Β· how Machine Learning algorithms learn Β· split by whether the data is labelled Β· supervised builds predictive models Β· FIT2086 W11 unsupervised toolkit βž” k-means Clustering, Mixture Models (EM Algorithm), Missing Data Imputation and Recommender Systems

Quick Revision

  • 🎯 Objective: classify an algorithm by its data βž” supervised (labelled β†’ predict from , model ) vs unsupervised (unlabelled β†’ find structure, often by modelling ).
  • πŸ“¦ Core Components: supervised β†’ classification + regression | unsupervised β†’ clustering + association (+ FIT2086: imputation, recommender systems).
  • ⚑ Key Constraint: the deciding question is simply β€œis the data labelled?” β€” that alone picks the style and the task family.

πŸ“ How It Works

1. Supervised

  • Setup βž” all data labelled; learn to predict output from input by approximating the mapping well enough to predict for new .
  • Tasks βž” classification (output a category, e.g. Red/Blue fish) Β· regression (output a real value, e.g. dollars/weight).
  • Algorithms βž” linear regression (regression); random forest (both); SVM (classification).

2. Unsupervised

  • Setup βž” all data unlabelled; learn the inherent structure / distribution of the input to learn more about it.
  • Tasks βž” clustering (discover natural groupings, e.g. customers by purchasing behaviour) Β· association (rules describing large parts of the data, e.g. buy X β‡’ also buy Y).
  • Algorithms βž” k-means (clustering); Apriori (association-rule learning).

3. The Probabilistic View (FIT2086)

  • Data matrix βž” items Γ— attributes, with a point in -dimensional space; no attribute is nominated as the target.
  • Supervised βž” target and explanatory βž” find the conditional with a chosen model form (linear regression, tree, …).
  • Unsupervised βž” only βž” discover structure in their distribution, some methods by modelling the joint ; the fitted model’s details reveal the structure.
  • Uses βž” taxonomy (species of animals) Β· filling missing entries: imputation before supervised learning, recommender systems Β· image processing: noise removal, compression, analysis and recognition.
  • Clustering setting βž” represent the data with groups, possibly latent sub-populations, with no class information βž” aim: discover and characterise each cluster βž” β€œintrinsic classification”: class labels learned from the data.

βš–οΈ Core Decision Matrix

StyleDataTasksExample algorithms
Supervisedlabelledclassification, regressionlinear regression, random forest, SVM
Unsupervisedunlabelledclustering, association, imputationk-means, mixture models, Apriori, kNN imputation

When It Flips: supervised = "learn a mapping to a known answer"; unsupervised = "learn the structure with no answer key" β€” classification/regression need labels, clustering/association do not.

🧠 Active Recall