Adaptive Regulator Using Neural Network