This paper presents a control method for shunt active power filters (SAPF) using a combination of Radial Basis Function Neural Network (RBFNN) and p-q power theory, demonstrating improved performance over traditional control methods. The RBFNN efficiently extracts compensation reference currents during distorted supply voltage conditions through a novel adaptive algorithm and hybrid learning method. Extensive simulations validate the effectiveness and robustness of the proposed approach in harmonic compensation and power quality enhancement.