Facial expressions play a major role since it is capable of sharing a lot of data, which could not be expressed by voice throughout interpersonal communication. As a result, Facial Emotion Recognition (FER) is turning out to be a rising topic in current years. In this paper, a novel FER model is implemented, which consists of four stages: (i) Face Detection, (ii) Feature extraction, (iii) Optimal feature selection, and (iv) Classification. In this context, face detection is done using the Viola-Jones (VJ) method. It is the initial technique to offer better object detection in real-time. Further, the features namely Scale-Invariant Feature Transform (SIFT), Discrete Cosine Transform (DCT), Hough Transform (HT), and Radon Transform are extracted during the feature extraction process. As the length of features seems to be high, the features are optimally selected using the improved Jaya Algorithm (JA). Subsequently, the optimally selected features are subjected to a classification process, which is done using Deep Belief Network (DBN). Here, in this paper, the activation function of DBN is optimized using the same improved JA. Since the improvement of JA is done with the modification of the probability function, the proposed algorithm is termed a Modified Probability-based Jaya Algorithm (MP-JA). Thus, the various emotions on the face (normal, smile sad, surprise, anger, fear, and disgust of face) are determined efficiently by the proposed framework.