liveBook · Manning

Bias

Bias is a systematic deviation or tendency in data, measurements, estimates, judgments, or outputs that skews them relative to a relevant target or impartial baseline.

How 28 Manning books explain it

Grokking Machine Learning

Systematic distortion in data or model behavior that can produce unfair or unrepresentative outcomes.

How it is used
Uses bias as the constant that helps regression predict prices and perceptrons classify sentences, while distinguishing historical bias in data.
How deep it goes
Defines the constant, illustrates its effect on regression lines and classification thresholds, and sketches repeated updates rather than deriving them here.
Examples
Uses a $100 house base price, a word-count sentiment threshold, and historical Titanic passenger data.
What you can do after
Build it from scratch by adjusting a regression model’s bias alongside its weights to improve predictions.

Read how Grokking Machine Learning explains bias →

LLMs in Production

A systematic pattern in model outputs that reflects skewed data or assumptions and produces inaccurate or unfair representations.

How it is used
Identifies learned output patterns that can distort representation or promote stereotypes, making bias a concern for data preparation and model evaluation.
How deep it goes
Explains data-driven causes and group-based testing with metrics and datasets, without deriving a mathematical bias measure.
Examples
Uses “leader” images, gendered prompt completions scored with HONEST, and matched-pronoun WinoBias prompts.
What you can do after
Apply it via Hugging Face Evaluate and group-specific prompt datasets to identify differences in model completions.

Read how LLMs in Production explains bias →

Grokking Statistics

Model bias is systematic prediction error arising when a model's rigid assumptions prevent it from adequately representing the data.

How it is used
Use bias to question whether data, metrics, and predictive models support the claims made from them.
How deep it goes
Defines sampling and model bias, then explains self-selection, measurement choices, and the bias-variance tradeoff without formal derivation.
Examples
Uses family photographs, a dorm sleep survey, 3D-printer filament measurements, and a toddler-meltdown model.
What you can do after
Evaluate/understand whether a dataset or model warrants its intended claim by checking representation, context, and rigidity.

Read how Grokking Statistics explains bias →

Demand Forecasting Best Practices

Forecast bias is the systematic tendency of forecasts to overestimate or underestimate actual demand.

How it is used
Evaluates whether demand forecasts systematically over- or under-estimate demand alongside accuracy for planning decisions.
How deep it goes
Defines bias, derives it from average forecast error, works an example, and explains metric and process limitations.
Examples
Uses a four-period demand-and-forecast table and contrasts accurate biased forecasts with inaccurate unbiased forecasts.
What you can do after
Apply it via Excel or KPI reporting to calculate bias, pair it with MAE, and investigate persistent over- or under-forecasting.

Read how Demand Forecasting Best Practices explains bias →

The Art of AI Product Development

Bias is a systematic skew in data, model behavior, or outcomes that produces unequal or inaccurate results.

How it is used
Frames unfair AI outcomes as a product-governance risk requiring safeguards across development and deployment.
How deep it goes
Distinguishes training-data, algorithmic, and feedback-loop bias, then gives audit and monitoring practices without deriving fairness measures.
Examples
Uses applicant scoring, educational-background proxies, biased hiring history, and underrepresented language-model responses.
What you can do after
Diagnose/debug with it by tracing skewed outcomes to data, algorithms, or feedback loops and selecting corresponding checks.

Read how The Art of AI Product Development explains bias →

Effective Data Analysis

Bias is a systematic pattern of error or unequal treatment that produces unfair or disadvantageous outcomes for particular groups.

How it is used
Frames bias as a risk when analytics or automated decisions shape hiring, customer support, and other consequential outcomes.
How deep it goes
Explains historical data and designer rules as bias pathways through applied cases, without providing an audit procedure or fairness metric.
Examples
Uses a resume-ranking failure and customer-support ticket categorization to show how biased outcomes can affect people.
What you can do after
Evaluate/understand it by questioning training data, subgroup impacts, and whether an automated decision can be trusted.

Read how Effective Data Analysis explains bias →

Hacking Cryptography

A systematic deviation in the probabilities of RC4 key-scheduling or keystream outcomes from the uniform behavior expected under the ideal model.

How it is used
Motivates why nonuniform random choices and RC4 outputs enable practical key guessing.
How deep it goes
Works through the FMS procedure from weak-IV construction and KSA equations to frequency-based key recovery.
Examples
Uses date-shaped passwords and WEP packets with [L, 255, X] IVs, including high- and low-volume recovery runs.
What you can do after
Diagnose/debug with it by recognizing when repeated observations and frequency counts can expose biased key or keystream values.

Read how Hacking Cryptography explains bias →

Introduction to Generative AI, Second Edition

Bias in an AI model is a systematic tendency for its outputs or errors to reflect unfair, skewed, or otherwise undesirable patterns.

How it is used
Frames unequal model outputs across personal identity attributes as a risk of large language models.
How deep it goes
Defines bias, traces several entry points, and illustrates harm; stops short of a procedural bias audit.
Examples
Uses stereotypes in internet data and a 2024 audit in which identical resumes received different rankings by name.
What you can do after
Evaluate/understand how data and deployment can produce unequal outputs, and why mitigation does not guarantee their removal.

Read how Introduction to Generative AI, Second Edition explains bias →

Starting Data Analytics with Generative AI and Python

Bias is a systematic preference or assumption that can distort the selection or interpretation of information, including generative-model outputs.

How it is used
Uses bias checks to question whether generative-AI-assisted analytics unfairly favors groups or overlooks relevant information.
How deep it goes
Defines four bias types and gives monitoring and mitigation methods, while leaving correction of a pretrained model’s internal bias to its provider.
Examples
Illustrates bias risks with residential-loan default advice and Python filtering of Portuguese customer reviews by positive keywords.
What you can do after
Diagnose/debug with it by comparing groups, inspecting error patterns, and checking whether input data or output adjustments distort decisions.

Read how Starting Data Analytics with Generative AI and Python explains bias →

Machine Learning for Tabular Data: XGBoost, Deep Learning, and AI

Bias is systematic prediction error arising from restrictive modeling assumptions or insufficient model flexibility.

How it is used
Guides model and ensemble choices by weighing systematic prediction error against variance and generalization.
How deep it goes
Defines bias intuitively and traces its trade-offs through linear features, regularization, sampling, and randomized trees without formal derivation.
Examples
Uses transformed linear-regression features, bagged models, and Airbnb price classification with extra-trees.
What you can do after
Evaluate/understand whether model simplification, sampling, or tree randomization exchanges prediction bias for lower variance appropriately.

Read how Machine Learning for Tabular Data: XGBoost, Deep Learning, and AI explains bias →

Natural Language Processing in Action, Second Edition

Word vector bias is systematic distortion in learned word associations caused by stereotypes and imbalances in the training corpus.

How it is used
Uses word-vector distances to inspect how training data encode stereotypes and to motivate safer NLP practice.
How deep it goes
Explains corpus dependence and demonstrates distance-based diagnosis, but stops short of specifying a mitigation algorithm.
Examples
Uses the “bank” domain contrast, Google News distances for “man,” “woman,” and “nurse,” and city-vector relationships.
What you can do after
Diagnose with word-model distance comparisons and recognize how corpus composition can reproduce or amplify social stereotypes.

Read how Natural Language Processing in Action, Second Edition explains bias →

Experimentation for Engineers

A systematic measurement error that consistently shifts results above or below the value being estimated.

How it is used
Diagnoses systematic distortions in experimental measurements, business-metric predictions, and adaptive decision logs.
How deep it goes
Explains sampling and model bias through numerical simulations and feedback loops, then gives safeguards for common experimental biases.
Examples
Uses exchange execution costs, time-of-day effects, missing recommendation outcomes, and refitted policies as concrete cases.
What you can do after
Diagnose bias with randomization, replication, exploration, peer review, holdouts, and reverse A/B tests.

Read how Experimentation for Engineers explains bias →

Modern C, Third Edition

Bias is a systematic deviation between an observed measurement and the property it is intended to represent.

How it is used
Flags distortion in C performance measurements before measured timings are used to compare code.
How deep it goes
Explains timing interference through compiler optimization, system calls, scheduling, and caches; defers a full treatment of experimental measurement.
Examples
Compares timed C loops with calls to timespec_get and added statistical collection.
What you can do after
Evaluate/understand it by assessing measurement overhead before interpreting performance comparisons.

Read how Modern C, Third Edition explains bias →

Machine Learning System Design

A systematic error caused by a model's limited capacity to capture useful signals, leading it toward simplified assumptions about the data.

How it is used
Distinguishes underfitting from directional forecast errors that can change business decisions.
How deep it goes
Defines capacity bias through underfitting and works through signed forecast bias with error and revenue calculations, without deriving the tradeoff mathematically.
Examples
Uses promotion-driven sales underpredictions and two airline forecasts with equal aggregate error but different signed bias and revenue.
What you can do after
Diagnose/debug with it by inspecting residual patterns and judging whether directional forecast errors warrant different features or business decisions.

Read how Machine Learning System Design explains bias →

Building Reliable AI Systems

Bias is a systematic tendency in an AI system that produces unfairly skewed or discriminatory outcomes.

How it is used
Identifies systematic unfairness that production AI teams need to detect and mitigate across data and model layers.
How deep it goes
Explains data amplification, fine-tuning feedback loops, group comparisons, and a fairness-loss sketch, but does not establish that the sketch works.
Examples
Uses recruiting and health-care failures, a résumé name experiment, and unequal customer-service responses.
What you can do after
Diagnose/debug with it by checking demographic output gaps and tracing them to training interactions or fine-tuning choices.

Read how Building Reliable AI Systems explains bias →

Generative AI in Action

Bias is a systematic tendency in data or model behavior that produces unfair, distorted, or unbalanced outcomes.

How it is used
Frames bias as an enterprise deployment risk requiring fairness checks and human oversight.
How deep it goes
Identifies bias sources and mitigation considerations but provides no metric or worked correction procedure.
Examples
Uses harmful stereotypes in generated output and diverse retrieval sources as concrete risk and mitigation scenarios.
What you can do after
Evaluate/understand it by checking where bias may enter an application and when generated outputs need human review.

Read how Generative AI in Action explains bias →

Data Storytelling with Altair and AI

Bias is a systematic distortion or inclination that influences decisions, perceptions, judgments, or representations in favor of or against a particular subject.

How it is used
Uses bias to evaluate misleading charts and potential harms in generative-AI-assisted data stories.
How deep it goes
Defines bias, distinguishes data from algorithm bias, and works through normalization without technical AI internals.
Examples
Uses Italian homelessness rates and repeated DALL-E image outputs from simple person-description prompts.
What you can do after
Evaluate/understand when raw comparisons or AI outputs may create systematically misleading or exclusionary representations.

Read how Data Storytelling with Altair and AI explains bias →

How Large Language Models Work

Bias is a systematic skew in information, representation, or model behavior toward particular perspectives, groups, or time periods.

How it is used
Evaluates how LLM training, prompting, and deployment can reproduce or amplify harmful patterns.
How deep it goes
Explains examples, data sources, and testing limits, but does not develop a formal statistical account of bias.
Examples
Uses race and gender evaluations, African American Vernacular English, business-meeting images, and older public-domain texts.
What you can do after
Evaluate model outputs and intended uses for stereotypes, historical skew, untested contexts, and possible downstream harm.

Read how How Large Language Models Work explains bias →

Grokking AI Algorithms, Second Edition

Bias is a systematic distortion in data selection, recording, interpretation, or resulting conclusions.

How it is used
Frames bias as a data-quality and responsible-AI concern, while also defining its separate role as a perceptron parameter.
How deep it goes
Explains sampling, representation, and interpretation with examples, then gives an intuitive perceptron analogy without developing the parameter mathematically.
Examples
Uses cherry-picked observations, stereotypical doctor and nurse images, and a master-gain analogy for perceptron bias.
What you can do after
Evaluate datasets for sampling and representation problems, and understand how bias shifts a perceptron’s combined input.

Read how Grokking AI Algorithms, Second Edition explains bias →

Transformers in Action

How it is used
Guides checks for demographic skew and harmful outputs when selecting, adapting, or safeguarding LLMs.
How deep it goes
Explains training-data origins and practical detection, but does not provide a general quantitative measure of bias.
Examples
Uses a Llama demographic-distribution table and a RoBERTa-based toxicity-classifier listing.
What you can do after
Evaluate/understand it by inspecting training-data representation and screening outputs for toxic content.

Read how Transformers in Action explains bias →

Causal Inference for Data Science

Bias is systematic distortion of an estimated effect caused by differences in assignment or other factors associated with the outcome.

How it is used
Flags threats to causal effect estimates from confounding or changing relationships in observational and time-series analyses.
How deep it goes
Explains confounder identification and adjustment, then states how unstable time-series relationships can bias counterfactual estimates.
Examples
Uses physician treatment choices, patient characteristics, hospitals, surgery comparisons, and changing movie-viewing relationships.
What you can do after
Diagnose potential bias by checking confounders and whether control-outcome relationships remain stable around a time-related event.

Read how Causal Inference for Data Science explains bias →

Data Without Labels

A systematic preference or prejudice reflecting unequal social attitudes or structures that can appear in data or model outputs.

How it is used
Frames bias as an ethical risk to address when developing and integrating generative AI systems.
How deep it goes
Names bias as a risk in generated outputs and recommends policies, but gives no fairness measures or bias-audit procedure.
What you can do after
Evaluate/understand how generated text can reflect societal biases in training data and why human oversight matters.

Read how Data Without Labels explains bias →

Build a Text-to-Image Generator (from Scratch)

Model bias is a systematic tendency in a model's outputs that reflects or amplifies unequal or stereotypical patterns associated with social groups or cultural contexts.

How it is used
Frames bias as a social and ethical concern in text-to-image generation, alongside misuse, resource consumption, and responsible development.
How deep it goes
Defines stereotypical outputs and their inequality effects, but stops short of specifying audit or mitigation procedures.
Examples
Uses “a doctor,” “a leader,” and Nazi-era soldier depictions to illustrate stereotyping and historically inaccurate overcorrection.
What you can do after
Evaluate generated depictions for stereotypes and understand why mitigation requires both technical and social judgment.

Read how Build a Text-to-Image Generator (from Scratch) explains bias →

Data-Driven Cybersecurity

Bias is a systematic distortion in an AI model or its outputs that produces consistently skewed assessments across cases or groups.

How it is used
Guides validation of AI-driven cybersecurity assessments before they influence fraud detection, threat response, or security decisions.
How deep it goes
Explains causes and consequences through scenarios, then recommends validation and oversight without detailing mathematical bias measures.
Examples
Uses cross-industry fraud misclassification and security incidents emphasized by training data as concrete examples.
What you can do after
Evaluate AI outputs for skewed assessments and apply human review and layered controls before acting on them.

Read how Data-Driven Cybersecurity explains bias →

The Complete Obsolete Guide to Generative AI

Bias is a systematic tendency for judgments or decisions to favor or disadvantage people for reasons unrelated to relevant qualifications.

How it is used
Positions bias as an ethical risk to manage when AI supports hiring and startup decisions.
How deep it goes
Frames bias through hiring criteria, auditing, and fairness caveats without providing measurement methods or technical mitigation procedures.
Examples
Uses AI candidate screening, video interviews, online tests, simulations, and startup AI oversight as concrete contexts.
What you can do after
Diagnose/debug AI-supported decisions by auditing outputs against relevant criteria and ethical concerns.

Read how The Complete Obsolete Guide to Generative AI explains bias →

Learn AI-Assisted Python Programming, Second Edition

Bias in AI results is systematic skew in generated outputs that favors or disfavors particular perspectives, groups, or outcomes.

How it is used
Warns programmers to supervise AI-generated names, visualizations, and code for patterns inherited from training data.
How deep it goes
Defines bias through concrete outputs and links it to demographic underrepresentation, but does not explain measurement or mitigation methods.
Examples
Uses generated names, graphs, and code styles to demonstrate how bias can appear in AI-assisted programming.
What you can do after
Evaluate generated outputs for reproduced training-data biases before adopting them.

Read how Learn AI-Assisted Python Programming, Second Edition explains bias →

Deep Learning with R, Third Edition

Bias is a systematic tendency in data, judgments, or model outputs that produces uneven or distorted representations of people or phenomena.

How it is used
Frames machine-learning projects as ethical choices whose data and prediction targets can reproduce human prejudice.
How deep it goes
Defines how labeling bias becomes encoded in models and scaled, but stops short of presenting mitigation methods.
Examples
Uses facial trustworthiness ratings to illustrate prejudiced labels, questionable targets, and scaled algorithmic harm.
What you can do after
Evaluate machine-learning proposals for questionable targets, biased labels, and harmful effects on people.

Read how Deep Learning with R, Third Edition explains bias →

Causal AI

Statistical bias is a systematic difference between an estimator's expected value or observed pattern and the relevant population quantity or target relationship.

How it is used
Diagnoses disparities in training data and model decisions by connecting observed patterns to causal pathways.
How deep it goes
Distinguishes direct, indirect, fair, and unfair sources with a DAG, but stops short of prescribing a complete correction method.
Examples
Uses online advertising, loan approval, gender disparities, sexist officers, and gender proxies in applications.
What you can do after
Diagnose bias with causal pathways and distinguish targeting effects from discriminatory decision policies.

Read how Causal AI explains bias →

Related concepts

These guides are generated from the text of Manning books by Manning's knowledge graph and link to the sections they draw on. The full books are available on liveBook and at manning.com.