Application of a neural network simulation to the modelling of the COMPTEL background