Design of Compensator-based Radial Basis Function Neural Network Classifier for Error Compensation