Skip to content
Snippets Groups Projects
Commit 1d93225e authored by chsieh16's avatar chsieh16
Browse files

Fix bugs in computing center

parent 44914951
No related branches found
No related tags found
No related merge requests found
......@@ -13,7 +13,7 @@ def construct_sample_to_feature_func(lin_trans):
assert len(sample) == STATE_DIM + PERC_DIM
state = sample[0: STATE_DIM]
perc = sample[STATE_DIM: STATE_DIM+PERC_DIM]
perc_bar = perc - np.dot(state, a_mat.T) + b_vec
perc_bar = perc - (np.dot(state, a_mat.T) + b_vec)
return perc_bar
return sample_to_feature_vec
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment