Learning with neural networks in high dimensions