Changeset 79 for distools/ksvc_nu.m
- Timestamp:
- 07/23/13 12:22:18 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
distools/ksvc_nu.m
r10 r79 113 113 end 114 114 if nargin < 1 | isempty(K), 115 W = mapping(mfilename,{nu,kc,r});115 W = prmapping(mfilename,{nu,kc,r}); 116 116 W = setname(W,'Kernel Support Vector Classifier (KSVC-NU)'); 117 117 return; … … 134 134 135 135 % TRAIN THE CLASSIFIER 136 if ~isa(nu,' mapping')136 if ~isa(nu,'prmapping') 137 137 islabtype(K,'crisp'); 138 138 isvaldset(K,1,2); % Expect at least 1 object per class and 2 classes … … 187 187 188 188 % Store the results 189 W = mapping(mfilename,'trained',{me,J,T,v},getlablist(K),k,2);189 W = prmapping(mfilename,'trained',{me,J,T,v},getlablist(K),k,2); 190 190 %W = cnormc(W,a); 191 191 W = setname(W,'Kernel Support Vector Classifier (KSVC-NU)');
Note: See TracChangeset
for help on using the changeset viewer.