Text this: A Mean Weighted Squared Error-based Neural Classifier for Intelligent Pattern Recognition in Smart Grids