svcm_run
代码说明:
support vector classification machine % soft margin % uses "kernel.m" % % xtrain: (Ltrain,N) with Ltrain: number of points N: dimension % ytrain: (Ltrain,1) containing class labels (-1 or +1) % xrun: (Lrun,N) with Lrun: number of points N: dimension % atrain: alpha coefficients (from svcm_train on xtrain and ytrain) % btrain: offest coefficient (from svcm_train on xtrain and ytrain) % % ypred: predicted y (Lrun,1) containing class labels (-1 or +1) % margin: (signed) separation from the separating hyperplane (Lrun,1(support vector machine classification% s oft margin% uses "kernel.m"%% xtrain : (Ltrain, N) with Ltrain : number of points N : % ytrain dimension : (Ltrain. 1) containing class labels (-1 or 1)% xrun : (Lrun, N) with Lrun : number of points N : % atrain dimension : alpha coefficients (from svcm_train on xtrain and ytrain)% btrain : offest coefficient (from svcm_train on xtrain and ytrain)%% ypred : predicted y (Lrun. 1) containing class labels (-1 or 1)% margin : (signed) separation from the separating hyper plane (Lrun, 1)
下载说明:请别用迅雷下载,失败请重下,重下不扣分!