Skip to content

Commit

Permalink
- mixed up sclaing factors fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
kim-mskw committed Dec 18, 2024
1 parent f762d7d commit 0a9e076
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions assume/strategies/learning_strategies.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,10 +53,10 @@ def load_actor_params(self, load_path):

def prepare_observations(self, unit, market_id):
# scaling factors for the observations
upper_scaling_factor_res_load = max(unit.forecaster[f"price_{market_id}"])
lower_scaling_factor_res_load = min(unit.forecaster[f"price_{market_id}"])
upper_scaling_factor_price = max(unit.forecaster[f"residualy_load_{market_id}"])
lower_scaling_factor_price = min(unit.forecaster[f"residual_load_{market_id}"])
upper_scaling_factor_price = max(unit.forecaster[f"price_{market_id}"])
lower_scaling_factor_price = min(unit.forecaster[f"price_{market_id}"])
upper_scaling_factor_res_load = max(unit.forecaster[f"residual_load_{market_id}"])
lower_scaling_factor_res_load = min(unit.forecaster[f"residual_load_{market_id}"])

self.scaled_res_load_obs = min_max_scale(
unit.forecaster[f"residual_load_{market_id}"],
Expand Down

0 comments on commit 0a9e076

Please sign in to comment.