文件名称: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
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
(系统自动生成,下载前可以参看下载内容)
下载文件列表
linclass.m