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

Fix bounds for teacher

parent 8e6aab93
No related branches found
No related tags found
No related merge requests found
......@@ -48,8 +48,8 @@ def test_synth_region():
teacher = Teacher()
assert teacher.state_dim + teacher.perc_dim == ex_dim
# 0.0 <= x <= 30.0 and 0.9 <= y <= 1.0 and -0.2 <= theta <= -0.22
teacher.set_old_state_bound(lb=[0.0, 0.9, -0.22], ub=[30.0, 1.0, -0.2])
# 0.0 <= x <= 30.0 and -1.0 <= y <= 0.9 and 0.2 <= theta <= 0.22
teacher.set_old_state_bound(lb=[0.0, -1.0, 0.2], ub=[30.0, -0.9, 0.22])
synth_region(positive_examples, teacher, num_max_iterations=20)
......
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