From Newton to Neural Networks