Removed global normalization for state_features

This commit is contained in:
Vasilis Valatsos 2023-11-22 01:29:15 +01:00
parent b6cfee3775
commit fd04f0a240
3 changed files with 0 additions and 4 deletions

View file

@ -144,10 +144,6 @@ class Player(pygame.sprite.Sprite):
self.state_features.append(0) self.state_features.append(0)
self.state_features = np.array(self.state_features) self.state_features = np.array(self.state_features)
min_feat = np.min(self.state_features)
max_feat = np.max(self.state_features)
self.state_features = (self.state_features -
min_feat) / (max_feat-min_feat)
def get_max_num_states(self): def get_max_num_states(self):
self.get_current_state() self.get_current_state()

Binary file not shown.

Binary file not shown.