フィルターのクリア

Info

この質問は閉じられています。 編集または回答するには再度開いてください。

Use of Classifier

1 回表示 (過去 30 日間)
mahalaksmi
mahalaksmi 2011 年 9 月 25 日
閉鎖済み: MATLAB Answer Bot 2021 年 8 月 20 日
hi i am doing cloth classification.i used GLCM and extracted features from four different cloth(cotton,wool,silk,nylon) images. i extracted 12 haralick features.For classifying i have to use k-means. I am using MATLAB 2009a version.i dont know to give input to the classifier.can you please guide me.

回答 (1 件)

UJJWAL
UJJWAL 2011 年 9 月 25 日
Hi, This is a problem of K-Means Clustering. I believe you have successfully extracted the features and want to start on the actual K-Means clustering. Although giving a full description is very difficult in this small post but you can do something like this :-
Suppose you have 100 data points to classify. Choose a value of K (let us say 5). Now cyclically move through all the data points and assign them to clusters (Like first data point in first cluster, second in the second cluster and so on.) Actually this can be done by a number of ways and I have just suggested one simple way for you to begin with. Now apply the algorithm till the centroids (or the means of the clusters ) do not change and in each iteration do what what you have to.
I mean to get a proper answer you will have to be very specific about what problem are u facing in implementation. Answer this or leave a mail.
Happy to help Ujjwal

この質問は閉じられています。

タグ

タグが未入力です。

Community Treasure Hunt

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

Start Hunting!

Translated by