Changeset 37
- Timestamp:
- 08/29/12 13:32:21 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
prextra/loglc2.m
r34 r37 23 23 name = 'Logistic2'; 24 24 if ~exist('minFunc', 'file') 25 prwarning(1,'LOGLC2 requires the minFunc optimizer. Please download it from www.di.ens.fr/~mschmidt/Software/minFunc.html and add it to the Matlab path.');25 error('LOGLC2 requires the minFunc optimizer. Please download it from www.di.ens.fr/~mschmidt/Software/minFunc.html and add it to the Matlab path.'); 26 26 end 27 27 … … 49 49 50 50 % Handle evaluation of a trained LOGLC2 W for a dataset A 51 elseif isa(A, 'dataset') && isa(W, 'mapping')51 elseif (isa(A, 'dataset') && isa(W, 'mapping')) || (isa(A, 'double') && isa(W, 'mapping')) 52 52 53 53 % Evaluate logistic classifier
Note: See TracChangeset
for help on using the changeset viewer.