diff --git a/modules/deeplearning/cloud_fraction_fcn_viirs.py b/modules/deeplearning/cloud_fraction_fcn_viirs.py index c487dc8b89333acfc120b7ba463f2b8cbb686dd7..5c24a3c5481279365b4649c090d20af403fce111 100644 --- a/modules/deeplearning/cloud_fraction_fcn_viirs.py +++ b/modules/deeplearning/cloud_fraction_fcn_viirs.py @@ -1064,6 +1064,15 @@ def analyze_5cat(file): # cp = tup[3] # from util.plot import plot_image +# from deeplearning.cloud_fraction_fcn_viirs import analyze_5cat +# cm_0_1, cm_1_2, cm_0_2, acc, recall, prec, mcc, lbls, pred = analyze_5cat('/Users/tomrink/cld_frac_viirs.npy') +# from util.bar_plot import do_plot +# do_plot(['ACC', 'RECALL', 'PREC', 'MCC'], [[acc[0], recall[0], prec[0], mcc[0]], +# [acc[1], recall[1], prec[1], mcc[1]], +# [acc[2], recall[2], prec[2], mcc[2]]], +# ['CLR v MIX', 'MIX v CLD', 'CLR v CLD'], ['green', 'blue', 'black'], +# title='CLD FRAC', xlabel='Metric', barWidth=0.15, ylim=[0.4, 1.0]) + if __name__ == "__main__": nn = SRCNN()