Is there a possibility to do a clustering of a multidimensional matrix (example: 10x10x35)?

조회 수: 6 (최근 30일)
I have a series of prices, which i need to cluster. The problem is, that i have many different prices for each hour. I need to cluster the prices for all hours. How can i do that?

답변 (1개)

Akshat Dalal
Akshat Dalal 2023년 11월 19일
Hi Nils,
I understand that you want to perform cluster analysis on multi-dimensional matrices. You could do so by extending the ‘k-means’ clustering algorithm to work on this multi-dimensional matrix. The cluster shapes would be multi-dimensional with a multi-dimensional point as its centre and standard Euclidean distance as its radius. You could also define the clusters with other metrics and distances such as ‘mahalanobis distance’ or ‘cosine similarity’ as per requirements. You can then extend the standard ‘k-means’ algorithm to work with these modified clusters and data points.
For example, cluster analysis of 3-D data can be done using the above technique. You could define spherical clusters with radius as a parameter or cuboidal clusters with parameters length, breadth, and height and then extend the ‘k-means’ algorithm to work on this 3-D data.
To read more about k-means clustering, please refer the following documentation: https://en.wikipedia.org/wiki/K-means_clustering
To read more about clustering using MATLAB, please refer the following documentation: https://www.mathworks.com/help/images/color-based-segmentation-using-k-means-clustering.html
I hope this helps.

카테고리

Help CenterFile Exchange에서 Statistics and Machine Learning Toolbox에 대해 자세히 알아보기

제품


릴리스

R2018a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by