Professional Documents
Culture Documents
VVP Engineering College, Rajkot: GUJCOST Sponsored Two Day Workshop On
VVP Engineering College, Rajkot: GUJCOST Sponsored Two Day Workshop On
MACHINE LEARNING
Problem Set - 1:
Vector Formulas:
1
Mean: 𝑚 = 𝜇 = ∑𝑁
𝑖=1 𝑋(𝑖)
𝑁
1 2
Sample Variance: 𝜎 2 = ∑𝑁 (𝑋(𝑖) − 𝑚)
𝑁−1 𝑖=1
∑𝑁
𝑖=1[(𝐴(𝑖)− 𝜇𝐴 )(𝐵(𝑖)− 𝜇𝐵 )]
Cross Correlation: 𝑟(𝐴, 𝐵) =
√∑𝑁 2 𝑁
𝑖=1(𝐴(𝑖)− 𝜇𝐴 ) √∑𝑖=1(𝐵(𝑖)− 𝜇𝐵 )
2
Problems:
Ex 1: Find within class scatter for the vectors A, B and C
Ex 2: Find between class scatter for the vectors A, B and C
Ex 3: Find total scatter for the vectors A, B and C
Sr. Description Answer
𝑆𝑊𝐴 = 36.1,
1 Ex 1: Find within class scatter for the vectors A, B and C 𝑆𝑊𝐵 = 21.6,
𝑆𝑊𝐶 = 120.1
2 Ex 2: Find between class scatter for the vectors A, B and C 𝑆𝐵 = 0.07
3 Ex 3: Find total scatter for the vectors A, B and C 𝑆𝑇 = 177.8