An approach is provided in which the approach constructs a 3-dimensional (3D) matrix based on a plurality of historical transactions performed by a user. The 3D matrix includes a set of features, a set of rows, and a set of channels. The approach trains a convolutional neural network using the 3D matrix, and then uses the trained convolutional neural network to predict a risk level of a new transaction initiated by the user. The approach transmits an alert message based on the predicted risk level.