pmtk3
pmtk3 copied to clipboard
Syntax error in logregFit.m
From [email protected] on January 17, 2011 07:01:45
What steps will reproduce the problem? 1. Download the current version (pmtk3-23nov10.zip) 2. run initPmtk3 3. run testPmtk3 What is the expected output? What do you see instead? Just downloaded pmtk3-23nov10.zip, and testPmtk3 produces:
parse error near line 53 of file /home/jpate/git/prosodicParsing/pmt3k/pmtk3-23nov10/toolbox/SupervisedModels/logreg/logregFit.m
syntax error
[ weights ....
Changing the "...." to "..." fixes the error. What version / revision of the product are you using? On what operating system? $ uname -a Linux PURPLE-HAZE 2.6.36-ARCH #1 SMP PREEMPT Sat Jan 8 14:15:27 CET 2011 x86_64 Celeron(R) Dual-Core CPU T3000 @ 1.80GHz GenuineIntel GNU/Linux $ octave -v GNU Octave, version 3.2.4 Copyright (C) 2009 John W. Eaton and others. This is free software; see the source code for copying conditions. There is ABSOLUTELY NO WARRANTY; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Octave was configured for "x86_64-unknown-linux-gnu".
Additional information about Octave is available at http://www.octave.org .
Please contribute if you find this software useful. For more information, visit http://www.octave.org/help-wanted.html Report bugs to [email protected] (but first, please read http://www.octave.org/bugs.html to learn how to write a helpful report). Please provide any additional information below. Although I'm using octave, this just seems to be a typo with an extra "." (especially considering the output of svn diff - r2598 toolbox/SupervisedModels/logreg/logregFit.m)
Original issue: http://code.google.com/p/pmtk3/issues/detail?id=13