On the use of machine learning in microphone array beamforming for far-field sound source localization