Compare commits

...

2 Commits

Author SHA1 Message Date
d6195e13a1 small debug in length of the reward array 2023-07-24 18:54:48 +02:00
d020e1ac47 small debug 2023-07-24 18:54:05 +02:00

View File

@ -143,7 +143,7 @@ class ActiveBOTopic(Node):
self.overwrite = msg.overwrite
# initialize
self.reward = np.zeros((self.bo_episodes+self.nr_init, self.bo_runs))
self.reward = np.zeros((self.bo_episodes + self.nr_init - 1, self.bo_runs))
self.best_pol_reward = np.zeros((1, self.bo_runs))
self.best_policy = np.zeros((self.bo_steps, self.bo_runs))
self.best_weights = np.zeros((self.bo_nr_weights, self.bo_runs))
@ -454,3 +454,4 @@ def main(args=None):
if __name__ == '__main__':
main()