educative.io

Why is Q4 "F1 score" an incorrect answer

What does the feature_importances_ property of an XGBoost model tell us?

“The F1 score of each data feature in making model predictions”


Course: https://www.educative.io/courses/ml-for-software-engineers
Lesson: Educative: Interactive Courses for Software Developers

Hi @Cherie_Cai,

The F1 score of each data feature in making model predictions” is incorrect because the feature_importances_ property of an XGBoost model does not provide information about the F1 score of each data feature in making model predictions.

The correct answer to this question is “The relative importance of each data feature in making model predictions” which has already been discussed in the lesson Feature Importance as shown in the following screenshot.

If there is still any confusion left, feel free to ask again.