<p>I am fairly new to RL and I compete in AWS DeepRacer student league. The main task there is to create a reward function. All the hyperparameters and action space are fixed. So far, I know how to shape a single component like speed or steering. I always do like steer_reward^2 or speed^2. But when I try to combine the components together, I am not seeing good results. Is it best to mutliply or add components and are there any resource where I find various maximization functions?</p>

CC BY-SA 4.0
2022-09-06T13:03:15.463Z
Hey, check these answers: [one](https://ai.stackexchange.com/questions/28291/how-would-you-shape-a-reward-function-if-there-was-four-quantities-to-optimize/28298#28298), [two](https://ai.stackexchange.com/questions/24157/how-should-i-define-the-reward-function-to-solve-the-wumpus-game-with-deep-q-lea/24164#24164). Did they answer your question?
Aray Karjauv
CC BY-SA 4.0
2022-09-11T19:28:19.457Z
@ArayKarjauv Nope. I am trying find out functions that have a good global minimum or maximum where the variables of the functions are the speed or steering or other params.
aniketvp24
<reinforcement-learning><rewards><reward-functions><reward-shaping>
Shaping reward so that it maximizes multiple components together
aniketvp24
# Shaping reward so that it maximizes multiple components together

(Asked by: username_0 on 2022-09-05)

I am fairly new to RL and I compete in AWS DeepRacer student league. The main task there is to create a reward function. All the hyperparameters and action space are fixed. So far, I know how to shape a single component like speed or steering. I always do like steer\_reward^2 or speed^2. But when I try to combine the components together, I am not seeing good results. Is it best to mutliply or add components and are there any resource where I find various maximization functions?

**Tags:** reinforcement-learning, rewards, reward-functions, reward-shaping

> **Comments:**
> **username_1**: Hey, check these answers: [one](https://ai.stackexchange.com/questions/28291/how-would-you-shape-a-reward-function-if-there-was-four-quantities-to-optimize/28298#28298), [two](https://ai.stackexchange.com/questions/24157/how-should-i-define-the-reward-function-to-solve-the-wumpus-game-with-deep-q-lea/24164#24164). Did they answer your question?  
> **username_0**: @ArayKarjauv Nope. I am trying find out functions that have a good global minimum or maximum where the variables of the functions are the speed or steering or other params.  

---

## 0 answers

