Deal of The Day! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

Databricks Exam Databricks-Machine-Learning-Associate Topic 2 Question 20 Discussion

Actual exam question for Databricks's Databricks-Machine-Learning-Associate exam
Question #: 20
Topic #: 2
[All Databricks-Machine-Learning-Associate Questions]

An organization is developing a feature repository and is electing to one-hot encode all categorical feature variables. A data scientist suggests that the categorical feature variables should not be one-hot encoded within the feature repository.

Which of the following explanations justifies this suggestion?

Show Suggested Answer Hide Answer
Suggested Answer: A

In Spark ML, a transformer is an algorithm that can transform one DataFrame into another DataFrame. It takes a DataFrame as input and produces a new DataFrame as output. This transformation can involve adding new columns, modifying existing ones, or applying feature transformations. Examples of transformers in Spark MLlib include feature transformers like StringIndexer, VectorAssembler, and StandardScaler.


Databricks documentation on transformers: Transformers in Spark ML

Contribute your Thoughts:

Glenna
6 days ago
B) Hmm, that makes sense. The target variable can vary across different applications, so one-hot encoding shouldn't be done at the feature repository level.
upvoted 0 times
...
Joaquin
16 days ago
I disagree. One-hot encoding is necessary for certain algorithms.
upvoted 0 times
...
Shawna
17 days ago
I agree with Arlette. It can be computationally intensive.
upvoted 0 times
...
Arlette
23 days ago
I think one-hot encoding is not always the best approach.
upvoted 0 times
...

Save Cancel
az-700  pass4success  az-104  200-301  200-201  cissp  350-401  350-201  350-501  350-601  350-801  350-901  az-720  az-305  pl-300  

Warning: Cannot modify header information - headers already sent by (output started at /pass.php:70) in /pass.php on line 77