def store_bound(d, suffix, bounds): bound_file = config.get_mrf_bound_filename(d, suffix) np.savetxt(bound_file, bounds) print bound_file
def __init__(self,d,suffix): # For a given setting return bounds as num_bins x num_cols self.bounds = np.loadtxt(config.get_mrf_bound_filename(d, suffix),ndmin=2)