hisuk / pmtk3

Automatically exported from code.google.com/p/pmtk3
MIT License
0 stars 1 forks source link

Isolated word classification demo fails under Octave #31

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?

1. > initPmtk3Octave
2. > isolatedWordClassificationWithHmmsDemo
3. /several errors occur/

What is the expected output? What do you see instead?

Output should match that shown in the tutorial.  Three separate errors -- two 
apparently related to Octave/Matlab compatibility issues and one typo -- 
prevent the demo from running to completion.

What version / revision of the product are you using? On what operating system?

I'm using a copy off trunk at http://pmtk3.googlecode.com/svn/trunk with Octave 
3.2.3 on Ubuntu 10.04.3 LTS.

Please provide any additional information below.

The errors are:

 * toolbox/LatentVariableModels/hmm/sub/hmmFitEm.m: Replace tilde (~)
   used to ignore output parameter.
 * toolbox/Algorithms/optimization/emAlgo.m: Delete extra '.' causing
   syntax error.
 * demos/isolatedWordClassificationWithHmmsDemo.m: Replaced call to
   display() with disp().

The first fix is a known issue:

  http://code.google.com/p/pmtk3/issues/detail?id=26

The third fix may not be the right thing to do.  Octave /has/ a display() 
function, and I can't imagine why it can't handle basic types.  I can 
demonstrate the error by entering

  octave:3> d=3.14
  d =  3.1400
  octave:4> display(d)
  error: display: not defined for class "double"
  error: called from:
  error:   /usr/share/octave/3.2.3/m/general/display.m at line 36, column 3

Original issue reported on code.google.com by don2...@gmail.com on 10 Aug 2011 at 6:19

Attachments:

GoogleCodeExporter commented 8 years ago
Moved to GitHub: https://github.com/probml/pmtk3/issues/31

Original comment by irosen on 4 Jan 2014 at 2:35