BPt.EvalResults.get_preds_dfs#

EvalResults.get_preds_dfs(drop_nan_targets=False)[source]#

This function can be used to return the raw predictions made during evaluation as a list of pandas Dataframes.

Parameters
drop_nan_targetsbool, optional

If False (default), then this method will return the DataFrame of predictions including targets with NaN. To skip these, e.g., in this case of plotting against ground truth or computing new metrics, set to True.

default = False
Returns
dfslist of pandas.DataFrame

list of dataframe’s per fold, where each DataFrame contains predictions made.