Problems during construction and training of neural networks