Add bandit priors for shadow meta-controller
This commit is contained in:
parent
6bba85fe9a
commit
1e1bd0dc4a
3 changed files with 90 additions and 1 deletions
|
|
@ -52,6 +52,8 @@ def main() -> int:
|
|||
'success': success,
|
||||
'failure_like': failure,
|
||||
'avg_reward': (reward_sum / count if count else 0.0),
|
||||
'alpha': success + 1.0,
|
||||
'beta': failure + 1.0,
|
||||
'beta_mean': beta_mean(success, failure),
|
||||
'mode': classify_mode(row),
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue