mahout-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ted Dunning <>
Subject Re: Dense matrix with kmeans
Date Wed, 20 Jun 2012 12:54:22 GMT
Sorry I missed this. 

You can just ravel the matrix as a vector and proceed as normal with Euclidean norm. 

Sent from my iPhone

On Jun 20, 2012, at 5:15 AM, gaurav singh <> wrote:

> Distance comparison can be simply by subtracting one matrix from another
> and the elements of resulting matrix should be squared and added.

View raw message