コード例 #1
0
def rel_mse_logit_p_ij(n, d, f):
    logit_P = logit(d.edge_probabilities(n))
    logit_Q = f.baseline_logit(n)
    return rel_mse(logit(f.edge_probabilities(n)), logit_Q, logit_P)
コード例 #2
0
def rel_mse_p_ij(n, d, f):
    P = d.edge_probabilities(n)
    return rel_mse(f.edge_probabilities(n), f.baseline(n), P)
コード例 #3
0
 def rel_mse_p_ij(n, d, f):
     P = d.edge_probabilities(n)
     return rel_mse(f.edge_probabilities(n), f.baseline(n), P)
コード例 #4
0
 def rel_mse_logit_p_ij(n, d, f):
     logit_P = d.edge_probabilities(n, logit = True)
     logit_Q = f.baseline_logit(n)
     return rel_mse(f.edge_probabilities(n, logit = True), logit_Q, logit_P)
コード例 #5
0
def rel_mse_logit_p_ij(n, d, f):
    logit_P = logit(d.edge_probabilities(n))
    logit_Q = f.baseline_logit(n)
    return rel_mse(logit(f.edge_probabilities(n)), logit_Q, logit_P)