Decision-making with matrix-shaped data