{
    "products": [
        {
            "slug": "dive-into-deep-learning",
            "name": "Dive into Deep Learning",
            "kind": "book",
            "website": "https://d2l.ai/",
            "page": "https://listme.name/books/dive-into-deep-learning",
            "tagline": "Interactive free online deep learning book with runnable code",
            "summary": "Dive into Deep Learning is an interactive online book by Aston Zhang, Zack C. Lipton, Mu Li and Alex J. Smola. Each section is an executable Jupyter notebook that pairs math and figures with code in PyTorch, JAX, TensorFlow or MXNet. The full text is free on the web.",
            "author": "Aston Zhang, Zack C. Lipton, Mu Li and Alex J. Smola",
            "formats": [
                "web"
            ],
            "pricing": "free",
            "price_note": "Free to read on the web; no print edition on the site yet",
            "free_to_use": true,
            "open_source": false,
            "strengths": [
                "Each section is a runnable notebook",
                "The same material in several frameworks",
                "Free to read on the web"
            ],
            "limits": [
                "Web-first, with no finished print edition listed",
                "Less theory than the Goodfellow text"
            ],
            "checked": "2026-10-10",
            "connected_to_publisher": false,
            "cover": "https://listme.name/assets/covers/dive-into-deep-learning.webp",
            "overview": "The book teaches deep learning through short sections, and each section pairs a concept with working code. The site covers preliminaries, linear and convolutional networks, sequence models, attention, optimization and applications in vision and language. Recent additions include reinforcement learning, Gaussian processes and transformers.\n\nThe text is free on the web and maintained as an open source project. Because it supports several frameworks, readers can follow the same material in PyTorch, TensorFlow, JAX or MXNet. It suits students who learn by running notebooks. The site shows fewer theoretical proofs than the Goodfellow text, so readers who want the derivations will need a second source."
        },
        {
            "slug": "mathematics-for-machine-learning",
            "name": "Mathematics for Machine Learning",
            "kind": "book",
            "website": "https://mml-book.github.io/",
            "page": "https://listme.name/books/mathematics-for-machine-learning",
            "tagline": "Math foundations for machine learning with a free PDF from the authors",
            "summary": "Mathematics for Machine Learning is a 2020 Cambridge University Press textbook by Marc Peter Deisenroth, A. Aldo Faisal and Cheng Soon Ong. It covers linear algebra, analytic geometry, matrix decompositions, vector calculus, probability and optimization. The authors keep a free PDF online.",
            "author": "Marc Peter Deisenroth, A. Aldo Faisal and Cheng Soon Ong",
            "formats": [
                "pdf",
                "print"
            ],
            "pricing": "free",
            "price_note": "Free PDF from the authors; printed edition from Cambridge",
            "free_to_use": true,
            "open_source": false,
            "strengths": [
                "Free PDF from the authors",
                "Connects the math to specific machine learning methods",
                "Errata and exercise solutions online"
            ],
            "limits": [
                "Few worked code examples",
                "Assumes comfort with university-level mathematics"
            ],
            "checked": "2026-10-10",
            "connected_to_publisher": false,
            "cover": "https://listme.name/assets/covers/mathematics-for-machine-learning.webp",
            "overview": "The book has two parts. The first covers the mathematical foundations: linear algebra, analytic geometry, matrix decomposition, vector calculus, probability and continuous optimization. The second applies that material to four machine learning problems: linear regression, dimensionality reduction, density estimation with mixture models, and classification with support vector machines.\n\nThe authors wrote it to motivate mathematical concepts for readers who will use machine learning methods, and they kept it shorter than a full mathematics course. The companion site links the PDF, errata and solutions to exercises. It suits students and practitioners who want the math behind common methods, though it has few worked code examples."
        }
    ],
    "differences": [],
    "shared_rankings": [
        {
            "list": "ai-and-machine-learning-books",
            "name": "AI and machine learning books",
            "page": "https://listme.name/best/ai-and-machine-learning-books",
            "of": 13,
            "results": [
                {
                    "product": "dive-into-deep-learning",
                    "rank": 3,
                    "score": 91,
                    "verdict": "Free runnable notebooks in several frameworks make it the most hands-on free option here. It covers less theory than the Goodfellow text, and it has no finished print edition listed.",
                    "best_for": "Hands-on deep learning with free notebooks",
                    "spec": {
                        "level": "Intermediate",
                        "free_online": true,
                        "latest_edition": "Continuously updated online",
                        "math_depth": "Moderate: calculus and linear algebra"
                    }
                },
                {
                    "product": "mathematics-for-machine-learning",
                    "rank": 7,
                    "score": 85.5,
                    "verdict": "Connects the mathematics directly to regression, PCA and support vector machines, with a free PDF. It has few code examples, so it works best alongside a practical text.",
                    "best_for": "Math behind classic machine learning methods",
                    "spec": {
                        "level": "Advanced",
                        "free_online": true,
                        "latest_edition": "2020, Cambridge University Press",
                        "math_depth": "Heavy: university mathematics"
                    }
                }
            ]
        }
    ],
    "ranks_higher_in_closest_shared_list": "dive-into-deep-learning",
    "page": "https://listme.name/compare/dive-into-deep-learning-vs-mathematics-for-machine-learning",
    "json": "https://listme.name/api/v1/compare/dive-into-deep-learning-vs-mathematics-for-machine-learning.json",
    "notes": [
        "Scores are editorial and only comparable inside one list. Products with connected_to_publisher true receive a disclosed ranking lift: https://listme.name/methodology"
    ],
    "source": "https://listme.name",
    "license": "Free to read and cite with attribution to listme.name.",
    "docs": "https://listme.name/developers"
}