Online Textbooks
Below is a collection of free / open online textbooks at the interface between chemistry, materials and machine learning / AI.
Foundations
-
Introduction to Scientific ML
IntermediateOnline lecture-book on scientific machine learning with interactive coding tutorials for data analytics and uncertainty quantification.
Prior knowledge: Python, basic calculus, linear algebra
Estimated time: TODOscientific machine learningtextbooknotebooks
-
Bayesian Modeling and Computation in Python
IntermediateApplied textbook that walks through Bayesian computation using PyMC, ArviZ and TensorFlow Probability. Includes practical code-examples and notebooks. Tutorials included.
Prior knowledge: Probability theory, linear algebra, basic Python or R
Estimated time: 20–40 hoursbayesian statisticsprobabilistic programmingpython notebooks
-
Dive into Deep Learning
BeginnerInteractive textbook with Jupyter notebooks and runnable code (PyTorch, MXNet) for deep learning. Great hands-on start.
Prior knowledge: Basic Python programming, linear algebra
Estimated time: 30–60 hoursdeep learningnotebookspython
-
Geometric Deep Learning: Grids, Groups, Graphs, Geodesics, and Gauges
AdvancedAdvanced textbook covering geometric deep learning topics (manifolds, graphs, gauge theory) with some code examples. No heavy notebooks listed.
Prior knowledge: Deep learning, differential geometry, graph theory
Estimated time: 20–40 hoursgeometric deep learninggraph neural networksmanifolds
-
Interpretable Machine Learning
IntermediateBook for practitioners wanting to understand model interpretability. Includes Python notebook examples for many methods.
Prior knowledge: Machine learning basics, Python
Estimated time: 20–30 hoursinterpretable MLmachine learningpython
-
Understanding Deep Learning
IntermediateTextbook providing up-to-date deep learning topics (transformers, diffusion models) with exercises and interactive slides; some notebooks included.
Prior knowledge: Basic deep learning concepts, Python
Estimated time: 15–30 hoursdeep learningtransformersvisual explanations
-
An Introduction to Statistical Learning
IntermediateAccessible textbook on statistical learning, covering regression, classification, resampling methods, regularization, tree-based methods, SVMs, clustering, survival analysis, and more. Free PDF versions and video lectures are available, with R and Python labs at the end of each chapter for hands-on practice.
Prior knowledge: Basic probability and statistics, linear algebra, and some R or Python experience
Estimated time: 30–60 hours (full book with labs)statistical learningregression & classificationR/Python labs
Chemistry
-
Scientific Computing for Chemists with Python
Beginner To IntermediateOnline textbook on programming and scientific computing for chemists, featuring Python-based coding tutorials.
Prior knowledge: None, starts from basics of Python programming
Estimated time: 10 - 15 hours (basics) + 15-30 hours (advanced topics)pythonscientific computingchemistrytextbook
-
Deep Learning for Molecules and Materials
Beginner To IntermediateTextbook focused on deep learning approaches for molecules and materials. Contains Jupyter-book style chapters and notebook examples for hands-on learning.
Prior knowledge: Chemistry fundamentals, Python, basic ML
Estimated time: 15–30 hoursmoleculesdeep learningmaterials informatics