- Timestamp:
- 06/08/12 14:16:27 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
prextra/loglc2.m
r32 r33 22 22 23 23 name = 'Logistic regressor (implementation 2)'; 24 addpath(genpath('minFunc'));25 addpath(genpath('~/prtools'));26 24 if exist('minFunc', 'file') 27 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.'); … … 66 64 67 65 function [E, E_bias] = train_logreg(train_X, train_labels, lambda, E_init, E_bias_init) 68 69 % Uses fancy optimizer70 addpath(genpath('minFunc'));71 66 72 67 % Initialize solution
Note: See TracChangeset
for help on using the changeset viewer.