Let us consider the problem of nearest-mean classifier. Suppose we are given N training samples (x₁, y₁),..., (XN, YN) from two classes with yn € {+1, -1}. We saw in lecture 2 that we can decide a label for a test vector x as g(x) = sign (w²x + b), where w = 2(µ+ − µ-) and b = ||µ–||²3 − ||µ+||³2. - μ+ is a mean vector for samples in the +ve class and p_ is a mean vector for samples the -ve class. Show that w²x + b = 1 an(xn, x) + b and calculate the values of the an.
Let us consider the problem of nearest-mean classifier. Suppose we are given N training samples (x₁, y₁),..., (XN, YN) from two classes with yn € {+1, -1}. We saw in lecture 2 that we can decide a label for a test vector x as g(x) = sign (w²x + b), where w = 2(µ+ − µ-) and b = ||µ–||²3 − ||µ+||³2. - μ+ is a mean vector for samples in the +ve class and p_ is a mean vector for samples the -ve class. Show that w²x + b = 1 an(xn, x) + b and calculate the values of the an.
Related questions
Question
1
Expert Solution
This question has been solved!
Explore an expertly crafted, step-by-step solution for a thorough understanding of key concepts.
This is a popular solution!
Trending now
This is a popular solution!
Step by step
Solved in 3 steps with 1 images