Leanpub Header

Skip to main content

Filters

Category: "Python"

Python

  1. Mastering CatBoost: The Hidden Gem of Tabular AI
    Mastering CatBoost: The Hidden Gem of Tabular AI
    Harness the Power of CatBoost for Tabular Data and Beyond
    Valery Manokhin

    Unlock the full potential of CatBoost — a powerful gradient boosting library built for structured/tabular data and still underused in practice.In Mastering CatBoost: The Hidden Gem of Tabular AI, you’ll learn how to take advantage of CatBoost’s key strengths: native categorical feature handlingstrong accuracy, and fast inference — without brittle preprocessing pipelines.Written for data scientists, ML engineers, and applied researchers, the book covers:Real-world use cases and end-to-end workflowsPractical tuning strategies and diagnosticsInterpretability with SHAP, feature importance, and constraintsDeployment-minded best practices and common failure modesWhether you’re new to CatBoost or ready to go deeper, this is a clear, practical guide to building high-performance tabular models.Early Access is available now, with ongoing updates leading to the full release in 2026.

  2. Discrete Mathematics for Computer Science
    Discrete Mathematics for Computer Science
    Alexander S. Kulikov, Alexander Golovnev, Alexander Shen, Vladimir Podolskii, and Marie Brodsky

    This book supplements the DM for CS Specialization at Coursera and contains many interactive puzzles, autograded quizzes, and code snippets. They are intended to help you to discover important ideas in discrete mathematics on your own. By purchasing the book, you will get all updates of the book free of charge when they are released.

  3. 100 LLM Autopsies
    100 LLM Autopsies
    What broke, why nobody noticed, and how it was found
    Hatem M.

    A model that crashes is a good day. The dangerous failures return answers — plausible, fluent, and wrong. 100 failures. 63 diagnostic instruments. One rule: inspect what actually happened.

  4. Interpreting Machine Learning Models With SHAP
    Interpreting Machine Learning Models With SHAP
    A Guide With Python Examples And Theory On Shapley Values
    Christoph Molnar

    Master machine learning interpretability with this comprehensive guide to SHAP – your tool to communicating model insights and building trust in all your machine learning applications.

  5. Claude Code Masterclass
    Claude Code Masterclass
    Build Real-World Software with Claude Code, AI Workflows, and Hands-On Projects
    Luca Berton

    Learn Claude Code by building real projects. This hands-on companion turns the Claude Code Masterclass workshop into a practical self-paced guide for planning, coding, testing, reviewing, refactoring, and shipping software with AI.

  6. Machine Learning in Python for Process and Equipment Condition Monitoring, and Predictive Maintenance

    This book provides a guided tour of ML techniques utilized in process industry for plant health management. Step-by-step instructions, supported with industrial-scale process datasets, show how to develop ML-based solutions for equipment condition monitoring, plantwide monitoring, and predictive maintenance solutions. Also available at Google Play 

  7. Learning PySide6
    Learning PySide6
    A Practical Guide to Building GUI Applications with Python and Qt6
    Budi Raharjo

    Working with PySide6 should not depend on trial and error. This book replaces fragmented learning with a structured approach, combining in-depth explanations and dependable code examples that move you forward with confidence.

  8. Python Programming: Basics to Advanced Concepts

    Want to learn Python from the ground up and master its real-world applications?Python Programming: Basics to Advanced Concepts is your complete guide to one of the world's most powerful and versatile programming languages. Whether you are a BCA or MCA student, an aspiring software developer, a competitive examination candidate, or a technology enthusiast, this book provides a structured learning path from Python fundamentals to advanced programming techniques.Inside this book, you will learn:✔ Python syntax, variables, data types, and operators✔ Conditional statements, loops, and functions✔ Lists, tuples, dictionaries, sets, and strings✔ Object-Oriented Programming (OOP)✔ Exception handling and file management✔ Modules, packages, generators, and decorators✔ Database programming with SQLite and MySQL✔ GUI development using Tkinter✔ Web development with Flask and Django✔ Data analysis using NumPy and Pandas✔ Machine Learning fundamentals with Python✔ Network programming and cybersecurity applications✔ Testing, debugging, and performance optimization✔ End-to-end Python project developmentThe book combines academic rigor with practical learning, offering clear explanations, coding examples, exercises, and real-world applications throughout every chapter.Whether your goal is to excel in university examinations, prepare for interviews, build software projects, or launch a professional programming career, this book provides the knowledge, skills, and confidence required to become a proficient Python developer.Start your Python journey today and unlock opportunities in software development, data science, artificial intelligence, cybersecurity, automation, and beyond.

  9. My Adventures with Large Language Models
    My Adventures with Large Language Models
    Build foundational LLMs from Transformers to DeepSeek, from scratch, in PyTorch.
    Prathamesh S.

    Build GPT-2, Llama 3, and DeepSeek from scratch in PyTorch. Every chapter has runnable end-to-end code and loads real pretrained weights. Goes well past where most LLM tutorials stop.

  10. LLM Quantization
    LLM Quantization
    From the Bits Up
    Hatem M.

    Anyone can run INT4 and read off the accuracy drop. This book explains why that number is what it is — building every quantization method from scratch, breaking it on purpose, and measuring the result. Quantization, from the bits up.

  11. Next Generation Python
    Next Generation Python
    Free-Threading, Rust Extensions, and High-Performance Python
    Steve Publications

    Python is entering a new performance era. Explore free-threaded execution, Rust extensions and modern tools for building faster, more scalable Python systems. Learn how CPython is changing, when Rust makes sense and how to turn these ideas into production-ready software.

  12. Practical Pydantic
    Practical Pydantic
    The Missing Guide to Data Validation in Python
    Nuno Bispo

    Bad data breaks good code. You’ve written Python that works perfectly in testing, only to watch it fail in production because of a malformed API request, a messy CSV, or a missing config value. That’s the hidden cost of Python’s flexibility: without runtime validation, you’re always one bad input away from a crash. Enter Pydantic. This book takes you from the foundations of data validation to real-world applications in APIs, data pipelines, configurations, and machine learning workflows. Along the way, you’ll explore practical techniques, advanced features, and alternatives like Marshmallow, attrs, and dataclasses, so you’ll always know which tool is right for the job. If you’re a Python developer, data engineer, or FastAPI user, this is your roadmap to writing safer, cleaner, and more reliable code.

  13. System Identification for Engineers
    System Identification for Engineers
    A Practical Guide to Building Accurate Models from Real Data
    Alex Morgan

    Most engineering models come from measurement, not derivation — even when the physics is well understood. This book teaches the practical core of system identification: designing experiments that actually excite the dynamics you care about, fitting the right model structure without overfitting, validating it honestly, and handing it off in the form an MPC controller or Kalman filter needs. Runnable Python throughout, plus three full case studies: a DC motor, a drone attitude axis, and a battery model.

  14. Data Science From Scratch (Part 2) — Business Machine Learning

    Completely hands-on so that you can start the real work!

  15. Computer graphics in Python
    Computer graphics in Python
    Advanced vector graphics using Pycairo and Python
    Martin McBride

    Pycairo is a great library for creating high quality vector graphics in Python. This book covers the full features of the library in detail, with practical code examples and illustrations, from an author with many years experience in computer graphics software.