Thrill  0.1
gen_data.py File Reference

Go to the source code of this file.

Namespaces

 gen_data
 

Variables

string comment = "# Params: "
 
int D = 1
 
int maxx = 100
 
int minx = -100
 
int N = 1000000
 
int noise_add_sig = 10
 
int noise_mu = 1
 
float noise_sig = 0.1
 
int param_mu = 1
 
float param_sig = 0.2
 
list params = [random.gauss(param_mu, param_sig) for x in range(0, D)]
 
int SEED = 666
 
string string = " ".join(map(str,x)) + " "
 
int value = 0
 
list x = [random.uniform(minx, maxx) for x in range(0,D)]