plot_best_worst_split

mastml.plot_helper.plot_best_worst_split(y_true, best_run, worst_run, savepath, title='Best Worst Overlay', label='target_value')[source]

Method to create a parity plot (predicted vs. true values) of just the best scoring and worst scoring CV splits

Args:

y_true: (numpy array), array of true y data

best_run: (dict), the best scoring split_result from mastml_driver

worst_run: (dict), the worst scoring split_result from mastml_driver

savepath: (str), path to save plots to

title: (str), title of the best_worst_split plot

label: (str), label used for axis labeling

Returns:

None