The machine learning engineer shares the following code block:
Which of the following changes does the machine learning engineer need to make to complete the
task?Q: 11
A machine learning engineer would like to develop a linear regression model with Spark ML to
predict the price of a hotel room. They are using the Spark DataFrame train_df to train the model.
The Spark DataFrame train_df has the following schema:
The machine learning engineer shares the following code block:
Which of the following changes does the machine learning engineer need to make to complete the
task?
The machine learning engineer shares the following code block:
Which of the following changes does the machine learning engineer need to make to complete the
task?Options
Discussion
No comments yet. Be the first to comment.
Be respectful. No spam.
Q: 12
Which of the following describes the relationship between native Spark DataFrames and pandas API
on Spark DataFrames?
Options
Discussion
No comments yet. Be the first to comment.
Be respectful. No spam.
Q: 13
A data scientist has created two linear regression models. The first model uses price as a label
variable and the second model uses log(price) as a label variable. When evaluating the RMSE of each
model by comparing the label predictions to the actual price values, the data scientist notices that
the RMSE for the second model is much larger than the RMSE of the first model.
Which of the following possible explanations for this difference is invalid?
Options
Discussion
No comments yet. Be the first to comment.
Be respectful. No spam.
Q: 14
A data scientist is using Spark ML to engineer features for an exploratory machine learning project.
They decide they want to standardize their features using the following code block:
Upon code review, a colleague expressed concern with the features being standardized prior to
splitting the data into a training set and a test set.
Which of the following changes can the data scientist make to address the concern?
Upon code review, a colleague expressed concern with the features being standardized prior to
splitting the data into a training set and a test set.
Which of the following changes can the data scientist make to address the concern?Options
Discussion
No comments yet. Be the first to comment.
Be respectful. No spam.
Q: 15
A machine learning engineer has created a Feature Table new_table using Feature Store Client fs.
When creating the table, they specified a metadata description with key information about the
Feature Table. They now want to retrieve that metadata programmatically.
Which of the following lines of code will return the metadata description?
Options
Discussion
No comments yet. Be the first to comment.
Be respectful. No spam.
Question 11 of 20 · Page 2 / 2