You have millions of image-caption logs and want to find common failure patterns. What is a sensible first step?
- Exam domain
- Data Analysis10% of the exam
- Difficulty
- Easy
- In this mock
- 5 questions on this domainPractise this domain
Why the exam asks this
Data Analysis (10% of the exam)
Objective in the exam guide: Awareness of the process of extracting insights from large datasets using data mining, data visualization, and similar techniques.
Analysis guides where to spend effort.
Why A is the answer
Sample, cluster and visualize the logs to spot patterns
Data mining and visualization on samples and clusters reveal patterns in large datasets quickly, before deciding what to fix.
Remember: Mine and visualize before you fix.
How it works
Extracting insights from large datasets uses sampling, data mining, clustering and visualization.
In detail
- Sample and summarize large data.
- Look before you retrain.
Every option, checked
Knowing why each wrong option fails is how you rule it out on exam day.
A. Sample, cluster and visualize the logs to spot patternsRight
Mine and visualize before you fix.
B. Read every log one by oneWrong
Too slow at this scale.
C. Delete the logs to save storageWrong
You lose the evidence.
D. Retrain the model on fresh data before looking at what the logs containWrong
Retraining blind may not fix the issue.
Use case
An illustrative scenario, not a real incident.
Illustrative: clustering shows most failures are night-time photos, which guides new data collection.
See it in different ways
flowchart LR S0["Sample"] --> S1["Embed and cluster"] --> S2["Visualize clusters"] --> S3["Label failure types"]
How to read this chart
- Read it in order: Sample, then Embed and cluster, then Visualize clusters, then Label failure types.
mindmap
root(("Data mining"))
n1["Summaries"]
n2["Counts"]
n3["Distributions"]
n4["Clustering"]
n5["Group similar items"]
n6["Visuals"]
n7["Plots"]
n8["Projections"]How to read this chart
- The centre is "Data mining".
- "Summaries" covers "Counts", "Distributions".
- "Clustering" covers "Group similar items".
- "Visuals" covers "Plots", "Projections".
Related questions
Learn more
- Our lesson: Experiments, data quality and analysis
- Practise Data Analysis questions in the mock exam
- Source: pandas documentation
- Source: Matplotlib documentation
- Cross-validation (scikit-learn)
- Metrics and scoring (scikit-learn)
- Common pitfalls and recommended practices (scikit-learn)
- Grad-CAM: Visual Explanations from Deep Networks (arXiv)
- Matplotlib documentation