A novel demand response mechanism in smart community with learning-based neural network modeling