Symbols and units

QuantitySymbolUnitNote
Observation, feature matrix and targetxi,X,yi,y\mathbf x_i,\mathbf X,y_i,\mathbf yFeature-specific; target unitsVectors are columns; observations are matrix rows
Data and dimensionsD,n,d,CD,n,d,CDataset; countsCC counts classes; kk counts clusters or neighbours as specified
Centred data and meansXc,yc,xˉ,yˉ\mathbf X_c,\mathbf y_c,\bar{\mathbf x},\bar yFeature or target unitsTraining-set means only
Prediction and fitted functiony^,f^D,f∗\hat y,\hat f_D,f_*Target units, or label/score as specifiedf∗f_* is true conditional regression mean
Weight, intercept, parameter vectorw,b,θ\mathbf w,b,\boldsymbol\thetaTarget/feature or reciprocal-feature unitsClassifier affine scores dimensionless; scaled features assumed
Loss, risk, likelihoodℓ,J,R^,L\ell,J,\widehat R,LStated loss units; likelihood dimensionless for discrete outcomesLL also counts network layers locally
Regularisation weight and penaltyλ,Ω\lambda,\OmegaObjective-dependentPenalty product must match loss units; PCA λj\lambda_j are eigenvalues
Confusion counts and sample countTP,TN,FP,FN,N\mathrm{TP,TN,FP,FN},NCountsPositive class fixed first
Probability, expectation, varianceP,E[⋅],Var⁡(⋅)P,E[\cdot],\operatorname{Var}(\cdot)Probability dimensionless; moments follow argumentGlobal notation retained
Sigmoid score and probability thresholdz,σ(z),p,τz,\sigma(z),p,\tauDimensionlessStatistical sigmoid, not mechanical stress
Class prior and unnormalised scoreπc,qc,gc,δc\pi_c,q_c,g_c,\delta_cProbability; density or log score as statedqq without class index is PCA divisor
Class means and covarianceμc,Σ\boldsymbol\mu_c,\boldsymbol\SigmaFeature; product of feature unitsShared covariance in LDA
Feature distribution parametersθcj,μcj,σcj2\theta_{cj},\mu_{cj},\sigma_{cj}^2Probability; feature; squared featureBernoulli/Gaussian naive Bayes
Category and class countsnc,ncjv,rj,Ncjn_c,n_{cjv},r_j,N_{cj}CountsNcjN_{cj} is a category-token total in multinomial NB
Smoothing pseudocountα\alphaCountDistinct from SVM indexed multipliers αi\alpha_i; pruning α\alpha is cost per leaf
Distance and neighboursd1,d2,d(⋅,⋅),Nk,aid_1,d_2,d(\cdot,\cdot),N_k,a_iFeature/dissimilarity units; index set; weightsaia_i scalar vote weights; bold activations are network vectors
Scatter matrices, Fisher ratio and directionSW,SB,ST,JF,u,ρ\mathbf S_W,\mathbf S_B,\mathbf S_T,J_F,\mathbf u,\rhoSquared feature; dimensionless ratioρ\rho generalised eigenvalue
SVM score, margin and full widthfi,γi,γmin⁡,Mf_i,\gamma_i,\gamma_{\min},MDimensionless score; feature-distance unitsMM is candidate count only in validation context
SVM penalty, slack and multipliersCsvm,ξi,αiC_{\rm svm},\xi_i,\alpha_iObjective-dependent; dimensionless slackCsvmC_{\rm svm} never denotes class count
Kernel and feature mapK,ϕ,c0,p,γ,sK,\boldsymbol\phi,c_0,p,\gamma,sScaled-feature conventionpp integer polynomial degree; γ=1/(2s2)\gamma=1/(2s^2) for RBF
Impurity, split counts and leaf setH,G,Enode,I,Nv,L(T)H,G,E_{\rm node},I,N_v,\mathcal L(T)Bits; fractions; counts; setTT is a tree; II scalar impurity differs from bold identity
Noise and true coefficientsε,σε2,w∗\boldsymbol\varepsilon,\sigma_\varepsilon^2,\mathbf w_*Target; squared target; coefficientZero-mean noise in stated fixed-design model
Validation counts and foldsndev,K,Vv,M,Rn_{\rm dev},K,V_v,M,RCounts; index setsKK fold count; MM candidates; RR repeats
Network layer quantitiesW(ℓ),b(ℓ),z(ℓ),a(ℓ),gℓ,dℓ,L\mathbf W^{(\ell)},\mathbf b^{(\ell)},\mathbf z^{(\ell)},\mathbf a^{(\ell)},g_\ell,d_\ell,LScaled signals; countsOutput units follow the task
Network derivatives and updateδ(ℓ),η,B,t\boldsymbol\delta^{(\ell)},\eta,B,tLoss/preactivation; step-size; index set; iterationtt is a discrete iteration index here, not physical time
Perceptron boundR,γR,\gammaAugmented-input norm; signed scoreUnit separating vector; separate from validation repeat count
Cluster and representativeCa,ci,μa,ma,Jkm,Jmed\mathcal C_a,c_i,\boldsymbol\mu_a,\mathbf m_a,J_{\rm km},J_{\rm med}Set; label; feature; objective unitsMean for k-means; observed medoid for k-medoid
Linkage clusters and cut heightA,B,Q,D(A,B),hA,B,Q,D(A,B),hSets; dissimilarity unitsContext separates D(A,B)D(A,B) from dataset DD
PCA covariance and divisorS,q\mathbf S,qSquared feature; countq=nq=n or n−1n-1 as stated
Singular vectors and singular valuesU,V,uj,vj,sj,Sd\mathbf U,\mathbf V,\mathbf u_j,\mathbf v_j,s_j,\mathbf S_dDirections dimensionless; sjs_j feature unitsSd\mathbf S_d diagonal singular values, not covariance
PCA eigenvalues, retained rank and scoresλj,r,Vr,Z,Zwhite\lambda_j,r,\mathbf V_r,\mathbf Z,\mathbf Z_{\rm white}Squared feature; count; direction; feature; dimensionlessWhiten only positive eigenvalues
Identity, indicator and normsI,1{⋅},∥⋅∥2,∥⋅∥F\mathbf I,\mathbf1\{\cdot\},\|\cdot\|_2,\|\cdot\|_FIdentity/indicator dimensionless; norms follow entriesBold 1\mathbf1 without braces is an all-ones vector
Ridge auxiliary matrices and degrees of freedomA,R,dfridge\mathbf A,\mathbf R,\mathrm{df}_{\rm ridge}Scaled-design product; dimensionlessR\mathbf R logistic diagonal curvature matrix; A=X⊤X+λI\mathbf A=\mathbf X^\top\mathbf X+\lambda\mathbf I

Revise offline: the whole Machine Learning handbook as one PDF

42 pages · 1.8 MBFree to read online. Sign in to download the PDF.We save the handbook, version and request time in My downloads. Privacy policy

All chapters · Corrections