Analyzing Brain Activity During Learning Tasks with EEG and Machine Learning