ExamQuestions.com

Register
Login
AWS Certified Machine Learning Specialty Exam Questions

Amazon

AWS Certified Machine Learning Specialty

109 / 258

Question 109:

You work for a city electric scooter rental company. Your company supplies a fleet of electric scooters to different cities around the country. These scooters need to be managed as far as their location, their rental miles, their need for maintenance, etc. The company accumulates hundreds of data points on each scooter every day. You are on the machine learning team of your company, where you have been assigned the job of building a machine learning model to track each scooter and decide when they are ready for maintenance. One would assume the decision for maintenance would be based predominantly on miles accumulated. Since you have so many features captured for a given scooter, you have decided you need to find the most predictive features in your model to avoid low model performance due to collinearity.
You have built your model in SageMaker using the built-in XGBoost algorithm. Using the XGBoost Python API package, which type of booster and which API call would you use to select the most predictive features based on the total gain across all splits in which the feature is used?

Answer options:

A.booster = gblinear using the get_fscore with importance_type parameter set to total_gain
B.booster = gblinear using the get_score with importance_type parameter set to gain
C.booster = gbtree using the get_score with importance_type parameter set to total_gain
D.booster = gbtree using the get_fscore with importance_type parameter set to gain
E.booster = dart using the get_fscore with importance_type parameter set to gain
F.booster = dart using the get_score with importance_type parameter set to total_gain