An ML model learns from the data you give it, and the shape of that data decides how it can learn. That is why the AIF-C01 exam guide asks you to describe the types of data (objective 1.1.4) and the types of learning (objective 1.1.5). Data is classified in two ways, by whether it has a label or not and by its form, and those two classifications decide which of the three ways of learning you can use. For example, an online store that has its reviews marked as good or bad can train a model in a different way than if it only has the reviews without any marks.
Labeled and unlabeled data
Labeling a piece of data means adding the answer the model has to learn. AWS gives as examples saying whether a photo has a bird in it, which words were spoken in an audio clip or whether an X-ray shows a tumor. This work is almost always done by people, so it costs money and time, and AWS calls the set of correctly labeled data used to train and measure a model ground truth, meaning the reference answers the model is checked against. For example, if the store pays two people to read a thousand reviews and mark each one as positive or negative, those thousand marked reviews are its ground truth.
Unlabeled data, on the other hand, is much easier to collect, because it doesn't need that work. It is all of a company's photos, all of its emails or its entire purchase history, without anyone having said what each thing is. For example, the reviews the store receives every day arrive without any mark, and nobody says whether they are positive or negative.
Structured and unstructured data

The other way to classify data is by its form. Structured data is data that fits in a table, and it comes in two types:
- Tabular data, which has one record per row, like the customer table with each customer's age and purchases.
- Time series, which are a single value measured over time, like each month's sales or the temperature of a sensor every minute.
Unstructured data, on the other hand, doesn't fit in rows and columns: text (emails, contracts, reviews), images and video, and audio. AWS says that ML is associated above all with this type of data. In addition, AWS mentions a third type, semi-structured data, which sits between structured and unstructured data because some of its parts have a fixed order and others are free. For example, an order at the store has fixed fields, like the date and the customer number, along with a free-form note the buyer wrote.
The two classifications combine with each other. For example, a customer table can come labeled, with a column that says whether each customer canceled, or it may not have that column, and a folder of photos may come with each photo's label or with none at all.
Supervised, unsupervised and reinforcement learning

There are three types of learning, and what sets them apart is what the algorithm receives in order to learn:
- Supervised learning, where you train with labeled data, each input with its answer. For example, a model that receives photos of apples and bananas with their labels learns to name the fruit in a new photo.
- Unsupervised learning, where the data has no labels and the algorithm looks for patterns on its own. AWS gives the example of grouping news from different sites into categories such as sports or crime.
- Reinforcement learning, where there is no example data, but an agent that tries actions in an environment and receives rewards or penalties. After many rounds, the agent learns which actions give it the most reward.
Each type is suited to a different situation. Supervised learning works when you know what result you want and you have examples with the answer, as when detecting spam, recognizing images or estimating prices from a history. Unsupervised learning works for grouping, finding associations, that is, things that tend to go together, and detecting anomalies. AWS also mentions semi-supervised learning, which combines a small amount of labeled data with a lot of unlabeled data. For example, with its hand-marked reviews the store trains a supervised model that says whether a new review is positive or negative, and with its unmarked purchase history it uses unsupervised learning to discover groups of customers who buy in similar ways.
Reinforcement learning vocabulary

Reinforcement learning has its own terms, and AWS defines them this way:
- The agent, which is the algorithm that decides what to do.
- The environment, which is the problem, with its rules and its valid actions.
- The action, which is a step the agent takes.
- The state, which is how the environment is at a given moment.
- The reward, which is the positive, negative or zero value the agent receives for an action.
Over time, the agent builds a policy, which is the strategy that gives it the greatest cumulative reward, and sometimes that strategy accepts a penalty now in exchange for more reward later. For example, a warehouse robot that earns points when it delivers a box and loses them when it crashes learns through reinforcement, and those points are its reward.
The word "agent" also appears in agentic AI, but there it has another meaning. In reinforcement learning, the agent is the algorithm that learns, while in agentic AI it is a system that uses a large language model (LLM), that is, a model trained on enormous amounts of text, to act toward a goal. For example, the warehouse robot is a reinforcement learning agent, and a store assistant that looks up an order, checks its status and writes to the customer to resolve a complaint is an agentic AI agent.
On the exam
Since the guide asks you to describe the types of data and learning, a question may describe the data a company has so you choose the type of learning, or describe a piece of data so you choose how it is classified. In the question, these words point to each answer:
- The words "labeled", "examples with the answer" or "historical data with the outcome", which point to supervised learning.
- The phrases "unlabeled", "discover groups" or "hidden patterns", which point to unsupervised learning.
- The words "reward", "trial and error" or "environment", which point to reinforcement learning.
- The phrase "a value over time", which points to a time series.
For example, if a question says that a store wants to "discover groups" among its customers and that its data is "unlabeled", both phrases point to unsupervised learning.