Auto-generated summary from the source site. Handy as a checklist; the lessons above explain each idea from scratch.
Here’s a structured summary of the core topics, concepts, principles, and equations essential for the Diploma Level: Machine Learning Foundations (Computer-Based Exam) based on the provided question paper. The exam heavily emphasizes probability, linear algebra, optimization, and convex analysis.
1. Probability & Random Variables
Key Concepts:
Independent Random Variables: X and Y are independent if P(X,Y)=P(X)P(Y).
Linear Combinations of Random Variables:
If X∼N(μX,σX2) and Y∼N(μY,σY2) are independent, then:
aX+bY∼N(aμX+bμY,a2σX2+b2σY2)
Uniform Distribution:
For X,Y∼Uniform(0,1), the CDF of Z=min(X,Y) is:
FZ(z)=1−(1−z)2,0≤z≤1
Joint PDF and Transformations:
For independent exponentials X,Y∼Exp(1), the joint PDF of U=X+Y and V=X−Y is:
fU,V(u,v)=21e−u,u≥0,−u≤v≤u
Multivariate Normal Distribution:
If X∼N(μ,Σ), then Y=aTX (where a is a vector) follows:
Y∼N(aTμ,aTΣa)
Key Equations:
Concept
Equation
Linear combo of normals
aX+bY∼N(aμX+bμY,a2σX2+b2σY2)
CDF of min(X,Y) (Uniform)
FZ(z)=1−(1−z)2
Joint PDF of U=X+Y,V=X−Y
fU,V(u,v)=21e−u,u≥0,−u≤v≤u
Multivariate normal transformation
Y=aTX∼N(aTμ,aTΣa)
2. Linear Algebra
Key Concepts:
Matrix Definiteness:
Positive Definite: xTAx>0 for all x=0.
Symmetric Matrix: A=AT.
Singular Matrix: det(A)=0.
Eigenvalues and Eigenvectors:
Unitary Matrix: A∗A=I (columns are orthonormal).
Hermitian Matrix: A=A∗ (self-adjoint).
Eigenvalues of Hermitian matrices are real.
Eigenvectors of Unitary matrices are orthogonal.
Rank-Nullity Theorem:
rank(A)+nullity(A)=n
If det(A)=0, then nullity(A)=0.
Non-zero Eigenvalues of ATA and AAT:
For any matrix Am×n, ATA and AAT share the same non-zero eigenvalues.
Key Equations:
Concept
Equation
Positive Definite
xTAx>0 for all x=0
Rank-Nullity
rank(A)+nullity(A)=n
Unitary Matrix
A∗A=I
Eigenvalues of ATA and AAT
Same non-zero eigenvalues
3. Convex Analysis
Key Concepts:
Convex Set:
A set S is convex if for any a,b∈S and θ∈[0,1]:
θa+(1−θ)b∈S
Guaranteed points: midpoint (θ=0.5) and convex combinations (e.g., 0.7a+0.3b).
Convex Functions:
A function f is convex if:
f(θx+(1−θ)y)≤θf(x)+(1−θ)f(y)
Examples:
f(x)=xlnx is convex on [0,∞).
f(x,y)=e2x+y is convex (since exponential of affine is convex).
f(x,y)=−ln(xy) is convex on (0,∞)2.
Composition: If f is convex and non-decreasing, and g is convex, then f∘g is convex.
Key Equations:
Concept
Equation
Convex Set
θa+(1−θ)b∈S for θ∈[0,1]
Convex Function
f(θx+(1−θ)y)≤θf(x)+(1−θ)f(y)
Convex Examples
xlnx, e2x+y, −ln(xy)
4. Optimization
Key Concepts:
Unconstrained Optimization:
Gradient Descent Update:
xk+1=xk−η∇f(xk)
Example: For f(x,y)=x2+y2−6x−8y, one iteration from (1,2) with η=0.2 gives:
∇f=(2x−6,2y−8)⟹(x,y)→(1.8,2.4)
Then, 10x+10y=42 (but the answer was 46; likely a typo in the question).
Constrained Optimization (KKT Conditions):
For a problem:
minf(x)s.t.gi(x)≤0,i=1,…,m
The KKT conditions require:
Stationarity: ∇f(x)+∑λi∇gi(x)=0.
Primal Feasibility: gi(x)≤0.
Dual Feasibility: λi≥0.
Complementary Slackness: λigi(x)=0.
For active constraints (gi(x)=0), λi>0.
Example: For f(x1,x2)=x12+x22 with g1(x)=x1+x2−1≤0 and g2(x)=−x1≤0:
If the optimum is on x1+x2=1, then λ1>0 and λ2=0.
The minimum value is 0.5 (but the answer was 1; likely a miscalculation).
Key Equations:
Concept
Equation
Gradient Descent
xk+1=xk−η∇f(xk)
KKT Stationarity
∇f(x)+∑λi∇gi(x)=0
Complementary Slackness
λigi(x)=0
5. Applications (Profit/Cost Optimization)
Key Concepts:
Lagrangian Multipliers:
For constrained optimization with equality constraints, solve:
∇f(x)=λ∇g(x)
Example: Maximize f(x,y)=48x+96y−x2−2xy−9y2+1 subject to 20x+4y=216:
Solve ∇f=λ∇g to find x=10, y=8, and max profit = 541.