Re: How to cluster time series data
- From: Peter Perkins <Peter.PerkinsRemoveThis@xxxxxxxxxxxxx>
- Date: Mon, 07 Jan 2008 10:13:30 -0500
Jani Rautianen wrote:
Is there a way to apply kmeans-function to time series data?
Data is represented by a matrix of n rows and m columns
where columns corresponds to different time series and rows
to measurements. By default kmeans-function assumes that
the rows corresponds to data points to be clustered but in
this case it should calculate and evaluate the distances
between time series (columns) as whole. So instead of
calculating the distance between two rows it should
calculate the distances between the time series and build
the clusters according to that. Euclidean distance between
two time series in this matrix can be calculated with:
"sqrt(sum((( matrix(:,i) ) - ( matrix(:,j) )).^2))" but how
to exploit this with kmeans-clustering?
Jani, wouldn't you just transpose the matrix and pass it into KMEANS?
.
- Follow-Ups:
- Re: How to cluster time series data
- From: Jani Rautianen
- Re: How to cluster time series data
- References:
- How to cluster time series data
- From: Jani Rautianen
- How to cluster time series data
- Prev by Date: r2007b vs. 7.1 (slow runtime problem on r2007b)
- Next by Date: Re: help on image processing blockset
- Previous by thread: Re: How to cluster time series data
- Next by thread: Re: How to cluster time series data
- Index(es):
Relevant Pages
|