Before building a model I make scaling like this
X = StandardScaler(with_mean = 0, with_std = 1).fit_transform(X)
and after build a features importance plot
xgb.plot_importance(bst, color='red')
plt.title('importance', fontsize = 20)
plt.yticks(fontsize = 10)
plt.ylabel('features', fontsize = 20)
The problem is that instead of feature's names we get f0, f1, f2, f3 etc..... How to return feature's names?
thanks