<?xml version="1.0" encoding="UTF-8"?>
<CourseUnit xmlns="http://www.manchester.ac.uk/CUICourseUnitDetails" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.manchester.ac.uk/CUICourseUnitDetails.xsd">
  <UnitCode Applicant="Y" Label="Unit code" Student="Y">
    <Code>COMP34312</Code>
  </UnitCode>
  <UnitTitle Applicant="Y" Label="Unit title" Student="Y">
    <Title>Mathematical Topics in Machine Learning</Title>
  </UnitTitle>
  <MaxUnits Applicant="Y" Label="Credit rating" Student="Y">
    <Units>10</Units>
  </MaxUnits>
  <TeachingPeriods Applicant="Y" Label="Teaching period(s)" Student="Y">
    <Period>Semester 2</Period>
  </TeachingPeriods>
  <AcademicCareer Applicant="Y" Label="Academic career" Student="Y">
    <Value>Undergraduate</Value>
  </AcademicCareer>
  <UnitLevel Applicant="Y" Label="Unit level" Student="Y">
    <Level>Level 3</Level>
  </UnitLevel>
  <StaffList Applicant="Y" Label="Teaching staff" RoleLabel="Course Unit Role" Student="Y">
    <StaffMember>
      <Name>Gavin Brown</Name>
      <Role>Unit coordinator</Role>
    </StaffMember>
  </StaffList>
  <OfferedBy Applicant="Y" Label="Offered by" Student="Y">
    <OrganisationList>
      <Organisation>
        <OrgName>Department of Computer Science</OrgName>
      </Organisation>
    </OrganisationList>
    <GroupList>
      <Group>
        <GroupName></GroupName>
      </Group>
    </GroupList>
    <FheqLevels>
      <FheqLevel>
        <LevelNumber>1</LevelNumber>
        <LevelName>FHEQ level (Framework for Higher Education Qualifications) ' Last part of a Bachelors ' </LevelName>
      </FheqLevel>
    </FheqLevels>
    <Ects>
      <MaxUnits>European Credit Transfer &amp; Accumulation System Rating :   5.0</MaxUnits>
    </Ects>
  </OfferedBy>
  <MarketingOverview Applicant="Y" Label="Marketing Course unit overview" Student="">
    <Content>&lt;p&gt;Topic 1: Empirical risk minimization, regularisation; bias/variance theory and the relation to overfitting; probabilistic view: likelihood vs loss, introducing exponential families.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Topic 2: Information theory: KL-divergence vs. cross-entropy, mutual information; the view of ML as compression.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Topic 3: Optimization theory (calculus). Why GD?&amp;nbsp; What are convex and non-convex functions? How do gradients inform how we optimize a function? How can we use second order properties? How can we prove whether a method will converge?&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Topic 4: Dimensionality reduction (matrix algebra). &amp;ldquo;refine, denoise, and visualise your data&amp;rdquo;.&amp;nbsp; Data usually has limited degrees of interest, living on a low-dimensional manifold within a high-dimensional space. This topic will introduce students to matrix-algebra-intensive methods used to learn feature dimensions that can aid in your model fitting process. Examples include PCA, spectral embedding, Fisher discriminant analysis, etc. These allow visualisation, denoising and enhancing the separation of data for classification.&lt;/p&gt;</Content>
  </MarketingOverview>
  <UnitOverview Applicant="" Label="Course unit overview" Student="Y">
    <Content>&lt;p&gt;Topic 1: Empirical risk minimization, regularisation; bias/variance theory and the relation to overfitting; probabilistic view: likelihood vs loss, introducing exponential families.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Topic 2: Information theory: KL-divergence vs. cross-entropy, mutual information; the view of ML as compression.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Topic 3: Optimization theory (calculus). Why GD?&amp;nbsp; What are convex and non-convex functions? How do gradients inform how we optimize a function? How can we use second order properties? How can we prove whether a method will converge?&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Topic 4: Dimensionality reduction (matrix algebra). &amp;ldquo;refine, denoise, and visualise your data&amp;rdquo;.&amp;nbsp; Data usually has limited degrees of interest, living on a low-dimensional manifold within a high-dimensional space. This topic will introduce students to matrix-algebra-intensive methods used to learn feature dimensions that can aid in your model fitting process. Examples include PCA, spectral embedding, Fisher discriminant analysis, etc. These allow visualisation, denoising and enhancing the separation of data for classification.&lt;/p&gt;</Content>
  </UnitOverview>
  <Aims Applicant="Y" Label="Aims" Student="Y">
    <Content>&lt;p&gt;This course introduces the theoretical foundations of supervised machine learning. We aim at students who want to move beyond just using models, to understanding why they work . This will be a rigorous mathematical and conceptual treatment that may require developing your knowledge of probability theory, matrix algebra, and calculus. You'll learn how we formalize learning problems, interpret performance through the lens of probability theory, and reason about why some models generalize while others do not. We focus on foundational ideas—risk, generalization, capacity, and trade-offs—that underlie all learning systems, regardless of the algorithm used. This could be seen as preparing you to engage with modern research literature, perhaps as an enabler toward a research career, in industry or academia.&amp;nbsp;&lt;/p&gt;</Content>
  </Aims>
  <LearningOutcomes Applicant="Y" Label="Learning outcomes" Student="Y">
    <Content>&lt;p&gt;&lt;strong&gt;ILO 1:&lt;/strong&gt; Define supervised learning problems using probabilistic assumptions and notation, identifying appropriate loss functions and models for a given scenario.&lt;/p&gt;&lt;p&gt;&lt;strong&gt;ILO 2:&lt;/strong&gt; Describe how Rademacher complexity provides a framework for data-dependent generalisation bounds, and compute the bounds for learning scenarios with linear models.&lt;/p&gt;&lt;p&gt;&lt;strong&gt;ILO 3: &lt;/strong&gt;Critically assess the limitations of classical learning theory in the context of modern machine learning models (e.g., overparameterized models).&lt;/p&gt;&lt;p&gt;&lt;strong&gt;ILO 4:&lt;/strong&gt; Evaluate/critique how model combination affects generalization error, and describe learning algorithms that support this.&lt;/p&gt;&lt;p&gt;&lt;strong&gt;ILO 5:&lt;/strong&gt; Describe and analyze the behavior of gradient descent algorithms using formal mathematical properties, such as convexity and Lipschitzness.&lt;/p&gt;&lt;p&gt;&lt;strong&gt;ILO 6: &lt;/strong&gt;Derive and compare theoretical frameworks for understanding generalisation error, including: bias–variance, approximation–estimation, and PAC bounds.&lt;/p&gt;</Content>
  </LearningOutcomes>
  <Knowledge Applicant="Y" Label="Knowledge and understanding" Student="Y">
    <Content></Content>
  </Knowledge>
  <IntellectualSkills Applicant="Y" Label="Intellectual skills" Student="Y">
    <Content></Content>
  </IntellectualSkills>
  <PracticalSkills Applicant="Y" Label="Practical skills" Student="Y">
    <Content></Content>
  </PracticalSkills>
  <TransferableSkills Applicant="Y" Label="Transferable skills and personal qualities" Student="Y">
    <Content></Content>
  </TransferableSkills>
  <EmployabilitySkillsList Applicant="Y" Label="Employability skills" Student="Y">
    <Skill>
      <SkillId></SkillId>
      <SkillDescription></SkillDescription>
    </Skill>
  </EmployabilitySkillsList>
  <Syllabus Applicant="Y" Label="Syllabus" Student="Y">
    <Content>&lt;p&gt;&lt;strong&gt;Week 1 – The Foundations of Supervised Learning&amp;nbsp;&lt;/strong&gt;&lt;br&gt;This week lays the groundwork by formalizing supervised learning. We ask: what are we optimizing, over what space, and why? By the end, you will understand learning as the problem of finding a function that performs well—not just on the training data—but on the unknown probability distribution that generated it.&lt;/p&gt;&lt;p&gt;&lt;strong&gt;Week 2 – The Probabilistic View of Learning&amp;nbsp;&lt;/strong&gt;&lt;br&gt;This week shows how common loss functions arise naturally from probabilistic modeling assumptions. By deriving squared and cross-entropy losses from Gaussian and Bernoulli likelihoods, we see why these choices are principled. The connection between negative log-likelihood and KL divergence clarifies what it means for a model to “fit” the data.&lt;/p&gt;&lt;p&gt;&lt;strong&gt;Week 3 – The Problem with Learning a Model&amp;nbsp;&lt;/strong&gt;&lt;br&gt;Here the focus turns to generalization failure and overfitting. The bias–variance decomposition is derived to separate sources of error. Regularization and the double-descent phenomenon illustrate how model capacity influences performance.&lt;/p&gt;&lt;p&gt;&lt;strong&gt;Week 4 – Combining Models&amp;nbsp;&lt;/strong&gt;&lt;br&gt;We explore how ensembling multiple hypotheses can reduce variance and improve generalization. The lecture introduces Bagging, majority-vote theory, and the bias–variance–diversity decomposition. These ideas provide both a theoretical and intuitive foundation for why ensembles work.&lt;/p&gt;&lt;p&gt;&lt;strong&gt;Week 5 – Understanding the Sources of Risk&amp;nbsp;&lt;/strong&gt;&lt;br&gt;This week examines how hypothesis-class complexity drives the trade-off between approximation, estimation, and optimization error. The formal decomposition clarifies why larger models can both help and hinder generalization. Examples link these abstract ideas back to practical model families.&lt;/p&gt;&lt;p&gt;&lt;strong&gt;Week 6 – How to be Probably Approximately Correct&amp;nbsp;&lt;/strong&gt;&lt;br&gt;The course introduces Hoeffding’s inequality and PAC learning as a framework for probabilistic generalization guarantees. We learn to bound the gap between empirical and true risk. The session closes with a discussion on the realism and limits of PAC assumptions in modern ML.&lt;/p&gt;&lt;p&gt;&lt;strong&gt;Week 7 – Optimization and the Learning Algorithm&amp;nbsp;&lt;/strong&gt;&lt;br&gt;Attention shifts from theory about models to the algorithms that find them. We examine empirical risk minimization as an optimization problem and how algorithmic choices affect generalization. Gradient descent is introduced conceptually as the foundation for modern learning.&lt;/p&gt;&lt;p&gt;&lt;strong&gt;Week 8 – A Formal Introduction to Gradient Descent&amp;nbsp;&lt;/strong&gt;&lt;br&gt;This week develops the mathematical underpinnings of gradient descent. We study convergence under convexity, step-size selection, and Lipschitz continuity. The aim is to understand when and why gradient-based optimization actually finds a good solution.&lt;/p&gt;&lt;p&gt;&lt;strong&gt;Week 9 – Gradient Descent in Overparameterized Linear Regression&lt;/strong&gt;&amp;nbsp;&lt;br&gt;The analysis focuses on linear regression with more parameters than data points. We see that gradient descent implicitly selects the minimum-norm solution, introducing the idea of algorithmic bias. This provides a bridge between optimization dynamics and generalization behaviour.&lt;/p&gt;&lt;p&gt;&lt;strong&gt;Week 10 – A Measure of Capacity: Rademacher Complexity&amp;nbsp;&lt;/strong&gt;&lt;br&gt;Here we meet Rademacher complexity as a formal measure of a function class’s ability to fit random noise. They learn how this quantity bounds generalization error in data-dependent ways. The material extends PAC ideas to richer hypothesis spaces.&lt;/p&gt;&lt;p&gt;&lt;strong&gt;Week 11 – Bounding Rademacher Complexity in Practice&amp;nbsp;&lt;/strong&gt;&lt;br&gt;The final week applies the Rademacher framework to simple hypothesis classes such as linear models. Worked examples illustrate how to compute and interpret capacity bounds. The course concludes by connecting these ideas back to the central question of why learning works.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;</Content>
  </Syllabus>
  <TeachingMethods Applicant="Y" Label="Teaching and learning methods" Student="Y">
    <Content>&lt;p&gt;Unit will consist of 4 major topics, delivered in 2-week blocks before Easter.&amp;nbsp; Each topic will consist of videos to watch, and readings to cover, before the interactive sessions. The interactive sessions will act to reinforce the videos/readings.&amp;nbsp; Weekly MCQs in class will be used as formative and summative assessments.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;After Easter, a series of carefully selected classic research papers will be read week by week in groups, introducing students to the methods in how to read/interpret research results.&amp;nbsp; Presentations of the papers will consolidate the depth of understanding.&lt;/p&gt;</Content>
  </TeachingMethods>
  <AssessmentMethods Applicant="Y" Label="Assessment methods" Student="Y">
    <IntroText> </IntroText>
    <Method>
      <MethodId>0</MethodId>
      <MethodName>Other</MethodName>
      <MethodWeight>20%</MethodWeight>
    </Method>
    <Method>
      <MethodId>1</MethodId>
      <MethodName>Written exam</MethodName>
      <MethodWeight>80%</MethodWeight>
    </Method>
    <OtherDescription>&lt;p&gt;Poster Presentation&lt;/p&gt;</OtherDescription>
  </AssessmentMethods>
  <FeedbackMethods Applicant="Y" Label="Feedback methods" Student="Y">
    <Content>&lt;p&gt;Correct answers discussed the following week&lt;/p&gt;</Content>
  </FeedbackMethods>
  <RequirementsList Applicant="Y" Label="Pre/co-requisites" Student="Y">
    <Requirement>
      <UnitCode>COMP24112</UnitCode>
      <UnitTitle>Machine Learning</UnitTitle>
      <RequirementType>Pre-Requisite</RequirementType>
      <Description>Compulsory</Description>
    </Requirement>
    <AdditionalRequirement>COMP24112 is a pre-requisite.&lt;p&gt;COMP24112 is a pre-requisite.&lt;/p&gt;</AdditionalRequirement>
  </RequirementsList>
  <AcademicPrograms Applicant="Y" Label="Academic programmes" Student="Y">
    <AcademicProgram>
      <Program></Program>
      <Plan></Plan>
      <Level></Level>
      <Requirement></Requirement>
    </AcademicProgram>
  </AcademicPrograms>
  <FreeChoice Applicant="Y" Label="Available as a free choice unit?" Student="Y">
    <Content>Y</Content>
  </FreeChoice>
  <Accreditation Applicant="Y" Label="Accreditation" Student="Y">
    <Content></Content>
  </Accreditation>
  <RecommendedReading Applicant="Y" Label="Recommended reading" Student="Y">
    <Content>&lt;p&gt;Selected chapters: &lt;i&gt;Machine Learning, A Probabilistic Perspective&lt;/i&gt; by Kevin Murphy;&lt;/p&gt;&lt;p&gt;Selected chapters: &lt;i&gt;Probability in Data Science,&lt;/i&gt; by Sidney Chan&lt;/p&gt;</Content>
  </RecommendedReading>
  <StudyHours Applicant="Y" Label="Study hours" Student="Y">
    <IntroText> </IntroText>
    <ScheduledHours Applicant="Y" Label="Scheduled activity hours" Student="Y">
      <ActivityHours>
        <ActivityType>Assessment written exam</ActivityType>
        <Hours>2</Hours>
      </ActivityHours>
      <ActivityHours>
        <ActivityType>Lectures</ActivityType>
        <Hours>11</Hours>
      </ActivityHours>
      <ActivityHours>
        <ActivityType>Practical classes &amp; workshops</ActivityType>
        <Hours>11</Hours>
      </ActivityHours>
    </ScheduledHours>
    <PlacementHours Applicant="Y" Label="Placement hours" Student="Y">
      <ActivityHours>
        <ActivityType></ActivityType>
        <Hours>0</Hours>
      </ActivityHours>
    </PlacementHours>
    <TotalHours Applicant="Y" Label="Independent study hours" Student="Y">
      <Hours>76</Hours>
    </TotalHours>
  </StudyHours>
  <Notes Applicant="Y" Label="Additional notes" Student="Y">
    <Content></Content>
  </Notes>
</CourseUnit>
