Skip to content

Chapter 8 of 8

Domains, Governance, and Communication

Several specialized domains deserve their own methods. Natural Language Processing (NLP) analyzes and generates text. Its pipeline begins with tokenization, splitting text into words, subwords, or characters, often after removing common stop words such as “the” and “is”. Words are reduced to a common form by stemming (a rule-based chop) or lemmatization (a context-aware reduction to a dictionary form). Representations matter: TF-IDF weights words by their importance within a document relative to a corpus, while dense word embeddings such as Word2Vec and GloVe capture semantics in vectors, so that similar words cluster in space. These foundations power modern language models and tasks from sentiment analysis to machine translation. Computer vision, the interpretation of visual information, is built around tasks such as image classification (assigning a label to an image), object detection (locating and classifying objects within an image), and image segmentation (partitioning an image into meaningful regions). Recommendation systems suggest items users may like: collaborative filtering leverages similarity among users or items, while content-based filtering relies on item attributes, with hybrid systems common in practice.

Data quality is the fitness of data for its intended use, measured along dimensions including accuracy, completeness, consistency, timeliness, validity, and uniqueness. Data governance encompasses the policies and processes for managing data assets — who can access what, how data is defined, and how it is audited. Supporting practices include data catalogs (metadata inventories of available assets), data lineage (tracking the origin and transformations of data), and data dictionaries that define fields and their meanings. Database schemas — the structure of columns, types, and constraints — underpin these activities. Database normalization reduces redundancy by organizing tables into well-separated forms, while denormalization trades redundancy for query speed, a useful choice in analytical stores where read performance dominates.

Analytical and transactional workloads have different shapes. OLTP (Online Transaction Processing) handles high-volume, short transactions, while OLAP (Online Analytical Processing) serves multi-dimensional analytical queries. Data warehouses often use a star schema, with a central fact table of measurable events surrounded by dimension tables that provide descriptive context; the snowflake schema is a more normalized variant. Slowly changing dimensions (SCDs) handle changes to dimensional data, with Type 2 SCD preserving history by adding new rows. To keep load times manageable as data grows, practitioners use incremental loading (loading only new or changed data), partitioning (dividing data into smaller pieces for performance), and sharding (distributing data across multiple databases). Primary keys uniquely identify each row, foreign keys link rows across tables, and OLTP/OLAP distinctions shape how these are chosen and indexed.

Results only matter if they are understood and acted upon. Dashboards built with Tableau, Power BI, or Looker surface key metrics for ongoing monitoring, while tools like Streamlit and Gradio let practitioners quickly build interactive data apps and model demos. Platforms such as Kaggle provide shared datasets and competitions that sharpen skills and benchmark methods. Storytelling with data — crafting a clear narrative around findings — turns numbers into decisions, which is ultimately the purpose of the entire pipeline. Ethical AI extends this responsibility by demanding that systems align with human values and avoid harm. Goodhart's Law captures a recurring trap: "When a measure becomes a target, it ceases to be a good measure." Optimization against a single metric in data science, as elsewhere, can distort the underlying goal, so the questions a model is asked to answer deserve the same care as the answers themselves.

All chapters
  1. 1Foundations of Data Science
  2. 2Data Preparation and Feature Engineering
  3. 3Model Training, Validation, and Evaluation
  4. 4Classical Machine Learning Algorithms
  5. 5Unsupervised Learning and Deep Learning
  6. 6Statistics, Inference, and Interpretability
  7. 7Tools, Infrastructure, and MLOps
  8. 8Domains, Governance, and Communication

Drill it

Reading is not remembering. These come from the Data Science Essentials deck:

Q

What is data science?

An interdisciplinary field using statistics, programming, and domain knowledge to extract insights from data.

Q

What is the data science process?

Problem definition → data collection → cleaning → exploration → modeling → evaluation → deployment.

Q

What is CRISP-DM?

Cross-Industry Standard Process for Data Mining — a structured methodology.

Q

What is a dataset?

A collection of related data, typically organized in rows and columns.