On 05/08/2012 10:41 AM, Gael Varoquaux wrote:
> On Mon, May 07, 2012 at 03:50:00PM -0400, Félix-Antoine Fortin wrote:
>> I presumed there are valid reasons for using a numpy array, and represent
>> error points as -1.
> Reasons for using a numpy array are that it is faster and more memory
> effici
On Mon, May 07, 2012 at 03:50:00PM -0400, Félix-Antoine Fortin wrote:
> I presumed there are valid reasons for using a numpy array, and represent
> error points as -1.
Reasons for using a numpy array are that it is faster and more memory
efficient than a list.
Gael
-
Hi,
I have recently used the DBSCAN implementation of scikit-learn, and I have a
"quick" question.
Currently, noise points are labelled as -1 in a numpy array.
>From my point of view, clustering labels can be used for example as index of a
>sequence.
However, in Python -1 is still a valid ind