Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add multi-objective support #8

Open
ellkrauze opened this issue Feb 17, 2024 · 0 comments
Open

Add multi-objective support #8

ellkrauze opened this issue Feb 17, 2024 · 0 comments

Comments

@ellkrauze
Copy link
Owner

gc-ml/draft.ipynb

Lines 542 to 559 in 4d47000

" if goal_value == None:\n",
" raise Exception(f\"Goal '{self._goal}' was not found in '{summary}'!\")\n",
"\n",
" if os.path.exists(summary):\n",
" os.remove(summary)\n",
"\n",
" return goal_value\n",
"\n",
" def _get_reward(\n",
" self,\n",
" current_state: JVMState,\n",
" previous_state: JVMState,\n",
" lower_is_better: bool = False,\n",
" beta: float = 1.0,\n",
" ):\n",
" \"\"\"\n",
" Get the environment reward. The reward is composed of two terms:\n",
" `reward = reward_ex + beta * reward_in`,\n",

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant