A team has 20,000 rows of tabular customer data and no GPUs. Should they start with deep learning or a traditional model?
- Exam domain
- Model Development31% of the exam
- Difficulty
- Medium
- In this mock
- 16 questions on this domainPractise this domain
Why the exam asks this
Model Development (31% of the exam)
Objective in the exam guide: Compare the computational requirements, training time, and data needs of deep learning versus traditional machine learning for a given problem
Comparing deep learning and traditional ML is named.
Why B is the answer
A traditional model such as gradient-boosted trees, which needs less data, compute and training time
Deep learning usually needs more data, GPUs and training time, and pays off most on images, text and audio. On modest tabular data, boosted trees are a strong, cheaper start.
Remember: Match model family to data and compute.
How it works
Deep learning costs more data and compute than traditional ML.
In detail
- Deep learning: more data and compute.
- Tabular, modest data: trees first.
Every option, checked
Knowing why each wrong option fails is how you rule it out on exam day.
A. Neither; tabular data cannot be modelledWrong
Tabular data is the most common ML input.
B. A traditional model such as gradient-boosted trees, which needs less data, compute and training timeRight
Match model family to data and compute.
C. Deep learning, because neural networks win on every kind of data regardless of its size, shape or qualityWrongMost tempting
Deep learning does not win everywhere.
Why it tempts: Deep learning headlines suggest it always wins.
D. Deep learning, because it trains faster on CPUsWrong
Deep learning is usually slower, especially on CPUs.
Use case
An illustrative scenario, not a real incident.
Illustrative: XGBoost on CPUs beats a neural network on the same 20,000 rows in a tenth of the time.
See it in different ways
flowchart TD
Q{"What is the data?"}
Q -->|"Images, text, audio at scale"| A0["Deep learning"]
Q -->|"Modest tabular data"| A1["Boosted trees or linear models"]How to read this chart
- At "What is the data?": if "Images, text, audio at scale", go to "Deep learning"; if "Modest tabular data", go to "Boosted trees or linear models".
mindmap
root(("Model families"))
n1["Deep learning"]
n2["More data"]
n3["GPUs"]
n4["Longer training"]
n5["Traditional ML"]
n6["Less data"]
n7["CPUs"]
n8["Faster"]How to read this chart
- The centre is "Model families".
- "Deep learning" covers "More data", "GPUs", "Longer training".
- "Traditional ML" covers "Less data", "CPUs", "Faster".