Style:remove whitespaces
@@ -57,7 +57,7 @@ def make_dataset(model, theta, cond_vec, n_channel=30, n_sim = 1,\
# Make design matrix
if (cond_vec.ndim == 1):
- Zcond = pcm.indicator.identity(cond_vec)
+ Zcond = rsu.indicator.identity(cond_vec)
elif (cond_vec.ndim == 2):
Zcond = cond_vec
else:
@@ -98,5 +98,5 @@ def make_dataset(model, theta, cond_vec, n_channel=30, n_sim = 1,\
data[i,:,:] = Zcond@true_U * np.sqrt(signal) + epsilon
obs_des = {"cond_vec": cond_vec}
des = {"signal": signal,"noise":noise,"model":model.name,"theta": theta}
- dataset = pcm.Dataset(data,obs_descriptors = obs_des,descriptors = des)
+ dataset = rsa.Dataset(data,obs_descriptors = obs_des,descriptors = des)
return dataset
