UNSW Sydney · FACULTY OF COMPUTER SCIENCE

INFS3822 Chap.2 Learning Paradigms and ML Tasks

- one subject, every graph, every model, every mark
7 Chapters3-page Bible
Our own words - no uploaded lecturer files
Updated for this semester
Chapter 2 of 10 · INFS3822

Learning Paradigms and ML Tasks

Learning paradigms differ by the feedback supplied during training. Labelled examples support supervised prediction, unlabelled examples support pattern discovery, mixed labels support semi-supervised learning, and rewards support reinforcement learning.

The chapter then routes output shapes to regression, classification, ranking, clustering, anomaly detection, recommendation and generation so that method selection begins with evidence rather than software.

In this chapter

What this chapter covers

  • 01

    Supervised learning from labels

  • 02

    Unsupervised pattern discovery

  • 03

    Semi-supervised pseudo-labelling

  • 04

    Reinforcement learning from rewards

  • 05

    Regression and classification outputs

  • 06

    Ranking, clustering and anomaly detection

  • 07

    Recommendation and generative tasks

Worked example · free

Route three business goals to task families

Q [3 marks]. A service predicts monthly spend, discovers user profiles and orders retention offers. Name each task. (3 AskSia practice marks) The points shown for this drill are not a published university marking scheme.
The top row separates labelled prediction from unlabelled pattern discovery.The top row separates labelled prediction from unlabelled pattern discovery. The lower row changes the form of feedback: partial labels guide semi-supervised learning, while rewards guide actions in reinforcement learning. Supervisedlabelled examplespredict a target Unsupervisedunlabelled examplesfind structure Semi-supervisedfew labels + many inputsextend confident labels Reinforcementstate + action + rewardlearn a policy Answer known?Feedback form
The top row separates labelled prediction from unlabelled pattern discovery. The lower row changes the form of feedback: partial labels guide semi-supervised learning, while rewards guide actions in reinforcement learning.
  • +1Monthly spend is a continuous numeric target, so frame it as regression.
  • +1Profiles have no supplied correct label, so begin with unsupervised clustering and validate the groups.
  • +1Ordering offers is a ranking or recommendation task because the desired output is an ordered set of choices.
Use regression for spend, clustering for natural profiles, and ranking or recommendation for offer order.
Sia tip — Name the training feedback first and the required output second; the candidate task should follow from both.
Glossary

Key terms

Labelled data
Examples paired with known target outcomes for supervised learning.
Unlabelled data
Observations without supplied target outcomes, used to discover structure.
Semi-supervised learning
Learning from a small labelled set and a larger unlabelled set.
Reinforcement learning
Learning a policy from states, actions and rewards over sequential interactions.
FAQ

Learning Paradigms and ML Tasks FAQ

How do I distinguish supervised and unsupervised learning?

Ask whether every training example has a known target. If it does, the model can learn supervised prediction. If it does not, clustering, anomaly detection or representation learning can discover structure, but a person still must interpret whether that structure supports the business decision.

Is clustering a form of classification?

Not initially. Classification learns from known class labels, while clustering creates groups from similarity in unlabelled evidence. Analysts may later name or validate clusters, and reviewed cluster assignments might become labels for a later classifier, but the original task remains unsupervised.

When is reinforcement learning appropriate?

Consider it when actions change later states and success depends on cumulative reward across a sequence. A one-step choice from historical labelled examples may be handled by classification, uplift modelling or ranking. Reinforcement learning also requires careful treatment of exploration and delayed consequences.

Can one dataset support several task families?

Yes, because the intended output and available feedback define the task. The same customer records might support numeric spend prediction, a high-spend class, a ranked contact list or unlabelled profiles. Each version needs its own target or similarity definition, evaluation method and action. State those differences rather than assuming the dataset has one natural algorithm.

Study strategy

Assessment move

Build a two-column drill. In the first column write the available feedback: target labels, no labels, partial labels or sequential rewards. In the second write the required output: number, category, order, group, anomaly or next item. Practise explaining why a plausible alternative task would answer a different question. Add a third column for evaluation.

Numeric prediction suggests errors in target units, category prediction suggests a confusion matrix and class-specific measures, ranking suggests order-sensitive measures, and clustering requires stability plus external interpretation rather than labelled accuracy by default. Route at least ten one-sentence business goals through all three columns.

Use near-misses to sharpen the boundary: predicting spend is regression, predicting whether spend exceeds a threshold is classification, ordering customers by expected spend is ranking, and discovering groups without a target is clustering. The same records can support different tasks because the intended output changes the question. For paradigms, ask what feedback exists during learning.

Labels for every example support supervised learning; no supplied targets support unsupervised structure finding; a small labelled set combined with many unlabelled cases can motivate semi-supervised learning; states, actions and delayed rewards define reinforcement learning. Do not route by the name of an algorithm alone.

A neural network can support several task families, and clustering is not synonymous with every unsupervised representation method. After each route, state the row or decision unit, the time at which input becomes available and the action that consumes the result. This prevents a technically valid task from answering an unusable question. Practise explaining why an alternative is wrong without calling it inferior.

For example, clustering customers may reveal profiles but cannot directly estimate a labelled churn probability; classification can estimate that probability but does not discover every useful unlabelled structure. End with one mixed case containing a forecast, a segment and a recommended next item.

Separate it into distinct analytical tasks, identify what evidence each needs and describe how their outputs could be combined without pretending they are the same model.

Working through Learning Paradigms and ML Tasks in INFS3822? Sia is AskSia’s AI Computer Science tutor — ask any INFS3822 Learning Paradigms and ML Tasks question and get a clear, step-by-step explanation grounded in how INFS3822 is taught and assessed. Read this chapter free, then take your hardest questions to Sia.

A+Everything unlocked
Unlocks this Bible + all 103 of your UNSW Sydney subjects - and 1,000+ Bibles across every Australian university.
Sia - your INFS3822 tutor, unlimited, worked the way the exam marks it
The full 3-page Bible + practice bank with worked solutions
Chrome extension - sync your LMS so Sia knows your deadlines
Bilingual EN / Chinese on every Bible and every Sia answer
$0.99 Trial
30-day money-back · cancel in one tap · how it works
INFS3822 · Artificial Intelligence for Business Analytics - independent study guide on the AskSia Library. More UNSW Sydney subjects · Microeconomics across all universities