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.
Sections
Scope and neighbouring sections, targeted versions, learning path, reading order and the concept-to-page map of the general pages. |
|
Tensors, autograd, nn.Module, training, performance, torch.compile and export, distributed training, torchvision and worked examples, on PyTorch 2.15. |
|
TensorFlow Core, Keras 3, tf.data, saving, distribution, serving, LiteRT and migration, on TensorFlow 2.21 and Keras 3.15. |
|
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. |
Related material on this site
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.
Courses and references
-
Google: Introduction to ML, Machine Learning Crash Course, Foundational courses, Problem Framing, Managing ML Projects, ML guides, Rules of Machine Learning, Deep Learning Tuning Playbook, Intro to Responsible AI and ML Glossary
-
Stanford: CS231n notes, CS231n course and CS229 notes
-
Open books: Dive into Deep Learning (1.0.3), Deep Learning by Goodfellow, Bengio and Courville, Understanding Deep Learning by Prince, Deep Learning: Foundations and Concepts by Bishop and Bishop, Reinforcement Learning: An Introduction by Sutton and Barto (2nd ed.; free PDF), ISLP, The Elements of Statistical Learning, Interpretable Machine Learning by Molnar and Distill
-
Courses: Hugging Face LLM course, Hugging Face Deep RL course, fast.ai, Kaggle Learn and Hugging Face Trending Papers (successor of Papers with Code)
Interoperability, MLOps and ecosystem
-
MLflow (classic ML) and DVC
-
JAX, Flax, XGBoost, LightGBM (repository), CatBoost, SHAP, Fairlearn, InterpretML, Captum, Diffusers, PyG, Gymnasium, Stable-Baselines3, PyTorch Lightning and safetensors
-
Responsible AI: NIST AI Risk Management Framework and ACM Code of Ethics (blocks scripted requests; open it in a browser)
Package metadata (version baseline)
Version numbers come from PyPI and each project’s release notes on 2026-10-30.
-
torch, torchvision, tensorflow, keras, tf-keras, scikit-learn, jax, onnx and onnxruntime
-
mlflow, optuna, xgboost, lightgbm, catboost, imbalanced-learn, skorch, scikeras, skl2onnx, skops, shap and fairlearn
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.
-
Training Deep Networks: Initialization, Normalization & Regularization
-
Embeddings & Representation Learning
-
Mikolov et al.: Efficient Estimation of Word Representations in Vector Space
-
Mikolov et al.: Distributed Representations of Words and Phrases and their Compositionality
-
Chen et al.: A Simple Framework for Contrastive Learning of Visual Representations
-
Dive into Deep Learning: Natural language processing: pretraining
-
Hardware, Memory & Mixed Precision
-
-
Books, Courses & Where to Follow Research
-
Stanford CS229: https://cs229.stanford.edu/
-
arXiv: https://arxiv.org/
-
TensorFlow release notes: https://github.com/tensorflow/tensorflow/releases
-
Keras documentation: https://keras.io/
-
scikit-learn documentation: https://scikit-learn.org/stable/
-
-
-
scikit-learn glossary of common terms and API elements: https://scikit-learn.org/stable/glossary.html
-
TensorFlow API documentation: https://www.tensorflow.org/api_docs
-
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).