I have a list of fit models:
model_list = [xgboost_1, xgboost_2, random_forest_1, random_forest_2 ...]
I want to iterate over them and populate a results
dataframe with their prediction output metrics:
results = pd.DataFrame(columns=['models', 'fpr', 'tpr', 'auc'])
I want the models
column in results
to populate with xgboost_1
, xgboost_2
, etc. by name.
I can populate the df with all the metrics, but I'm having trouble with the models
col.