help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: kmeans is not right


From: John Guin
Subject: RE: kmeans is not right
Date: Tue, 8 Dec 2015 08:16:07 -0800

-----Original Message-----
From: address@hidden
[mailto:address@hidden On Behalf Of John
Guin
Sent: Tuesday, December 08, 2015 7:26 AM
To: 'JokerOne' <address@hidden>;
address@hidden
Subject: RE: kmeans is not right

Does the statistics package work with Octave 4.0?  When I try to install, I
get an error that statistics needs io >= 1.0.18.  I have io 2.2.11
installed.

Win7, if that matters.

John


-----Original Message-----
From: address@hidden
[mailto:address@hidden On Behalf Of
JokerOne
Sent: Tuesday, December 08, 2015 3:55 AM
To: address@hidden
Subject: Re: kmeans is not right

kmeans is a function of the statistics package. It is not a package of its
own.

use
pkg install -forge statistics

then see: 
http://octave.sourceforge.net/statistics/function/kmeans.html


-------------------

Found the error - just having the io package installed is not sufficient.
You need to force load the io package before installing statistics:

pkg load io

then statistics will install without error.

Should I file a bug to have the error message say
" statistics needs io >= 1.0.18 (is the package loaded?)"

It would be wordier, but might point people in the right direction.

(or just try to load required packages at pkg install time...)

John




reply via email to

[Prev in Thread] Current Thread [Next in Thread]