The dim of state returned by reset function of agnosticmaaseanv IS NOT EQUAL TO the dim of observation space (= self.num_hypothesis)
if not self.adaptive_grid:
if self.fisher_in_state:
tmp = [val for pair in zip(self.b_dummies, fisher) for val in pair]
return np.array([val for pair in zip(self.b_dummies, fisher) for val in pair])
else:
return np.array(self.b_dummies)
else:
if self.fisher_in_state:
#TODO: put fisher in state in interlaced fashion
return np.array(list(self.b_dummies) + list(self.all_boundaries) + [1] + list(fisher))
else:
return np.array([val for pair in zip(list(self.b_dummies), list(self.all_boundaries) + [1]) for val in pair])
The dim of state returned by
reset
function of agnosticmaaseanv IS NOT EQUAL TO the dim of observation space (= self.num_hypothesis)