We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Not sure if the following is a real issue.
Given that:
value
update()
value += rewards[agent_id];
is the get_best_uct_child function correct?
get_best_uct_child
Specifically the line:
float uct_exploitation = (float)child->get_value() / (child->get_num_visits() + FLT_EPSILON);
encourages the selection of nodes with a greater value from the POV of the non-active player. Shouldn't it be something like:
float uct_exploitation = (float)child->get_value(active_id) / (child->get_num_visits() + FLT_EPSILON);
i.e. get_value should return a value from the POV of a specific player.
get_value
A basic example:
ROOT (active_id == 0) +---CHILD1 (active_id == 1, value = 100, visits = 100) |---CHILD2 (active_id == 1, value = 100, visits = 100) +---CHILD3 (active_id == 1, value = 3, visits = 100)
get_best_uct_child favours CHILD1 and CHILD2 (greater get_value() / get_num_visits() ratio). Is it right?
CHILD1
CHILD2
get_value() / get_num_visits()
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Not sure if the following is a real issue.
Given that:
value
);update()
wherevalue += rewards[agent_id];
)is the
get_best_uct_child
function correct?Specifically the line:
encourages the selection of nodes with a greater value from the POV of the non-active player. Shouldn't it be something like:
i.e.
get_value
should return a value from the POV of a specific player.A basic example:
get_best_uct_child
favoursCHILD1
andCHILD2
(greaterget_value() / get_num_visits()
ratio). Is it right?The text was updated successfully, but these errors were encountered: