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!