Welcome to ExamTopics
ExamTopics Logo
- Expert Verified, Online, Free.
exam questions

Exam AWS Certified Machine Learning - Specialty All Questions

View all questions & answers for the AWS Certified Machine Learning - Specialty exam

Exam AWS Certified Machine Learning - Specialty topic 1 question 352 discussion

A data scientist is conducting exploratory data analysis (EDA) on a dataset that contains information about product suppliers. The dataset records the country where each product supplier is located as a two-letter text code. For example, the code for New Zealand is "NZ."

The data scientist needs to transform the country codes for model training. The data scientist must choose the solution that will result in the smallest increase in dimensionality. The solution must not result in any information loss.

Which solution will meet these requirements?

  • A. Add a new column of data that includes the full country name.
  • B. Encode the country codes into numeric variables by using similarity encoding.
  • C. Map the country codes to continent names.
  • D. Encode the country codes into numeric variables by using one-hot encoding.
Show Suggested Answer Hide Answer
Suggested Answer: D 🗳️

Comments

Chosen Answer:
This is a voting comment (?) , you can switch to a simple comment.
Switch to a voting comment New
7f1fe73
2 weeks, 3 days ago
Selected Answer: B
D will cause a the large increase in dimensionality, the B will not
upvoted 1 times
...
MJSY
1 month, 1 week ago
Selected Answer: B
D will cause a the large increase in dimensionality, the B will not
upvoted 1 times
...
MultiCloudIronMan
1 month, 3 weeks ago
Selected Answer: D
The best solution to transform the country codes for model training, while resulting in the smallest increase in dimensionality and avoiding any information loss, is to use target encoding.
upvoted 1 times
...
canace
2 months, 1 week ago
its B, similarity encoding
upvoted 3 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...