<h3>Abstract</h3> This paper builds on the machine learning research to propose two new algorithms based on optimizing the Adaptive Neuro Fuzzy Inference System (ANFIS) with a dual-polarization antenna to predict pseudorange errors by considering multiple variables including the right-hand circular polarized (RHCP) signal strength, signal strength difference between the left-hand circular polarized (LHCP) and RHCP outputs, satellites’ elevation angle, and pseudorange residuals. The final antenna position is calculated following the application of the predicted pseudorange errors to correct for the effects of non-line-of-sight (NLOS) and multipath signal reception. The results show that the proposed algorithm results in a 30% improvement in the root mean square error (RMSE) in the 2D (horizontal) component for static applications when the training and testing data are collected at the same location. This corresponds to 13% to 20% when the testing data is from locations away from that of the training dataset.