Data without image with cnn [Matlab specification]
I am trying to use cnn to create a classifier for my data. The training set consists of 2D numeric matrices that are not image data.
Matlab cnns seems to only work with image input: https://uk.mathworks.com/help/nnet/ref/imageinputlayer-class.html
Does anyone have any experience with cnns and non-image data with Matlab's deep learning toolbox?
Thank.
source to share
Well, I would first like to understand why you want to use CNN with no image data? CNNs are especially good because they allow for information from the neighborhood. If your data doesn't have some kind of region model (like pixels that come together to create a pattern or sentences where word order matters), CNN won't be the best approach to handling it. That was said, if you still want to use it, you can convert the matrix to images. I'm not sure if this will help.
Function to convert: mat2gray
source to share