Understanding Machine Learning: From Theory to Algorithms
Abstract
Machine learning is one of the fastest growing areas of computer science, with far-reaching applications. The aim of this textbook is to introduce machine learning, and the algorithmic paradigms it offers, in a principled way. The book provides a theoretical account of the fundamentals underlying machine learning and the mathematical derivations that transform these principles into practical algorithms. Following a presentation of the basics, the book covers a wide array of central topics unaddressed by previous textbooks. These include a discussion of the computational complexity of learning and the concepts of convexity and stability; important algorithmic paradigms including stochastic gradient descent, neural networks, and structured output learning; and emerging theoretical concepts such as the PAC-Bayes approach and compression-based bounds. Designed for advanced undergraduates or beginning graduates, the text makes the fundamentals and algorithms of machine learning accessible to students and non-expert readers in statistics, computer science, mathematics and engineering.
Integrity signals
Registry
Cites
Statistics
Claims the paper makes
Claims other papers make about this one
Each is checked against this paper’s own text: does it say what the citing paper says it does?
MAE and MAPE are commonly used measures in machine learning and provide a more natural and intuitive measure of model performance.
“MAE and MAPE are commonly used measures in ML [9] and provide a more natural and intuitive measure of model performance [12,13].”
From Turnaround time prediction for clinical chemistry samples using machine learning (2022) · cites this paper as [9]
The fundamental principle in statistical learning is that in great generality it suffices to approximately minimize the empirical loss.
“The fundamental principle in statistical learning is that in great generality it suffices to approximately minimize the empirical loss, which is L n ( θ ) = 1 n ∑ n i =1 ℓ ( Z i , θ ) .”
From Beyond Statistical Learning: Exact Learning Is Essential for General Intelligence (2025) · cites this paper as Shalev-Shwartz and Ben-David, 2014
There is an elementary upper bound that matches the lower bound up to an O(log|H|) factor.
“Note that there is an elementary upper bound that matches the lower bound up to an O (log |H| ) factor (Shalev-Shwartz and Ben-David, 2014).”
From Beyond Statistical Learning: Exact Learning Is Essential for General Intelligence (2025) · cites this paper as Shalev-Shwartz and Ben-David, 2014
Cites
Breiman, L. (2001) · Machine Learning · doi:10.1023/a:1010933404324 · Cited by 133,538 · see citing works
Constructing optimal binary decision trees is NP-complete
Hyafil, L., & Rivest, R. L. (1976) · Information Processing Letters · doi:10.1016/0020-0190(76)90095-8 · Cited by 959 · see citing works
Flagged first, then by citations
Cited by
Sorted by citations
Sim, S., Johnson, P. D., & Aspuru‐Guzik, A. (2019) · Advanced Quantum Technologies · doi:10.1002/qute.201900070 · Cited by 972 · see citing works
BitFit: Simple Parameter-efficient Fine-tuning for Transformer-based Masked Language-models
Ben Zaken, E., Goldberg, Y., & Ravfogel, S. (2022) · Proceedings of the 60th Annual Meeting of the Association for Computational Linguistics (Volume 2: Short Papers) · doi:10.18653/v1/2022.acl-short.1 · Cited by 765 · see citing works
The use of machine learning algorithms in recommender systems: a systematic review
Portugal, I., Alencar, P., & Cowan, D. (2018) · Expert Systems with Applications · doi:10.1016/j.eswa.2017.12.020 · Cited by 743 · see citing works
Effect of data encoding on the expressive power of variational quantum-machine-learning models
Schuld, M., Sweke, R., & Meyer, J. J. (2021) · Physical Review A · doi:10.1103/physreva.103.032430 · Cited by 739 · see citing works
Bourtoule, L., Chandrasekaran, V., Choquette-Choo, C. A., Jia, H., Travers, A., Zhang, B., Lie, D., & Papernot, N. (2021) · 2021 IEEE Symposium on Security and Privacy (SP) · doi:10.1109/sp40001.2021.00019 · Cited by 810 · see citing works
Big data for development: a review of promises and challenges
Hilbert, M. (2016) · Development Policy Review · doi:10.1111/dpr.12142 · Cited by 679 · see citing works
Neural Network Methods for Natural Language Processing
Goldberg, Y. (2017) · Synthesis Lectures on Human Language Technologies · doi:10.1007/978-3-031-02165-7 · Cited by 821 · see citing works
Why and when can deep-but not shallow-networks avoid the curse of dimensionality: A review
Poggio, T., Mhaskar, H., Rosasco, L., Miranda, B., & Liao, Q. (2017) · International Journal of Automation and Computing · doi:10.1007/s11633-017-1054-2 · Cited by 559 · see citing works
A Very Brief Introduction to Machine Learning With Applications to Communication Systems
Simeone, O. (2018) · IEEE Transactions on Cognitive Communications and Networking · doi:10.1109/tccn.2018.2881442 · Cited by 516 · see citing works
Accelerating Federated Learning via Momentum Gradient Descent
Liu, W., Chen, L., Chen, Y., & Zhang, W. (2020) · IEEE Transactions on Parallel and Distributed Systems · doi:10.1109/tpds.2020.2975189 · Cited by 374 · see citing works
A review of deep learning applications for genomic selection
Montesinos-López, O. A., Montesinos-López, A., Pérez-Rodríguez, P., Barrón-López, J. A., Martini, J. W. R., Fajardo-Flores, S. B., Gaytan-Lugo, L. S., Santana-Mancilla, P. C., & Crossa, J. (2021) · BMC Genomics · doi:10.1186/s12864-020-07319-x · Cited by 361 · see citing works
Learning to Localize Sound Source in Visual Scenes
Senocak, A., Oh, T.-H., Kim, J., Yang, M.-H., & Kweon, I. S. (2018) · 2018 IEEE/CVF Conference on Computer Vision and Pattern Recognition · doi:10.1109/cvpr.2018.00458 · Cited by 328 · see citing works
When the Machine Meets the Expert: An Ethnography of Developing AI for Hiring
van den Broek, E., Sergeeva, A., & Huysman, M. (2021) · MIS Quarterly · doi:10.25300/misq/2021/16559 · Cited by 330 · see citing works
When Edge Meets Learning: Adaptive Control for Resource-Constrained Distributed Machine Learning
Wang, S., Tuor, T., Salonidis, T., Leung, K. K., Makaya, C., He, T., & Chan, K. (2018) · IEEE INFOCOM 2018 - IEEE Conference on Computer Communications · doi:10.1109/infocom.2018.8486403 · Cited by 209 · see citing works
Artificial Intelligence in Medical Sensors for Clinical Decisions
Haick, H., & Tang, N. (2021) · ACS Nano · doi:10.1021/acsnano.1c00085 · Cited by 231 · see citing works
Uncertainty as a Form of Transparency: Measuring, Communicating, and Using Uncertainty
Bhatt, U., Antorán, J., Zhang, Y., Liao, Q. V., Sattigeri, P., Fogliato, R., Melançon, G., Krishnan, R., Stanley, J., Tickoo, O., et al. (2021) · Proceedings of the 2021 AAAI/ACM Conference on AI, Ethics, and Society · doi:10.1145/3461702.3462571 · Cited by 225 · see citing works
Stochastic gradient descent for hybrid quantum-classical optimization
Sweke, R., Wilde, F., Meyer, J., Schuld, M., Faehrmann, P. K., Meynard-Piganeau, B., & Eisert, J. (2020) · Quantum · doi:10.22331/q-2020-08-31-314 · Cited by 219 · see citing works
Machine learning applied to software testing: A systematic mapping study
Durelli, V. H. S., Durelli, R. S., Borges, S. S., Endo, A. T., Eler, M. M., Dias, D. R. C., & Guimaraes, M. P. (2019) · IEEE Transactions on Reliability · doi:10.1109/tr.2019.2892517 · Cited by 207 · see citing works
General Pitfalls of Model-Agnostic Interpretation Methods for Machine Learning Models
Molnar, C., König, G., Herbinger, J., Freiesleben, T., Dandl, S., Scholbeck, C. A., Casalicchio, G., Grosse-Wentrup, M., & Bischl, B. (2022) · Lecture Notes in Computer Science · doi:10.1007/978-3-031-04083-2_4 · Cited by 211 · see citing works
Leveraging Uncertainty in Machine Learning Accelerates Biological Discovery and Design
Hie, B., Bryson, B. D., & Berger, B. (2020) · Cell Systems · doi:10.1016/j.cels.2020.09.007 · Cited by 154 · see citing works
Machine Learning in Antenna Design: An Overview on Machine Learning Concept and Algorithms
Misilmani, H. M. E., & Naous, T. (2019) · 2019 International Conference on High Performance Computing & Simulation (HPCS) · doi:10.1109/hpcs48598.2019.9188224 · Cited by 149 · see citing works
Machine Learning on Mainstream Microcontrollers
Sakr, F., Bellotti, F., Berta, R., & De Gloria, A. (2020) · Sensors · doi:10.3390/s20092638 · Cited by 109 · see citing works
Remember What You Want to Forget: Algorithms for Machine Unlearning
Sekhari, A., Acharya, J., Kamath, G., & Suresh, A. T. (2021) · arXiv · doi:10.48550/arxiv.2103.03279 · Cited by 99 · see citing works
Machine Learning in Human Olfactory Research
Lötsch, J., Kringel, D., & Hummel, T. (2019) · Chemical Senses · doi:10.1093/chemse/bjy067 · Cited by 71 · see citing works
Applications and Challenges of Artificial Intelligence in Space Missions
Oche, P. A., Ewa, G. A., & Ibekwe, N. (2024) · IEEE Access · doi:10.1109/access.2021.3132500 · Cited by 68 · see citing works
Taking Advantage of Multitask Learning for Fair Classification
Oneto, L., Doninini, M., Elders, A., & Pontil, M. (2019) · Proceedings of the 2019 AAAI/ACM Conference on AI, Ethics, and Society · doi:10.1145/3306618.3314255 · Cited by 64 · see citing works
Feature Selection Boosted by Unselected Features
Zheng, W., Chen, S., Fu, Z., Zhu, F., Yan, H., & Yang, J. (2022) · IEEE Transactions on Neural Networks and Learning Systems · doi:10.1109/tnnls.2021.3058172 · Cited by 51 · see citing works
What rules? Framing the governance of artificial agency
Gahnberg, C. (2021) · Policy and Society · doi:10.1080/14494035.2021.1929729 · Cited by 35 · see citing works
A theoretical framework for deep transfer learning
Galanti, T., Wolf, L., & Hazan, T. (2016) · Information and Inference · doi:10.1093/imaiai/iaw008 · Cited by 29 · see citing works
Turnaround time prediction for clinical chemistry samples using machine learning
Tsai, E. R., Demirtas, D., Hoogendijk, N., Tintu, A. N., & Boucherie, R. J. (2022) · Clinical Chemistry and Laboratory Medicine (CCLM) · doi:10.1515/cclm-2022-0668 · Cited by 17 · see citing works
Software estimation: towards prescriptive analytics
Pospieszny, P. (2017) · Proceedings of the 27th International Workshop on Software Measurement and 12th International Conference on Software Process and Product Measurement · doi:10.1145/3143434.3143459 · Cited by 14 · see citing works
Testing conditional independence in supervised learning algorithms
Watson, D. S., & Wright, M. N. (2021) · Machine Learning · doi:10.1007/s10994-021-06030-6 · Cited by 13 · see citing works
Wang, X., Liang, Z., Koe, A. S. V., Wu, Q., Zhang, X., Li, H., & Yang, Q. (2022) · International Journal of Intelligent Systems · doi:10.1002/int.22727 · Cited by 11 · see citing works
Ahmadi‐Assalemi, G., Al‐Khateeb, H., Benson, V., Adamyk, B., & Ammi, M. (2025) · IET Cyber-Physical Systems: Theory & Applications · doi:10.1049/cps2.70004 · Cited by 10 · see citing works
Beyond Statistical Learning: Exact Learning Is Essential for General Intelligence
György, A., Lattimore, T., Lazić, N., & Szepesvári, C. (2025) · arXiv · doi:10.48550/arxiv.2506.23908
- Authors
- Shalev-Shwartz, S., & Ben-David, S.
- Affiliations
- University of Waterloo (CA)
- Venue
- Cambridge University Press eBooks
- Publisher
- Cambridge University Press
- Published
- 2014-05-19
- OpenAlex
- W4236362309
- Cited by
- 3,115
- References
- 2
- Citations by year
- 2026: 223 · 2025: 388 · 2024: 404 · 2023: 431 · 2022: 439 · 2021: 379 · 2020: 383 · 2019: 192 · 2018: 150 · 2017: 70 · 2016: 35 · 2015: 17 · 2014: 3 · 2013: 1
- FWCI
- 17.97
- Type
- book
- Language
- en
- Open access
- closed
- Locations
- Cambridge University Press eBooks (publishedVersion)
- Topics
- Physical Sciences › Computer Science › Artificial Intelligence › Machine Learning and Algorithms
- Physical Sciences › Computer Science › Artificial Intelligence › Stochastic Gradient Optimization Techniques
- Physical Sciences › Computer Science › Artificial Intelligence › Neural Networks and Applications
- Keywords
- machine learning theory, computational complexity of learning, convexity, stability, stochastic gradient descent, artificial neural networks, structured prediction, PAC-Bayes, learning algorithms
About these checks
Registry, retraction, Cites and statistics results are computed, not judged, with one exception: a printed reference that no index lists is read once by a model before it counts as a citation error. Claims are extracted by a model and kept only when their quote appears verbatim in the text; each cited source is then checked, with a model’s help, for whether it says what the claim relies on. Those verdicts can be wrong — read the claim’s quote and the cited source before relying on one.
Statistics and arithmetic are recomputed, not judged.
Confidence bands are shown only for fields calibrated on our annotated test set. None is calibrated yet, so no band is shown.
What counts as a claim ›How we measure confidence ›How we check this ›
Are you an author, or do you see a problem with this page? Request a review