Applying a new localized generalization error model to design neural networks trained with extreme learning machine