EEG-based mental fatigue measurement using multi-class support vector machines with confidence estimate