Result of this notebook has been uploaded here.
%cd ~/GIT/github/mvarbvs/dsc
plots = dscrutils::dscquery('benchmark',
target = "liter_data.dataset simple_lm.pve simple_lm.n_signal simple_lm fit_susie.estimate_residual_variance fit_susie.prior_var plot_sse plot_susie")
head(plots)
%get plots --from R
plots.columns
plots['simple_lm.output.file'] = plots['simple_lm.output.file'].astype(str) + '.cache.sim.1.png'
plots['plot_sse.output.file'] = plots['plot_sse.output.file'].astype(str) + '.plot_file.1.png'
plots['plot_susie.output.file'] = plots['plot_susie.output.file'].astype(str) + '.seg.1.png'
rename = {}
for k in plots.columns:
kk = k.split('.',1)
if len(kk) == 1:
continue
if kk[1] == 'output.file':
rename[k] = kk[0]
else:
rename[k] = kk[1]
plots.rename(columns=rename).drop(columns=['DSC']).to_csv("benchmark/susie_dsc.csv", index=False)
cd benchmark && mkdir susie_dsc && cp simple_lm/*.png plot_sse/*.png plot_susie/*.png susie_dsc.csv susie_dsc && cd susie_dsc && dsc-io susie_dsc.csv index.html