fuzzy C-means Algorithm

조회 수: 4 (최근 30일)
Ahmed albasri
Ahmed albasri 2023년 8월 2일
댓글: Ahmed albasri 2023년 8월 2일
In the MATLAB language, when using the FCM algorithm, we find that it deals with some default options, for example, it uses the Euclidean distance, and when we want to use another type of distance, the program refuses to execute. Is it possible to modify these options?
I am a PhD student and I need a very urgent code to modify the Euclidean distance and use the suggested distance in this algorithm... Is there a way to do that?
Please help to find a solution to the problem

답변 (1개)

Shubham
Shubham 2023년 8월 2일
Hi Ahmed,
It is possible to modify the options in the Fuzzy C-Means (FCM) algorithm in MATLAB, including the distance metric used. By default, MATLAB's fcm function uses the Euclidean distance metric. However, you can modify the code to use a different distance metric than Euclidean Distance. Besides "euclidean", the other method for computing distance metric available is "mahalanobis".Read More
To specify options for clustering data using the fcm function in MATLAB, you can use the fcmOptions object. This object allows you to set various options, including the number of clusters, the clustering exponent, and the distance metric.
Refer to the following documentations for more details.
1.fcm
  댓글 수: 1
Ahmed albasri
Ahmed albasri 2023년 8월 2일
Dear Shubham
Thank you very much for the answer, but this option that you referred to has already been implemented and does not accept any modification. Rather, it is locked to the default options for the distance, either "Euclidean distance" or "mahalanobis".
I am interested in changing the type of distance.
So I hope that the MATLAB support team will provide an option to modify the FCM algorithm.

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Fuzzy Logic Toolbox에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by