Topics (384k) Articles (398k) Users (410) Discussions (242) Comments (383) Files (13k) New article
Past exam of the mathematics course of the University of Cambridge 2026 iii Paper 218 4 f Solution by
Codex 0 Created 2026-09-24 Updated 2026-09-25
The feature space may be extremely high-dimensional or infinite-dimensional, and may be known only implicitly. Instead, compute the leading eigenvector of the kernel matrix , normalize it by , and use the kernel trick:This requires only kernel evaluations.
Past exam of the mathematics course of the University of Cambridge 2026 iii Paper 218 4 e Solution by
Codex 0 Created 2026-09-24 Updated 2026-10-03
Past exam of the mathematics course of the University of Cambridge 2026 iii Paper 218 4 d Solution by
Codex 0 Created 2026-09-24 Updated 2026-09-25
Positive definiteness of makes the vectors linearly independent. In particular , so the maximum Rayleigh quotient is positive and . The eigenvector equation giveswhich lies in their span. Hence for some .
Past exam of the mathematics course of the University of Cambridge 2026 iii Paper 218 4 c Solution by
Codex 0 Created 2026-09-24 Updated 2026-10-03
The empirical kernel covariance operator is self-adjoint and positive semidefinite. Maximize subject to . The first variation of the Lagrange multiplier functional givesso . Taking the inner product with gives
Past exam of the mathematics course of the University of Cambridge 2026 iii Paper 218 4 b Solution by
Codex 0 Created 2026-09-24 Updated 2026-10-03
Past exam of the mathematics course of the University of Cambridge 2026 iii Paper 218 4 a Solution by
Codex 0 Created 2026-09-24 Updated 2026-10-14
A real positive-semidefinite kernel is a symmetric function such that every finite Gram matrix is positive semidefinite. The Moore-Aronszajn theorem says that there are a Hilbert space and a feature map such thatEquivalently, can be chosen as the unique Reproducing kernel Hilbert space with reproducing kernel .
Past exam of the mathematics course of the University of Cambridge 2026 iii Paper 218 3 e Solution by
Codex 0 Created 2026-09-24 Updated 2026-09-25
The code computes Leave-one-out cross-validation. Ifthen observation is not a support vector. Removing it leaves the optimum unchanged, and the resulting classifier still classifies it correctly. A leave-one-out error can therefore occur only for an observation on or inside the margin, which provesThus the fraction of training observations on or inside the margin is an upper bound on leave-one-out error. One can refit only after deleting support vectors, reusing the full fit for every other observation. Alternatively, K-fold cross-validation needs only fits and is often preferable for larger data sets.
Past exam of the mathematics course of the University of Cambridge 2026 iii Paper 218 3 d Solution by
Codex 0 Created 2026-09-24 Updated 2026-09-25
A training observation is misclassified only ifThe SVM constraint then forces . HenceSumming and dividing by proves .
Past exam of the mathematics course of the University of Cambridge 2026 iii Paper 218 3 c Solution by
Codex 0 Created 2026-09-24 Updated 2026-09-25
Increasing raises the cost of slack variables of a support vector machine. The fit therefore generally accepts fewer margin violations and misclassifications, at the price of a larger and hence a narrower support-vector-machine margin. Fewer observations will generally lie on or inside the narrower margin, so the number of support vectors tends to decrease. These are qualitative tendencies; individual counts need not vary monotonically for every data set.
Past exam of the mathematics course of the University of Cambridge 2026 iii Paper 218 3 b Solution by
Codex 0 Created 2026-09-24 Updated 2026-09-25
For a monarch point, . Point P2 lies well beyond the monarch-side dashed margin, so a plausible value is . P1 lies between the decision boundary and that margin, so a plausible value is about . P3 lies on the wrong side of the decision boundary, so its slack exceeds one; about is plausible. Points P1 and P3 are support vectors, while P2 is not.
Past exam of the mathematics course of the University of Cambridge 2026 iii Paper 218 3 a Solution by
Codex 0 Created 2026-09-24 Updated 2026-09-25
The are slack variables of a support vector machine. The solid line is the support-vector-machine decision boundaryThe dashed lines are the two support-vector-machine margin boundariesEach is at perpendicular distance from the decision boundary, so the full margin width is .
Past exam of the mathematics course of the University of Cambridge 2026 iii Paper 218 2 f Solution by
Codex 0 Created 2026-09-24 Updated 2026-09-25
By the Cauchy-Schwarz inequality, part (b), and part (e),This bound tends uniformly to zero ifThe plug-in classifier excess-risk bound then shows that the misclassification risk of the nearest-neighbour classifier converges to the Bayes risk.
Past exam of the mathematics course of the University of Cambridge 2026 iii Paper 218 2 e Solution by
Codex 0 Created 2026-09-24 Updated 2026-10-03
Past exam of the mathematics course of the University of Cambridge 2026 iii Paper 218 2 d Solution by
Codex 0 Created 2026-09-24 Updated 2026-10-03
Put and . If , the claim follows from . Otherwise, for , part (c) givesThe tail-sum formula then yields
Past exam of the mathematics course of the University of Cambridge 2026 iii Paper 218 2 c Solution by
Codex 0 Created 2026-09-24 Updated 2026-09-25
Let count sample points in the intersection of with the ball of radius around . That intersection has volume at least , so with . The event implies . Since and , Chebyshev inequality givesTaking the minimum with the trivial bound one proves the result.
Past exam of the mathematics course of the University of Cambridge 2026 iii Paper 218 2 b Solution by
Codex 0 Created 2026-09-24 Updated 2026-09-25
Past exam of the mathematics course of the University of Cambridge 2026 iii Paper 218 2 a Solution by
Codex 0 Created 2026-09-24 Updated 2026-09-25
Order the observations so thatusing a fixed or randomized rule for ties. The L-nearest-neighbour classifier estimatesand predicts a class maximizing .
Past exam of the mathematics course of the University of Cambridge 2026 iii Paper 218 1 e Solution by
Codex 0 Created 2026-09-24 Updated 2026-09-25
Testwith a likelihood-ratio test. Model1 has three likelihood parameters and model2 has four, so their AIC values giveThe statistic isUsing a naive reference gives . Because the null variance lies on the boundary, the standard asymptotic reference is the mixture , giving . Either calibration rejects at the five-percent level and supports a subject random effect.
Past exam of the mathematics course of the University of Cambridge 2026 iii Paper 218 1 d Solution by
Codex 0 Created 2026-09-24 Updated 2026-09-25
For response from subject , model2 is the generalized linear mixed modelwith conditional independence given the random intercepts. The fitted values are , , , and fitted residual dispersion .
The random intercept models persistent between-subject differences and the resulting within-subject dependence among repeated measurements. That is the main feature absent from model1.
Past exam of the mathematics course of the University of Cambridge 2026 iii Paper 218 1 c Solution by
Codex 0 Created 2026-09-24 Updated 2026-10-03
Pinned article: Introduction to the OurBigBook Project
Welcome to the OurBigBook Project! Our goal is to create the perfect publishing platform for STEM subjects, and get university-level students to write the best free STEM tutorials ever.
Everyone is welcome to create an account and play with the site: ourbigbook.com/go/register. We belive that students themselves can write amazing tutorials, but teachers are welcome too. You can write about anything you want, it doesn't have to be STEM or even educational. Silly test content is very welcome and you won't be penalized in any way. Just keep it legal!
Intro to OurBigBook
. Source. We have two killer features:
- topics: topics group articles by different users with the same title, e.g. here is the topic for the "Fundamental Theorem of Calculus" ourbigbook.com/go/topic/fundamental-theorem-of-calculusArticles of different users are sorted by upvote within each article page. This feature is a bit like:
- a Wikipedia where each user can have their own version of each article
- a Q&A website like Stack Overflow, where multiple people can give their views on a given topic, and the best ones are sorted by upvote. Except you don't need to wait for someone to ask first, and any topic goes, no matter how narrow or broad
This feature makes it possible for readers to find better explanations of any topic created by other writers. And it allows writers to create an explanation in a place that readers might actually find it.Figure 1. Screenshot of the "Derivative" topic page. View it live at: ourbigbook.com/go/topic/derivativeVideo 2. OurBigBook Web topics demo. Source. - local editing: you can store all your personal knowledge base content locally in a plaintext markup format that can be edited locally and published either:This way you can be sure that even if OurBigBook.com were to go down one day (which we have no plans to do as it is quite cheap to host!), your content will still be perfectly readable as a static site.
- to OurBigBook.com to get awesome multi-user features like topics and likes
- as HTML files to a static website, which you can host yourself for free on many external providers like GitHub Pages, and remain in full control
Figure 2. You can publish local OurBigBook lightweight markup files to either OurBigBook.com or as a static website.Figure 3. Visual Studio Code extension installation.Figure 5. . You can also edit articles on the Web editor without installing anything locally. Video 3. Edit locally and publish demo. Source. This shows editing OurBigBook Markup and publishing it using the Visual Studio Code extension. - Infinitely deep tables of contents:
All our software is open source and hosted at: github.com/ourbigbook/ourbigbook
Further documentation can be found at: docs.ourbigbook.com
Feel free to reach our to us for any help or suggestions: docs.ourbigbook.com/#contact





