A team needs a strong baseline quickly for a tabular classification problem with numeric and categorical features, using a SageMaker AI built-in algorithm. Which is a common first choice?
- Exam domain
- ML Model and Foundation Model (FM) Development24% of the exam
- Difficulty
- Easy
- In this mock
- 22 questions on this domainPractise this domain
Why the exam asks this
Task 2.2: Train, fine-tune, and customize models for ML and AI solutions.
Objective in the exam guide: Skill 2.2.1: Apply Amazon SageMaker AI built-in algorithms and common ML libraries.
Built-in algorithms give quick, strong baselines. Knowing which one fits which data type saves days of custom work.
Why C is the answer
XGBoost
XGBoost is a gradient boosted trees algorithm that performs strongly on tabular data and is available as a SageMaker AI built-in algorithm.
Remember: Tabular data: start with a gradient boosted trees algorithm such as XGBoost.
How it works
SageMaker AI offers built-in algorithms for common problem types, so you train without writing algorithm code.
XGBoost, a gradient boosted trees method, is strong on tabular data for classification and regression.
Image and text algorithms suit those data types, not tables.
Clues in the question
The words that point to the answer, and what each one tells you.
- Tabular classification
- A tree-based method fits.
- Quickly
- A built-in algorithm.
In detail
- Built-in algorithms remove the need to write training code.
- Matching the algorithm family to the data type is the key step.
Side by side with look-alikes
| Data type | Built-in example |
|---|---|
| Tabular | XGBoost |
| Images | Image classification, object detection |
| Text sequences | Sequence-to-sequence |
Every option, checked
Knowing why each wrong option fails is how you rule it out on exam day.
A. An image classification algorithmWrong
Image classification needs images.
B. Object detectionWrongMost tempting
Object detection needs images.
Why it tempts: It is a well-known built-in algorithm. But it needs images; this data is a table.
C. XGBoostRight
Tabular data: start with a gradient boosted trees algorithm such as XGBoost.
D. A sequence-to-sequence translation algorithmWrong
Sequence-to-sequence is for text such as translation.
In practice
- Use the built-in model as the baseline every new approach must beat.
Use case
An illustrative scenario, not a real incident.
A churn team trains a built-in XGBoost model in an afternoon and uses it as the baseline for every later experiment.
See how it works
flowchart TD
D{"What is the data?"} -->|"Rows and columns"| X["XGBoost"]
D -->|"Images"| I["Image classification or object detection"]
D -->|"Text sequences"| S["Sequence-to-sequence"]How to read this chart
- At "What is the data?": if "Rows and columns", go to "XGBoost"; if "Images", go to "Image classification or object detection"; if "Text sequences", go to "Sequence-to-sequence".