统计学习精要(Elements of Statistical Learning) 习题2.1
问题:
Suppose that each of K classes has an associated target tk , which is a vector of all zeroes, except a one in the k-th position. Show that classifying the largest element of ŷ amounts to choosing the closest target, mink∥tk−ŷ ∥ if the elements of ŷ sum to one.
假设我们有一个K分类问题,每个类表示为向量 tk 。 tk 中除了第k个位置的元素为1外,其余元素均为0。证明如果