Skip to content

"demo kmeans" warning #179

@dasergatskov

Description

@dasergatskov

Doing demo kmeans:

...

hold on;
 plot (X(:,1), X(:,2), "k*", "MarkerSize", 5);
 title ("Fisher's Iris Data");
 xlabel ("Petal Lengths (cm)");
 ylabel ("Petal Widths (cm)");
 legend ("Region 1", "Region 2", "Region 3", "Data", "Location", "SouthEast");
 hold off

warning: kmeans: failed to converge in 1 iterations
warning: called from
    kmeans at line 442 column 7
    __demo__ at line 24 column 2
    demo at line 154 column 7

Press <enter> to continue: 
kmeans example 3:
 ## Partition Data into Two Clusters

...

And I get two plot figures one completely empty. This may be not a big deal but it spooks pkg-octave-doc.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions