Similar Items: Low-Cost GNSS Anti-Jamming Through 2-Bit Phase Shift Beamforming with Machine Learning