A substantially revised fourth edition of a comprehensive textbook, including new coverage of recent advances in deep learning and neural networks.