New to Artificial Intelligence? Read the Artificial Intelligence article
A clear, illustrated guide to large language models, covering key concepts and practical applications. Ideal for projects, interviews, or personal learning.
Learn how AI really works: 184 algorithms, from k-means to Transformers, with every equation explained and two hand-solved examples each.
Master language models through mathematics, illustrations, and code―and build your own from scratch!
It's never been easier to build an AI agent — and never been harder to make one that actually works. This book takes you from language model foundations to production-ready multi-agent systems with the depth to predict failure before it happens, engineer graceful degradation over catastrophic failure, and take absolute architectural ownership. Get the paperback from amazon.
Понятный иллюстрированный путеводитель по ключевым концепциям и практическим применениям больших языковых моделей. Идеально подходит для работы над проектами, подготовки к собеседованиям и самостоятельного обучения.
A model that wins on MAPE can lose money on the shelf. A 15% accuracy gain can hide a 12% bias. An interval that looks tight can be wrong a third of the time.Forecast metrics are decision instruments, not neutral truth detectors — and most teams are still choosing them by habit. This book shows where MAE, MAPE, sMAPE, WAPE, MASE, RMSSE, CRPS, pinball loss, energy scores, bias measures and cost-based metrics help, and where they quietly mislead.Twelve chapters take you from elicitation and baselines through intermittent demand, probabilistic and hierarchical scoring, and the accuracy–utility gap, to a production evaluation system with monitoring, drift detection, alerting and governance. Every metric arrives with its assumptions, every criticism carries a remedy, and a retrospective Walmart M5 case study runs throughout, with Python listings and reproducibility checks.For demand planners, forecasting data scientists, ML engineers and analytics leads who need evaluation choices they can defend. Measure what matters.
Build a tiny GPT from scratch, train it on your laptop in minutes, and chat with it in your browser. No API, no pretrained model, no GPU: just clear steps and code you understand line by line.
大規模言語モデル (LLM) の主要な概念から実践的な応用例まで、簡潔に図解されている学習ガイドです。プロジェクトでの利用、面接対策、個人的な学習にも最適です。
A practical guide to fine-tuning Large Language Models (LLMs), offering both a high-level overview and detailed instructions on how to train these models for specific tasks.Get the paperback version here. Get the Kindle version here.
Benefits of Studying This Book 1. Deep Conceptual Understanding You will understand why AI algorithms work, not just how to run them. This allows you to innovate, debug, and improve models. 2. Career Advantage Strong mathematical foundations make you stand out in interviews for AI, ML, and DS roles. Many recruiters test candidates on linear algebra and probability skills. 3. Research Readiness Postgraduate students and researchers can directly apply these mathematical tools to design and analyze experiments. 4. Practical AI Skills Python-based implementation examples ensure that you can directly apply mathematical concepts in real-world AI systems. 5. Interdisciplinary Edge Mathematics learned here is not limited to AI — it can be applied in robotics, quantum computing, finance, bioinformatics, and more. How This Book Helps After StudyAfter completing this book, you will be able to:· Build AI models from scratch, knowing exactly what mathematical operations are happening inside.· Optimize models for performance using a deep understanding of linear algebra operations.· Analyze and interpret model predictions probabilistically.· Handle uncertainty and noise in datasets effectively.· Implement advanced AI concepts like PCA, SVD, Bayesian inference, and Markov models without relying solely on pre-built libraries.This knowledge will directly help in:· Academics: Scoring well in AI/ML/DS university courses.· Industry: Working as an AI engineer, data scientist, ML engineer, or research scientist.· Competitive Exams: Preparing for GATE, NET, and other AI-related exams where mathematics is heavily tested.· Research: Publishing papers where mathematical rigor is required to explain new AI techniques.
이 책은 면접 준비, 프로젝트 진행, 또는 순수한 지적 호기심을 위해 대규모 언어 모델의 내부 구조와 작동 원리를 이해하고 싶은 모든 분들을 위한, 그림으로 설명하는 핵심 가이드입니다.
Büyük dil modellerine dair ana kavramları ve pratik uygulamaları kapsayan, açık ve görsellerle desteklenmiş bir rehber. Projeler, mülakatlar ve kişisel öğrenme için idealdir.
About the Book Running an LLM is one problem. Understanding its memory footprint, execution phases, and serving behavior is another.LLM Inference Engine Architecture explores the engineering behind language-model inference—from prefill and decode to KV-cache management, attention kernels, quantization, and request scheduling.Written for software engineers and ML engineers with a working knowledge of Python and transformer fundamentals, the book connects mathematical explanations with implementation examples and serving-system design considerations.What You Will ExploreInference fundamentals: Trace the request lifecycle and understand the different computational characteristics of prefill and decode.Memory budgeting: Work through model-weight and KV-cache estimates, including the effects of context length, KV-head count, precision, and concurrent sequences.Attention and memory management: Explore PagedAttention, non-contiguous KV allocation, and the relationship between attention computation and memory access.Quantization: Examine weight and KV-cache precision choices, including FP8 and low-bit weight-quantization approaches.Serving architecture: Study continuous batching, request scheduling, multi-GPU execution, and latency and throughput metrics.Kernel development: Explore CUDA and Triton concepts, kernel fusion, and a quantized matrix-multiplication case study.The book includes numerical examples, reference code, and an educational asynchronous serving simulator. These examples are intended to explain mechanisms and trade-offs—not to replace hardware-specific profiling or production validation.Read the sample to review the mathematical level, coding style, and scope before purchasing.
Closing Thoughts“Mathematics for Artificial Intelligence – II (Statistics and Optimization)” is more than a textbook—it is a guidebook for mastering the mathematics behind AI. While Volume I laid the foundation and your other book covered data science statistics, this volume pushes students, researchers, and practitioners into the advanced territory where modern AI thrives.Whether you want to become a machine learning engineer, AI researcher, data scientist, or academic scholar, mastering the material in this book will give you the edge to not only use AI tools but also innovate and push the boundaries of artificial intelligence.
Geopolitics is too late. Discover how the Naciro Engine uses AI to measure the pulse of nations in real-time, providing a 15-minute recalibration of global truth and power. Check the live data on https://nationfiles.com