This is the first of five posts, one for each domain of the AWS Certified AI Practitioner exam (AIF-C01). Domain 1 is "Fundamentals of AI and ML" and it is 20% of the scored content. Here is how I understand it as a student.
1. The vocabulary: AI is the big box
Think of nested boxes. AI is the biggest box: machines doing things that seem intelligent. Inside it is machine learning (ML): systems that learn patterns from data instead of following hand-written rules. Inside ML is deep learning, which uses neural networks. And generative AI is a kind of deep learning that creates new content, like text or images.
Three ways a model can learn:
- Supervised learning: studying with an answer key. The data has labels.
- Unsupervised learning: sorting a pile of items into groups without being told the groups.
- Reinforcement learning: learning a game by earning points for good moves.
Two more words to know: training is when the model learns, and inference is when it is used to give an answer. Inference can be batch (many records at once), real-time (an instant answer), asynchronous (the result comes later) or serverless (no servers to manage).
2. When should you use AI?
AI helps when you need to scale a task, automate it, or support a human decision. It is not the right tool when you need one exact, guaranteed outcome instead of a prediction, or when the cost is higher than the benefit.
Matching the problem to the technique:
- Regression: predict a number (like a price)
- Classification: predict a category (like spam or not spam)
- Clustering: find natural groups (like types of customers)
AWS also has ready-made AI services, so you don't always have to build a model:
- Amazon Transcribe: speech to text
- Amazon Translate: translation
- Amazon Comprehend: understanding text
- Amazon Polly: text to speech
- Amazon SageMaker AI: building and running your own models
3. The life of a model
A model has a lifecycle, a bit like a product: collect data, prepare it, train, evaluate, deploy, then monitor and retrain when things change. The idea of doing this in a repeatable way is called MLOps.
To judge a model, there are a few metrics:
- Accuracy: how often it is right overall
- Precision: of the things it flagged, how many were truly correct
- Recall: of all the real cases, how many it found
- F1 score: a balance between precision and recall
For something like fraud detection, missing real fraud (low recall) can be more costly than a few false alarms. Business metrics matter too, like cost and return on investment.
My takeaway
Domain 1 is about speaking the language of AI and knowing which tool fits which problem. I don't need to code anything for this exam, but I do need to explain and choose well.
Which of these terms confused you the most when you started? For me it was telling precision and recall apart.
Loading article