Revenue is recorded in different currencies across regions. Before modelling, what transformation is needed?
- Exam domain
- Data Preparation17% of the exam
- Difficulty
- Medium
- In this mock
- 8 questions on this domainPractise this domain
Why the exam asks this
Data Preparation (17% of the exam)
Objective in the exam guide: Transforming and standardizing data
Transformation and uniformity across features are named.
Why C is the answer
Convert to one currency using rates for the transaction date
Mixed units make values incomparable. Converting to one currency with dated exchange rates standardizes the feature.
Remember: Convert to common units before modelling.
How it works
Transformation and standardization make features uniform in units and scale.
In detail
- Standardize units.
- Use the rate for each date.
Every option, checked
Knowing why each wrong option fails is how you rule it out on exam day.
A. Round every value to the nearest thousandWrong
Rounding does not fix units.
B. Leave each currency as is and let the model learn exchange rates from the dataWrongMost tempting
Models cannot reliably infer exchange rates.
Why it tempts: Models seem able to learn anything.
C. Convert to one currency using rates for the transaction dateRight
Convert to common units before modelling.
D. Drop the revenue columnWrong
Revenue is a key feature.
Use case
An illustrative scenario, not a real incident.
Illustrative: converting to euros removes a false signal that Japanese stores sold 150 times more.
See it in different ways
flowchart LR S0["Join exchange rates by date"] --> S1["Convert amounts"] --> S2["Check totals"] --> S3["Store converted column"]
How to read this chart
- Read it in order: Join exchange rates by date, then Convert amounts, then Check totals, then Store converted column.
flowchart TD
Q{"Same unit across rows?"}
Q -->|"No"| A0["Convert first"]
Q -->|"Yes"| A1["Proceed"]How to read this chart
- At "Same unit across rows?": if "No", go to "Convert first"; if "Yes", go to "Proceed".