CertBrain
CoursesBlog
Sign in
← Back to decks
Sign in to save your progress, vote, and build your own decks.Sign in

Types of Data in AI

Every AI model is shaped by the data it learns from, and the kind of data narrows down the kind of model and learning method you can use. This lesson covers the data distinctions the exam names: labeled and unlabeled, structured and unstructured, and the common types: tabular, time-series, image…

9 cards
Study this deck

Types of Data in AI

Every AI model is shaped by the data it learns from, and the kind of data narrows down the kind of model and learning method you can use. This lesson covers the data distinctions the exam names: labeled and unlabeled, structured and unstructured, and the common types: tabular, time-series, image and text.

Labeled and unlabeled data

Labeled data comes with the answer attached. A photo tagged "cat", a past loan marked "repaid", an email marked "spam": each example carries the outcome a model should learn to predict. Unlabeled data has no such answer. It's just the photos, loans or emails.

Labels are valuable but often expensive, because someone usually has to add them by hand, sometimes an expert such as a doctor or lawyer. That's why many real datasets are mostly unlabeled with a small labeled portion. Labeling services exist to help people do this at scale; AWS's, Amazon SageMaker Ground Truth, is now closed to new customers. Whether data is labeled decides the learning type: labeled data enables supervised learning, and unlabeled data points to unsupervised methods.

Structured and unstructured data

Structured data fits neatly into rows and columns with a fixed format, like a customer table with age, region and plan columns. It's easy to search and to feed into traditional ML models.

Unstructured data has no predefined format: images, audio, video, emails, contracts and social media posts. Most of the world's data is unstructured. Getting value from it usually needs deep learning, or a preparation step that pulls structure out of it, such as extracting the text from a scanned form.

Common data types

  • Tabular: rows and columns, like a spreadsheet or database table. It's structured, and the classic input for predicting churn, credit risk or prices.
  • Time-series: measurements recorded in time order, such as hourly energy use, daily sales or sensor readings each second. The order matters, and it's the natural input for forecasting.
  • Image: photos, scans, medical images and video frames. Unstructured, and used by computer vision.
  • Text: documents, reviews, chat logs and emails. Unstructured, and used by natural language processing and large language models.

One dataset can mix types. A retailer's records might pair a tabular order history with product photos and customer reviews.

The type of data also points to the type of tool. Tabular data often suits a traditional ML model. Time-series data suits a forecasting model, which pays attention to trends and seasons. Images, audio and free text usually need deep learning or a pre-trained foundation model. So when a scenario describes its data, it's often quietly telling you which answer to pick.

On the exam

Look for the label hiding in plain sight. A spreadsheet with a column such as "cancelled: yes/no" or "defaulted: yes/no" is labeled data, because that column is the answer the model learns to predict. Nobody needs to have tagged it separately. Also watch for timestamps. Data is only "time-series" when the order of readings over time is the point, not just because each row has a date.

Quiz me on this
A hospital has 200,000 chest X-ray images. Radiologists have tagged only 2,000 of them as showing or not showing pneumonia. How should this dataset be described?
  1. Fully labeled structured data, because every image has a file name
  2. Labeled time-series data, because scans are taken on different dates
  3. Unlabeled tabular data, because the images are listed in a table
  4. ✓ Mostly unlabeled, unstructured data with a small labeled subset
A utility company is choosing data for a model that will forecast next week's demand. Which dataset is time-series data?
  1. ✓ Hourly electricity readings from each smart meter over the past three years
  2. A table of every customer listing their address, tariff and contract start date
  3. Photos of meters that customers submit each month to report their readings
  4. Customer emails asking about billing errors
A subscription business wants to predict which customers will cancel. It has a spreadsheet of past customers with columns for plan, monthly usage, support calls and "cancelled (yes/no)". No one has manually tagged any rows. Which description of this data is correct?
  1. Unlabeled tabular data, because nobody manually tagged any of the rows
  2. ✓ Labeled tabular data, because the cancelled column is the outcome
  3. Unstructured data, because it describes human behaviour
  4. Unlabeled time-series data, because customers joined at different times
Labeled data
Examples that include the answer the model should learn to predict, such as an email marked "spam" or a loan marked "repaid".
Unlabeled data
Examples with no answer attached. It points toward unsupervised learning, or toward labeling some of it first.
Structured data
Data with a fixed format of rows and columns, such as a database table. Easy to search and to use with traditional ML.
Unstructured data
Data with no predefined format, such as images, audio, video, emails and documents. Usually needs deep learning.
Time-series data
Measurements recorded in time order, such as hourly energy use or daily sales, where the order matters. Used for forecasting.
Amazon SageMaker Ground Truth
An AWS service that helps people label training data at scale, such as tagging images. Closed to new customers; existing customers can still use it.