Skip to content
Snippets Groups Projects
Commit 4a1e2775 authored by tomrink's avatar tomrink
Browse files

snapshot...

parent 9bdb3c4a
Branches
No related tags found
No related merge requests found
......@@ -1053,6 +1053,20 @@ def analyze_5cat(file):
# cm = confusion_matrix(lbls.flatten(), pred.flatten())
# plot_confusion_matrix(cm, ['CLR', '1/4', '1/2', '3/4', 'CLD'], normalize=True, axis=0)
# lbls = lbls.flatten()
# pred = pred.flatten()
# cld_prob = cld_prob.flatten()
# cat_0 = lbls == 0
# cat_1 = lbls == 1
# cat_2 = lbls == 2
# cat_3 = lbls == 3
# cat_4 = lbls == 4
# plt.hist(cld_prob[cat_0], log=True, histtype='step')
# plt.hist(cld_prob[cat_1], log=True, histtype='step')
# plt.hist(cld_prob[cat_2], log=True, histtype='step')
# plt.hist(cld_prob[cat_3], log=True, histtype='step')
# plt.hist(cld_prob[cat_4], log=True, histtype='step')
# from deeplearning.cloud_fraction_fcn_viirs import run_evaluate_static
# run_evaluate_static('/Users/tomrink/clavrx_VNP02IMG.A2019306.1912.001.2019307003236.uwssec.nc',
# '/Users/tomrink/cld_frac_A2019306.1912', '/Users/tomrink/tf_model_cld_frac_viirs/run-20230421193944/')
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment