[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
fminunc problem
From: |
Gaël de Lannoy |
Subject: |
fminunc problem |
Date: |
Tue, 31 Aug 2010 16:52:41 +0200 |
User-agent: |
Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.8) Gecko/20100802 Lightning/1.0b2 Thunderbird/3.1.2 |
Hello everybody
I have recently quit matlab for octave 2.1.57. I am trying to use
fminunc in a matlab-like style and get the following error:
error: unknown option 'maxit'
error: evaluating if command near line 136, column 5
error: evaluating if command near line 135, column 3
error: evaluating while command near line 116, column 1
error: called from `read_options' in file
`/usr/share/octave/2.1.57/site/m/octave-forge/miscellaneous/read_options.m'
error: evaluating assignment expression near line 157, column 5
error: called from `minimize' in file
`/usr/share/octave/2.1.57/site/m/octave-forge/optim/minimize.m'
error: evaluating if command near line 125, column 1
error: called from `fminunc' in file
`/usr/share/octave/2.1.57/site/m/octave-forge/optim/fminunc.m'
error: called from `mycrfchaintrain' in file `mychaintrain.m'
error: evaluating for command near line 71, column 5
My function mychaintrain contains this call to fminunc():
options = optimset('GradObj', 'on', 'Diagnostics', 'off',
'Display','off', 'MaxIter', 20, 'TolFun', 1e-10, 'TolX', 1e-10);
[w, finalErr, exitFlag, out] = fminunc(@mychainErrAndGrad, w, options,
features, labels, C);
What am I doing wrong?
Many thanks in advance!
Gael
--
====================================================
Gael de LANNOY
Université catholique de Louvain
DICE - Machine Learning Group
FSIO - Physiology and Pharmacology
3 place du Levant, B-1348 Louvain-la-Neuve, Belgium
Tel: +3210478133 - Fax: +3210472598
E-mail: address@hidden
Homepage: http://www.dice.ucl.ac.be/~delannoy
====================================================
- fminunc problem,
Gaël de Lannoy <=