buggnats - Bugs: bug #36601, Bug in Octave 3.2.4

 
 

bug #36601: Bug in Octave 3.2.4

Submitter:  gerard <gdroege>
Submitted:  Wed 06 Jun 2012 03:50:05 PM UTC
   
 
Category:  None Severity:  3 - Normal
Item Group:  None Status:  Invalid
Privacy:  Public Assigned to:  None
Open/Closed:  Closed
* Mandatory Fields

Add a New Comment Rich Markup
   

Fri 13 Mar 2015 10:08:52 PM UTC, comment #2: 

Looks like a misfiled bug report intended for a project other than GNATS.

Alex Manoussakis <amanou>
Group administrator
Wed 20 Jun 2012 11:26:10 AM UTC, comment #1: 

It looks like the problem is on line 198

It currently looks like this

for i = 1:rows (X)
  h = render_size_color (hg, vert(idx{i},:), s, cc(i,:),
                                      marker, filled, true);
endfor


it should look like this

for i = 1:rows (cc)
  h = render_size_color (hg, vert(idx{i},:), s, cc(i,:),
                                      marker, filled, true);
endfor

Jamie Cook <jamiecook>
Wed 06 Jun 2012 03:50:05 PM UTC, original submission:  

I am in the ML course at Stanford and it seems that most folks are all having problems with a bug calculating K-means.   It looks like the problem is that

the underlying problem is apparently that octave doesn't support scatter-plotting more than 100 points with colors at a time. you can read the argument about whether or not it's worth fixing,

The error obtained looks like



>> [centroids, idx] = runkMeans(X, initial_centroids, max_iters, true);

K-Means iteration 1/10...
error: _scatter_: A(I): index out of bounds; value 4 out of bound 3
error: called from:
error:   /Applications/Octave.app/Contents/Resources/share/octave/3.4.0/m/plot/private/__scatter__.m at line 199, column 13
error:   /Applications/Octave.app/Contents/Resources/share/octave/3.4.0/m/plot/scatter.m at line 71, column 11
error:   /Users/mberman/ml/ex7/plotDataPoints.m at line 12, column 1
error:   /Users/mberman/ml/ex7/plotProgresskMeans.m at line 11, column 1
error:   /Users/mberman/ml/ex7/runkMeans.m at line 48, column 9


Can anyone point me to a fix for OCtave 3.2.4 (windows) or should I use a different version of Octave

Thanks

-email is unavailable-

gerard <gdroege>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by amanou (Posted a comment)
  • -email is unavailable- added by jamiecook (Posted a comment)
  • -email is unavailable- added by gdroege (Submitted the item)
  • -email is unavailable- added by gdroege
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follow 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2015-03-13 amanou StatusNone Invalid
        Open/ClosedOpen Closed
    2012-06-06 gdroege Carbon-Copy- Added -email is unavailable-

    Back to the top

    Powered by Savane 3.13-02a9.
    Corresponding source code