procedure can be found in: P. Lladó, P. Hyvärinen, V. Pulkki: Auditory model -based estimation of the effect of head-worn devices on frontal horizontal localisation.
You can use this demo to train your own network. Feel free to experiment with different conditions, subjective data, parameters of the NN, or even for different purposes. (Let me know if you are going to try this option and I will help you to make it work).