I dont have the answer to this, new here!
But the first step of the problem would be to input the information on the neural network (better idea on what to use?)
First tough was to vectorize the matrix, but according to this paper information would be lost in the way, as well it requires much computer power, not very efficient
Matrix Neural Networks

  
      arxiv.org
  
  
    
1601.03805.pdf 49

3.91 MB

  
  
    
    
  
  


gonna keep reading it, if I get to understand you’re going to know. The paper is about a Neural Network designed for the job