Classifying matrices with neural networks
1 view (last 30 days)
There is an excellent tutorial on simple NN training using images (https://www.mathworks.com/help/deeplearning/ug/create-simple-deep-learning-network-for-classification.html) - but can I do the same thing using matrices? Or does the method only support image files as the input format? If so - how can I modify it to be able to have data files (basically text files containing simple matrices (3D spectra)) as an input for the classifier? Thank you in advance for any suggestions!
Sahil Jain on 11 Aug 2021
MATLAB provides multiple datastore classes to train neural networks on different types of data. For example, the tutorial that you mentioned uses the ‘imageDatastore’ class for reading image data. You can go through the Getting Started With Datastore article to see if your data files fall under any of the supported formats and use the corresponding datastore class. In case your data does not fall under any the formats mentioned in the above article, you can create a custom datastore for your own data, as described in the Develop Custom Datastore article.