@staticmethod
def extract_feature_importance(columns, model):
    """ Extract a sorted list of feature importances from an XGBoost model

            :param columns: Columns names in the same order than the input
            dataset.
            :param model: A trained model containing feature importances list
            and trained trees.

        """
    importances = list(zip(columns, model.feature_importances_))
    importances.sort(key=lambda x: x[1], reverse=True)
    return importances
