Two-dimensional image classification using unsupervised learning

For example, I have one thousand two-dimensional images.
I'd like to classify those images into several groups using unsupervised learning.
But, I couldn't find helpful example or document for this problem.
Is there anyone who can help me with this problem?

 채택된 답변

Raunak Gupta
Raunak Gupta 2019년 10월 3일

1 개 추천

Hi,
As per my understanding it is required to cluster the images into several groups using unsupervised learning. I would suggest using trainAutoencoder to learn a network which can generate meaningful features of the images, these features can be extracted from the last layer of encoder. The last layer of encoder is a lower dimensional representation of the image which can be used in kmeans for clustering the features in K groups. This way the images will be classified into several groups but be sure that the clustering is based on some high-level similarities between the images.
For more detailed information you may refer to the research papers available for Unsupervised Clustering.

댓글 수: 4

Thanks for your suggestion. I will try with trainAutoencoder.
A meaningful image feature can be obtained using a pre-trained network, too. As autoencoder function requires a training process (autoencoder does not need label information. it is a kind of unsupervised learning but "training process" is needed), the use of pre-trained networks for feature extraction is useful.
I posted an example code for image clustering. I hope it helps you, too.
Hi kenta,
If you are talking about pre-trained network then I think transfer learning would be better term but for that too the classes in pre-trained network should contains the classes in current problem otherwise it means training a network from scratch.
For dimensionality reduction I totally agree if your network is very general so that it can extract feature from literally any image, then clustering would also work. But It still depends If the network has seen the problem images before otherwise it won't add much to a randomly intialized network.
Hope this clarifies.
Raunak Gupta, thanks for your explanation. Yes, the term fune tuning would be better. I understood.

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

추가 답변 (0개)

카테고리

도움말 센터File Exchange에서 Statistics and Machine Learning Toolbox에 대해 자세히 알아보기

질문:

2019년 9월 30일

댓글:

2020년 5월 6일

Community Treasure Hunt

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

Start Hunting!

Translated by