resources/tutorials/example for creating custom reward function? #218
Answered
by
Mark2000
MicahJSherry
asked this question in
Q&A
-
I am having trouble translating my ideas for reward functions into bsk_rl objects. Can someone point me to a good (preferably beginner-friendly) example or tutorial that might help me adapt to my goals? |
Beta Was this translation helpful? Give feedback.
Answered by
Mark2000
Dec 27, 2024
Replies: 1 comment 3 replies
-
There aren't any tutorials specifically, but my advice would be to look at how one of the reward functions is implemented relative to the base data class. If you have a specific reward model in mind, I can perhaps offer some pointers on how I would structure it. |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Here's what I would do:
get_log_state
would return the current OEs/coordinates.compare_log_states
would only use the second argument (new_state
) to generate an instance of your Data class that contains the difference between the state and the desired state.calculate_reward
receives a dictionary with the satellite names and newest data, and needs to return a dictionary with satellite names…