Removed global normalization for state_features
This commit is contained in:
parent
b6cfee3775
commit
fd04f0a240
3 changed files with 0 additions and 4 deletions
|
@ -144,10 +144,6 @@ class Player(pygame.sprite.Sprite):
|
|||
self.state_features.append(0)
|
||||
|
||||
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):
|
||||
self.get_current_state()
|
||||
|
|
Binary file not shown.
Binary file not shown.
Loading…
Reference in a new issue