linclass
代码说明:
这个是用于两类的带有类别的数据的线性分类器,是结构体类型如下判别 y(i) = 1 if W *X(:,i) + b >= 0 2 if W *X(:,i) + b < 0(his function classifies input data X using linear discriminant function: y(i) = argmax W(:,y) *X(:,i)+ b(y) y where parameters W [dim x nfun] and b [1 x nfun] are given in model and nfun is number of discriminant functions. In the binary case (nfun=1) the classification rule is following y(i) = 1 if W *X(:,i)+ b >= 0 2 if W *X(:,i)+ b < 0)
下载说明:请别用迅雷下载,失败请重下,重下不扣分!