From Brainwaves to Insights: Leveraging Machine Learning for Real-Time Prediction of Mental States from EEG Data | IEEE Conference Publication | IEEE Xplore