Question: Question 3. In Fishers linear discriminant analysis, we search for a vector w such that all data points are well separately after they are projected
Question 3. In Fishers linear discriminant analysis, we search for a vector w such that all data points are well separately after they are projected to the direction defined by w. When the input data points are
x1=(4,3)T y1 = 1
x2=(2,2)T y2 = 1
x3=(1,1)T y3 = -1
x4=(-2,-1)T y4= -1
(Note that the first element in vector xi is NOT x0=1 in this problem), Use Python to find a vector w=[w1,w2] with Fishers linear discriminant analysis and provide the intermediate steps
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
