Esempio n. 1
0
def jsd_diff_htmap(j1, j2, w, o, name= path + '/jsd_diff_htmap.pdf'):
    plots.latexify(4.2, 4, 2)
    n = len(j1)
    g = plots.linlinsbmap(rankdata(np.abs(j1 - j2))/n, rankdata(w)/n, o, y_bins=45, z_label=r'$O_{ij}$')
    g.axes.set_ylabel(r'$Rank(w_{ij})$')
    g.axes.set_xlabel(r'$Rank(|JSD_{i} - JSD_j|)$')
    g.axes = plots.format_axes(g.axes)
    g.get_figure().savefig(name)
Esempio n. 2
0
def mu_htmap(age, w, o, name= path + '/mu_htmap.pdf'):
    plots.latexify(4.2, 4, 2)
    n = len(o)
    g = plots.linlinsbmap(rankdata(age)/n, rankdata(w)/n, o, y_bins=45, z_label=r'$O_{ij}$')
    g.axes.set_ylabel(r'$Rank(w_{ij})$')
    g.axes.set_xlabel(r'$Rank(\bar{\tau_{ij}})$')
    g.axes = plots.format_axes(g.axes)
    g.get_figure().savefig(name)
Esempio n. 3
0
def jsd_htmap(jsd, w, o, name= path + '/jsd_htmap.pdf'):
    plots.latexify(4.2, 4, 2)
    n = len(jsd)
    g = plots.linlinsbmap(rankdata(jsd)/n, rankdata(w)/n, o, y_bins=45, z_label=r'$O_{ij}$')
    g.axes.set_ylabel(r'$Rank(w_{ij})$')
    g.axes.set_xlabel(r'$Rank(JSD_{ij})$')
    g.axes = plots.format_axes(g.axes)
    g.get_figure().savefig(name)
Esempio n. 4
0
def jsd_all_weight_map(jsd, j1, j2, w, name= path + '/jsd_all_weight_htmap.pdf'):
    plots.latexify(4.2, 4, 2)
    n = len(jsd)
    g = plots.linlinsbmap(rankdata(jsd)/n, rankdata(np.abs(j1 - j2))/n, np.log(w), y_bins=45, z_label=r'$\log(w_{ij})$')
    g.axes.set_ylabel(r'$Rank(|JSD_{i}- JSD_j|)$')
    g.axes.set_xlabel(r'$Rank(JSD_{ij})$')
    g.axes = plots.format_axes(g.axes)
    g.get_figure().savefig(name)
Esempio n. 5
0
def bt_tlog_htmap(tlog, w, o, name= path + '/bt-tlog_htmap.pdf'):
    plots.latexify(4.2, 4, 2)
    n = len(o)
    g = plots.linlinsbmap(rankdata(tlog)/n, rankdata(w)/n, o, y_bins=45, z_label=r'$O_{ij}$')
    g.axes.set_ylabel(r'$Rank(w_{ij})$')
    g.axes.set_xlabel(r'$Rank(\log{(T_{t^b})})$')
    g.axes = plots.format_axes(g.axes)
    g.get_figure().savefig(name)
Esempio n. 6
0
def bt_cv_htmap(cv, w, o, name= path + '/bt-cv_htmap.pdf'):
    plots.latexify(4.2, 4, 2)
    n = len(o)
    g = plots.linlinsbmap(rankdata(cv)/n, rankdata(w)/n, o, y_bins=45, z_label=r'$O_{ij}$')
    g.axes.set_ylabel(r'$Rank(w_{ij})$')
    g.axes.set_xlabel(r'$Rank(CV_E)$')
    g.axes = plots.format_axes(g.axes)
    g.get_figure().savefig(name)
Esempio n. 7
0
def bt_mu_htmap(mu, w, o, name= path + '/bt-mu_htmap.pdf'):
    plots.latexify(4.2, 4, 2)
    n = len(o)
    g = plots.linlinsbmap(rankdata(1/mu)/n, rankdata(w)/n, o, y_bins=45, z_label=r'$O_{ij}$')
    g.axes.set_ylabel(r'$Rank(w_{ij})$')
    g.axes.set_xlabel(r'$Rank(\frac{1}{\bar{E}})$')
    g.axes = plots.format_axes(g.axes)
    g.get_figure().savefig(name)
Esempio n. 8
0
def tmp_stab_htmap(t, w, o, name= path + '/t-stab_htmap.pdf'):
    plots.latexify(4.2, 4, 2)
    n = len(o)
    g = plots.linlinsbmap(rankdata(t)/n, rankdata(w)/n, o, y_bins=45, z_label=r'$O_{ij}$')
    g.axes.set_ylabel(r'$Rank(w_{ij})$')
    g.axes.set_xlabel(r'$Rank(TS_{ij})$')
    g.axes = plots.format_axes(g.axes)
    g.get_figure().savefig(name)
Esempio n. 9
0
def b_htmap(age, w, o, path=path, name='/b_htmap.pdf'):
#    plots.latexify(4.2, 4, 2)
    n = len(o) + 0.
    g = plots.linlinsbmap(rankdata(age)/n, rankdata(w)/n, o, y_bins=45, z_label=r'$O_{ij}$')
    g.axes.set_ylabel(r'$Rank(w_{ij})$')
    g.axes.set_xlabel(r'$Rank(B_{ij})$')
    g.axes = plots.format_axes(g.axes)
    g.get_figure().savefig(path + '/' + name)