Analyzing Optimal Environment for the Text Classification in Deep Learning