The basis of neural networks