How can I use machine learning to predict a matrix output with multiple matrices as predictors?

33 views (last 30 days)
I want to use four matrices as predictors, with a single matrix as an output. All values in the matrices are real floating points. I've tried using element (i, j) of each predictor matrix to predict the (i, j) element of the output matrix, but (although I can get it to run) this won't work because I expect each element of the output matrix to be at least somewhat correlated to every value in all four predictor matrices. I used the Regression Learner app within the Statistics and Machine Learning Toolbox 11.6 to do this.
I've also looked into image recognition a little, but it seems that although it can handle 2D data, it works as a classifier, whereas I want a matrix of floats.
Any ideas?

Answers (1)

Sai Bhargav Avula
Sai Bhargav Avula on 18 Feb 2020
Hi,
As you mentioned if each element depends on the same element position of the input then probably it might not work as expected. But this also dependent on what application that you are using the model for. You can look for multi target regression models for having matrix numeric outputs.
You can look at the mvregress which also within the Statistics and Machine Learning Toolbox.
Hope this helps!

Products


Release

R2019b

Community Treasure Hunt

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

Start Hunting!