Changeset 79 for distools/ksvc_nu.m


Ignore:
Timestamp:
07/23/13 12:22:18 (11 years ago)
Author:
bduin
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • distools/ksvc_nu.m

    r10 r79  
    113113end
    114114if nargin < 1 | isempty(K),
    115   W = mapping(mfilename,{nu,kc,r});
     115  W = prmapping(mfilename,{nu,kc,r});
    116116  W = setname(W,'Kernel Support Vector Classifier (KSVC-NU)');
    117117  return;
     
    134134
    135135% TRAIN THE CLASSIFIER
    136 if ~isa(nu,'mapping')
     136if ~isa(nu,'prmapping')
    137137  islabtype(K,'crisp');
    138138  isvaldset(K,1,2);      % Expect at least 1 object per class and 2 classes
     
    187187
    188188    % 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);
    190190    %W = cnormc(W,a);
    191191    W = setname(W,'Kernel Support Vector Classifier (KSVC-NU)');
Note: See TracChangeset for help on using the changeset viewer.