An importance score estimates how strongly an input feature affects a model’s overall behavior or performance. It helps make model decisions more transparent, especially for business stakeholders and regulated applications. section 3.2 section 3.2.3
Airbnb price prediction
For an XGBoost model predicting whether an Airbnb listing exceeds the median price, built-in gain scores rank room_type highest, neighbourhood_group a distant second, and the remaining features much lower. Gain measures the average improvement from splits that use a feature. section 3.2.2
Use the feature-importance chart to compare the relative influence of the Airbnb input features at a glance. section 3.2.2
XGBoost exposes feature importance through its built-in API, including model.feature_importances_ and a bar-chart workflow. Keras does not provide an equivalent built-in facility, making importance assessment less direct. section 3.2.2 section 3.2.3





