Skip to content
Back to formatted view

Raw Message

Message-ID: <20949816.post@talk.nabble.com>
Date: 2008-12-11T05:48:35Z
From: Wayne F
Subject: Clustering with Mahalanobis Distance
In-Reply-To: <9A6509A94A33124187515A9901DC551F0B450A2BF5@VAIEXCH05.vai.org>

I don't have any experience with your particular problem, but the thing I
notice is that mahalanobis is that by default you specify a covariance
matrix, and it uses solve to calculate its inverse. If you could supply the
inverse covariance matrix (and specify inverted=TRUE to mahalanobis), that
might save a lot of memory.

If you cannot externally calculate the inverse before bringing it into R,
perhaps if you read only the covariance matrix and inverted it first, before
doing anything else? Or perhaps someone else knows some matrix magic?
-- 
View this message in context: http://www.nabble.com/Clustering-with-Mahalanobis-Distance-tp20901487p20949816.html
Sent from the R help mailing list archive at Nabble.com.