Novel Approach for Emotion Detection and Stabilizing Mental State by Using Machine Learning Techniques | Synapse