Comparative analysis of performance of deep learning classification approach based on LSTM-RNN for textual and image datasets