Classification of a whole matrix
조회 수: 2 (최근 30일)
이전 댓글 표시
All,
I have a series of matrices containing signal returns from a set of objects under illumination. I wish to classify the objects in to 2 categories, A or B based on the contents of the signal return matrices.
In other words, I wish to classify whether a series of matrices are type A or B but using the data from the whole of each matrix to do this.
Is there a way to use the classification learner app to do this and if not, any pointers?
Thnanks.
댓글 수: 0
답변 (2개)
njj1
2018년 4월 19일
You could turn the matrix into a vector (e.g., X = X(:)), then use the resulting vector as input to the classification learner. You need to have examples of A and B type matrices to design a classifier, or you could use a clustering algorithm to see if the matrices naturally cluster together.
댓글 수: 0
Image Analyst
2018년 4월 19일
Well if we have no other information about the matrices, you could try deep learning. However if you know something about them, like they're images of either red flowers or blue flowers, then you could use traditional methods to measure those attributes, like is the matrix more red than blue, or more blue than red. Is there a spatial dependence among the elements? Why are the elements in a 2-D matrix rather than a 1-D vector? What distinguishes A from B? Can you simply look at the mean value? Or is it more complicated than that? You need to supply more context and show some small matrices as examples.
댓글 수: 2
Image Analyst
2018년 4월 19일
If you display them as images, do the A images look different somehow than the B images? Or do they both just look like random noise, or there is no discernible difference between the way they look?
참고 항목
카테고리
Help Center 및 File Exchange에서 Classification Ensembles에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!