ML (Machine Learning)

This content was generated with the assistance of AI and should be verified against the official documentation before being relied on in production.

Machine learning builds programs that improve at a task by learning from data instead of following hand-written rules. This section explains how that works and how to do it with the main Python frameworks. The general pages cover the ideas that apply everywhere: problem framing, the mathematics, optimisation, generalisation, neural-network architectures, hardware, deployment and responsible use. Three framework sub-sections then go deep into PyTorch, TensorFlow with Keras 3 and scikit-learn.

The overview states the scope of the section and where it ends, the targeted versions, the learning path and reading order, and a map from every concept to the page that covers it.

PyTorch
TensorFlow
scikit-learn

Sections

Overview

Scope and neighbouring sections, targeted versions, learning path, reading order and the concept-to-page map of the general pages.

PyTorch

Tensors, autograd, nn.Module, training, performance, torch.compile and export, distributed training, torchvision and worked examples, on PyTorch 2.15.

TensorFlow

TensorFlow Core, Keras 3, tf.data, saving, distribution, serving, LiteRT and migration, on TensorFlow 2.21 and Keras 3.15.

scikit-learn

The machine-learning pages that go beyond the Data Science section: more models, practice at scale and bridges to deep learning, on scikit-learn 1.9.

See Data Science for the workflow around a model and Artificial Intelligence for large language models and applications.

Bibliography

All official links below were opened on 2026-10-30. The bibliography of each framework sub-section lists the sources of its own pages: PyTorch, TensorFlow and scikit-learn.

Package metadata (version baseline)

Version numbers come from PyPI and each project’s release notes on 2026-10-30.

Sources cited by individual pages

The official sources below are cited in the References section of one page each; a source shared by several pages is listed once, under the first page that cites it.

Books

Publisher pages, opened on 2026-10-30. Some publisher sites block automated requests, so open them in a browser. The PDFs of these books are never part of this site; they were used for structure and theory only, and every code example follows the official documentation.

  • Aurélien Géron, Hands-On Machine Learning with Scikit-Learn and PyTorch, O’Reilly, 2025 (ISBN 979-8-341-60798-9): publisher page.

  • Aurélien Géron, Hands-On Machine Learning with Scikit-Learn, Keras, and TensorFlow, 2nd ed., O’Reilly, 2019 (ISBN 978-1-492-03264-9): publisher page.

  • Aurélien Géron, Hands-On Machine Learning with Scikit-Learn and TensorFlow, O’Reilly, 2017 (ISBN 978-1-491-96229-9): publisher page.

  • Delip Rao and Brian McMahan, Natural Language Processing with PyTorch, O’Reilly, 2019 (ISBN 978-1-491-97823-8): publisher page.

  • Jay Alammar and Maarten Grootendorst, Hands-On Large Language Models, O’Reilly, 2024 (ISBN 978-1-098-15096-9): publisher page.

  • Ivan Vasilev, Daniel Slater, Gianmario Spacagna, Peter Roelants and Valentino Zocca, Python Deep Learning, 2nd ed., Packt, 2019 (ISBN 978-1-78934-846-0): publisher page.

  • Sandro Skansi, Introduction to Deep Learning, Springer, 2018 (ISBN 978-3-319-73003-5): publisher page.

  • Pradeepta Mishra, PyTorch Recipes, Apress, 2019 (ISBN 978-1-4842-4257-5): publisher page.

  • Vishnu Subramanian, Deep Learning with PyTorch, Packt, 2018 (ISBN 978-1-78862-433-6): publisher page.

  • Reza Bosagh Zadeh and Bharath Ramsundar, TensorFlow for Deep Learning, O’Reilly, 2018 (ISBN 978-1-491-98045-3): publisher page.

  • Tom Hope, Yehezkel S. Resheff and Itay Lieder, Learning TensorFlow, O’Reilly, 2017 (ISBN 978-1-491-97851-1): publisher page.

  • Sebastian Raschka, Python Machine Learning, Packt, 2015 (ISBN 978-1-78355-513-0): publisher page.

  • Stephen Marsland, Machine Learning: An Algorithmic Perspective, 2nd ed., CRC Press, 2015 (ISBN 978-1-4665-8328-3): publisher page.

  • LazyProgrammer, Deep Learning in Python, self-published, 2016: catalogue entry (the book has no publisher page).