On the Use of Machine Learning in Microphone Array Beamforming for Far-field Sound Source Localization