Merge remote-tracking branch 'origin/develop' into feat/add-pytorch-model-support

This commit is contained in:
robcaulk
2023-04-08 13:22:25 +02:00
123 changed files with 7298 additions and 3422 deletions

View File

@@ -100,7 +100,7 @@ class ReinforcementLearner(BaseReinforcementLearningModel):
"""
# first, penalize if the action is not valid
if not self._is_valid(action):
self.tensorboard_log("is_valid")
self.tensorboard_log("invalid", category="actions")
return -2
pnl = self.get_unrealized_profit()