Autonomic emotion classification 2026-10-24
Statistical classification of emotion categories using measurements of the autonomic nervous system. It requires an independently justified target label, appropriate cross-validation, and evaluation in the population and context where the classifier will be used. Predictive success does not imply that every instance of a category has one invariant physiological pattern.
Fix a true-positive probability and false-positive probability . The positive predictive value at base rate is . Differentiation gives , while as . Thus a classifier can retain the same conditional performance yet become unreliable among its positive classifications when the target emotion is rare. This is a mathematical implication of the specified binary model, not an empirical performance estimate.
Conditional misclassification risk 2026-10-05
For a random classifier determined by training information , and an independent test pair , its conditional misclassification risk is . It is itself a training-dependent random variable. The tower property of conditional expectation gives .
Empirical misclassification risk Created 2026-09-29 Updated 2026-10-05
On labelled examples , the empirical misclassification risk isAn empirical risk minimizer chooses a classifier attaining the smallest value over its hypothesis class.
Let be independent balanced variables with values , and let with and class . Then and . The first principal component is the first coordinate and explains of total variance. Yet it is independent of , so even the best classifier using only that coordinate has accuracy . The second coordinate determines exactly. Taking arbitrarily large makes the retained variance approach one without improving class accuracy. Adding a constant baseline to each coordinate preserves the centered result and permits positive neural rates.
Kernel trick Created 2026-09-24 Updated 2026-10-14
The kernel trick evaluates inner products of feature map outputs through without explicitly constructing those vectors. An algorithm expressed entirely through these inner products can therefore operate on nonlinear derived coordinates using only evaluations of a positive-semidefinite kernel on the original inputs. A classifier linear in the derived coordinates can have a nonlinear boundary in the original coordinates.
The polynomial kernel gives a finite, fully visible example: corresponds to . The XOR separation by a product feature below makes the interaction coordinate useful, while dual prediction with a kernel shows how to predict without calculating it explicitly.
An arbitrary score called a similarity need not be a positive-semidefinite kernel. Symmetry alone, even with nonnegative entries, is insufficient: the symmetric matrixhas for , so it cannot be a Gram matrix of real inner products. A positive-semidefinite kernel requires a positive semidefinite matrix for every finite choice of inputs, not just the observed training data.[ref]
Gaussian Processes for Machine Learning by Carl Edward Rasmussen and Christopher K. I. Williams. Section 4.1, p. 80: Gram matrices, quadratic-form definition of positive semidefiniteness, and nonnegative eigenvalues
The existing Moore-Aronszajn theorem connects this requirement to a Reproducing kernel Hilbert space; this example needs only finite linear algebra. Misclassification loss Created 2026-09-29 Updated 2026-10-03
For a classifier and a labelled example , the misclassification loss isIt is also called zero-one loss because it is zero for a correct prediction and one for an incorrect prediction.
Misclassification risk 2026-09-29
One-nearest-neighbour classifier Created 2026-10-05 Updated 2026-10-14
The classifier that assigns the query the label of its closest training feature, using feature-measurable nearest-neighbour tie-breaking. Its misclassification risk need not converge to Bayes risk, even with infinitely many independent and identically distributed random variables as training data.
The hypothesis class shatters a set when it realizes every binary labelling of : for every function there is an with . Identifying each classifier with its positive set, this sayswhere is the power set. Different labellings may require different members of the hypothesis class.
Fix an -point set . The restriction of an intersection to is determined by the ordered pair of restrictions . Some pairs can yield the same intersection, so the growth function of a hypothesis class satisfiesAssume first that . If points were shattered by , the Sauer-Shelah lemma would implyBut , so . Raising this strict inequality to the positive integer power gives a contradiction. No -point set can therefore be shattered; neither can any larger set, since shattering passes to subsets. ConsequentlyThe printed strict inequality needs . For example, on a nonempty domain let contain only the identically zero classifier. Then , whereas the stated conclusion would require . More generally, a nonempty hypothesis class of VC dimension zero has only one distinct labelling function, since two different functions would shatter a point on which they differ. Its self-intersection class also has VC dimension zero.
Take labels and fix the standard normalization in which the squared weight penalty has coefficient . The squared-slack support vector machine, a form of soft-margin support vector machine, has primal problemThe slack variables of a support vector machine permit margin violations. Penalizing favors a wide support-vector-machine margin, while sets the cost of the violations. The intercept is unpenalized, and the resulting classifier is , with a fixed choice at zero. The square on is essential to the Lagrangian dual problem below.
Write , , and . Correctly classified observations have and total -weight ; incorrectly classified observations have and total weight . The normalizing constant in the AdaBoost update is thereforeFor , the definition of givesIf observation is correct, its multiplier in the normalized update isif it is incorrect, the multiplier isThe corresponding denominators are exactly : they are when and when . ConsequentlyAs a check, the new total mass on correctly classified observations is , and the mass on incorrectly classified observations is . The update thus produces a probability distribution and assigns the two groups equal aggregate mass. When , and every individual weight is unchanged.
The displayed finite update assumes . The usual weak learner guarantees , but it can return a perfect classifier with ; then the logarithm is infinite and the normalized exponential formula is not defined. AdaBoost stops on that perfect hypothesis rather than executing this update. Similarly, the printed formula is not an ordinary finite update at .
Autonomic recordings can support probabilistic discrimination of emotional states under specified conditions; they do not establish a person's experienced emotion with certainty. The distinction matters because a physiological response, an experimenter's induction label and a subjective feeling are different things. A useful psychophysiology study must justify how its labels relate to experience before assessing how well a bodily measure predicts them.
The autonomic nervous system regulates organs and glands through interacting pathways, including the sympathetic nervous system and parasympathetic nervous system. An electrocardiogram supplies cardiac timing and hence heart rate; heart rate variability describes variation in successive intervals. Electrodermal activity can be recorded with skin electrodes, while a temperature sensor supplies peripheral temperature. Breathing and blood-pressure measurements add other information. These measurements differ in what generates them and in their temporal response. In particular, sweat-related skin conductance provides information about sympathetic sudomotor activity, whereas a faster heart rate can reflect several autonomic influences and physical demands. Facial electromyography is useful complementary evidence, but records skeletal muscle activity through the somatic nervous system; it should not be counted as another autonomic channel.
Historically, the question was not simply whether the body changes during emotion, but whether bodily patterns distinguish categories. Paul Ekman and colleagues in 1983 used muscle-by-muscle facial instructions and reliving of past episodes. They reported autonomic differentiation among some negative states as well as between positive and negative states. This challenges the claim that autonomic activity is entirely undifferentiated. It does not show that the same pattern is a necessary and sufficient marker in every spontaneous episode: posing, recollection and the selection of categories constrain the result.[ref]
Autonomic nervous system activity distinguishes among emotions by Paul Ekman and others. 1983, pp. 1208–1210, induction procedures and autonomic differentiation
Joint patterns can carry information that a single measure misses. Philip A. Kragel and colleagues combined electrodermal, cardiac, respiratory and gastric measures during film- and music-induced states. Their 2013 study reported 58.0% autonomic classification accuracy across six induced categories and a neutral condition, with training and testing on separate participant subsets, above its chance benchmark. This supports multivariate information about the tested states. It does not establish invariant bodily essences: a classifier can exploit overlapping distributions whose average patterns differ.[ref]
Multivariate pattern classification reveals autonomic and experiential representations of discrete emotions by Philip A. Kragel and others. 2013, abstract and methods, classification of induced states
Conversely, Erika H. Siegel and colleagues' 2018 synthesis found substantial within-category variation, and mean autonomic patterns that did not clearly separate the categories. Its laboratory adult samples do not exhaust every possible real-world measurement. Nevertheless, a universal fingerprint claim should generalize across episodes, and the observed variation is a substantial problem for that strong claim. Failure to establish a fingerprint does not imply that physiology contains zero predictive information; distributions can overlap without being identical.[ref]
Emotion fingerprints or emotion populations by Erika H. Siegel and others. 2018, abstract and Discussion, autonomic variation within and between categories
Several alternative explanations must therefore be tested. A film may make participants breathe differently because of its pacing; imagined confrontation may prepare action; an emotional task may differ from a neutral task in movement or attention. Exercise, room temperature, medication and individual baselines can change the recorded variables without a change in discrete emotional category. A classifier that recognizes the stimulus or task is not necessarily recognizing the feeling. Splitting trials while retaining the same people and clips in training and test sets can also overstate generalization. Appropriate cross-validation should hold out the people or inductions required by the intended claim, with preprocessing and feature selection fitted only to training data. Mixed feelings and changing episodes should be allowed rather than forced into one mutually exclusive label.
Even genuine conditional discrimination does not determine the reliability of a particular classification. Let denote one independently defined target state and a positive classifier result. Partitioning the positive results into target and nontarget cases and applying Bayes' theorem givesFor an explicitly hypothetical classifier with true-positive probability and false-positive probability , a target base rate of produces . At a base rate of , the same conditional performance produces . The positive predictive value therefore depends on the setting as well as the instrument. This calculation illustrates a limit on inference; it is not an estimate from either study.
The strongest conclusion combines measures while respecting their different roles. Repeated self-report helps establish experienced feeling, independently coded behavior establishes action, and autonomic recording establishes bodily regulation. None is error-free, and agreement must be demonstrated. Psychophysiologists can estimate how much an autonomic pattern changes the probability of a reported or independently characterized state, with an explicit uncertainty and domain of validation. They can establish useful evidence about experienced emotion, but autonomic activity alone supplies a conditional inference rather than a uniquely identifying emotional signature.
Past exam of the episodic and semantic memory course of the University of Oxford 2022 6 Solution 2026-10-25
A reduced state space is useful when it preserves the structure needed for the question being asked; low dimension and high explained variance do not by themselves establish a sufficient neural code. Start with a clear observation model. A vector of binned spike counts from neurons may be approximated through latent coordinates, but the choices of bins, transformations, noise model and preserved criterion all affect the result.
For centered observations, principal component analysis chooses an orthonormal projection to minimize expected squared reconstruction error,where . The identity follows by expanding the square and using . Diagonalize . The trace term is , with for the columns of . Here and because the columns of are orthonormal. Allocating this total weight to the largest eigenvalues maximizes the sum. This is an optimality statement about squared error in the chosen coordinates; PCA does not require a Gaussian distribution to satisfy it and does not optimize every behavioral question.
An exact counterexample makes the limitation decisive. Let be independent balanced signs, define , and let the remembered class be . Zero means and independence giveThe first component retains of total variance. Yet : no classifier using that component alone exceeds one-half expected accuracy. The second component determines the class exactly. Positive rates give the same example after centering. These are constructed rates, not experimental recordings.
This example also exposes a scaling assumption. Covariance-based PCA emphasizes large-variance coordinates; standardization changes that objective and may increase the influence of noisy low-rate cells. Neither preprocessing choice is automatically correct. Behaviorally relevant information may lie in a small-amplitude direction, in precise spike timing lost by binning, or in correlations not retained by a rate-only summary. Dimensionality must therefore be evaluated against decoding, reconstruction and the scientific question separately.
Byron M. Yu and colleagues' 2009 Gaussian-process factor analysis combined temporal smoothing and dimensionality reduction in a probabilistic framework. Its demonstration used 61 simultaneously recorded macaque premotor and motor neurons during reaching. It shows a method for estimating single-trial trajectories, not direct evidence that episodic memories have the same dimensional structure.[ref]
Gaussian-process factor analysis for low-dimensional single-trial analysis of neural population activity by Byron M. Yu and others. 2009, observation model, temporal priors and motor-recording demonstration
In a linear observation model , the noise and latent temporal assumptions matter. A Gaussian observation approximation can be imperfect for sparse counts; independent residual errors can misassign shared fluctuations; a smooth temporal prior can suppress abrupt transitions. Trial averaging can manufacture a smooth path while concealing different single-trial paths. A useful low-dimensional description must also generalize beyond the sampled cells, session and task: unrecorded populations may encode variables absent from the fitted coordinates.
Latent axes require care as well. In , an orthogonal rotation gives the identical reconstruction through and , because . Reconstruction alone therefore cannot label one axis a unique psychological process. Model priors and constraints can restrict this ambiguity. Similarly, attractive geometry does not establish intrinsic dynamics: unobserved inputs, behavior or the analysis itself may shape the apparent trajectory. If a true dynamical state is claimed, the retained coordinates should predict relevant future activity under a specified model, not merely provide a convenient picture.
Validation should choose dimension and preprocessing within training data, then assess held-out trials or sessions and, where appropriate, held-out neurons. Behavioral labels must be kept out of unsupervised fitting decisions used to claim independent prediction. Comparing multiple dimensions and reporting uncertainty is more informative than selecting the most compelling two-dimensional plot. A reduced representation can support a useful decoder without being a complete causal explanation of the circuit.
Low-dimensional state spaces are testable approximations whose value depends on retained information, model fit and generalization. The projection, scaling, temporal and sampling assumptions should remain explicit, especially when a high-variance view is being interpreted as the mechanism of episodic memory.
Past exam of the mathematics course of the University of Cambridge 2017 iii Paper 210 2 Solution Created 2026-10-03 Updated 2026-10-05
Choose a Borel measurable function version of the posterior success probability . Conditional on , predicting zero has error probability and predicting one has error probability . A Bayes classifier for zero-one loss is thereforeEither decision is optimal when . The displayed Bayes risk also equals and is unaffected by changing on a -null set.
For any measurable set , independence and the uniform distribution of giveLikewise the probability with label zero is . These sets determine the joint probability distribution, soThe same construction makes all training pairs independent and identically distributed random variables.
Fix a feature-measurable nearest-neighbour tie-breaking rule, for example increasing original index for observations at equal Euclidean norm distance from the query. This is important: the ordering may depend on the features, but not on the or labels. Let be the label attached to the th ordered feature. The classifier from the K-nearest neighbors algorithm isThe displayed rule resolves a tied vote in favour of one; any fixed vote convention would also define the method. When , this is the one-nearest-neighbour classifier .
Write for the selected original index. Conditional on all features , it is fixed, and is still uniform on . The two decisions being compared areThe latter is an oracle comparison rule: its relabeling is recomputed at each query , rather than being a fixed relabeling of the training data for all queries. For a variable with the uniform distribution on , the two threshold indicators at differ exactly when lies between them, an interval of length . This Bernoulli coupling by a shared uniform random variable proves
Take the test pair independent of the training data and its auxiliary uniforms. Let , and interpret as conditional misclassification risk given . The tower property of conditional expectation gives . Conditional on the test feature and all training features, and are independent variables with a Bernoulli distribution of parameter . Consequently, for every ,This is an exact finite-sample equality, not merely a limit.
The two error indicators can differ only if the two classifiers disagree, soThe permitted nearest-neighbour approximation theorem states that the last expected value tends to zero for the feature-based selection rule. This establishes the one-nearest-neighbour asymptotic risk
For , put . Then , and . Integrating gives the Bayes risk bound for one-nearest-neighbour classificationThus a one-nearest-neighbour classifier need not achieve the Bayes risk: for constant , its limiting misclassification risk is , while .
Feature-based neighbour tie-breaking is required. The convention cannot be dropped for arbitrary . For a counterexample, take almost surely and constant , and choose among the coincident neighbours the one with the smallest . Then the predicted label is one with probability , so its misclassification risk tends to , exceeding the claimed upper bound . The corrected theorem uses ties determined independently of the uniforms and labels, as above.
Positive predictive value Created 2026-10-25 Updated 2026-11-05
For a binary classifier, the conditional probability of the target condition given a positive classification. If its base rate is , its true-positive probability is , and its false-positive probability is , Bayes' theorem gives . The denominator is positive whenever a positive classification can occur.
Training data Created 2026-10-05 Updated 2026-10-31
The observations used to construct a classifier or other fitted rule. For a random fitted classifier, its conditional misclassification risk conditions on these observations and evaluates an independent test pair. Auxiliary randomization used in fitting belongs to the conditioning information as well.
XOR separation by a product feature 2026-10-14
Give the four corners of the square the exclusive or labels: when the input signs differ and when they agree. In the following order,No affine function has the required strictly positive scores at and strictly negative scores at : both pairs have midpoint zero, so would have to be both positive and negative. This also rules out perfect classification by a single threshold with a consistent tie rule.
Under the polynomial kernel's quadratic feature map, the two classes become two distinct vectors:The hyperplane separates them. With and , the score and classifier areAll four signed scores equal one. In the input plane the boundary is , the union of the coordinate axes; in the derived coordinates it is a single hyperplane. The feature map identifies opposite corners, which is harmless for these labels because opposite corners belong to the same class. A fixed feature map would not separate labels that disagree at identical mapped vectors.
XOR labels in the input square and the quadratic feature slice
. The dashed diagonals join equal-label input pairs and share their midpoint, obstructing affine separation. In the feature panel all mapped points have third coordinate one; the two coincident pairs are separated by the horizontal hyperplane at second coordinate zero. Details.

