Function to decide on the appropriate actions
Usage
select_action(n_actions, success_probs, failure_probs)
Arguments
- n_actions
Number of possible actions
- success_probs
Numeric vector with length equal to n_actions containing values between 0-1
- failure_probs
Numeric vector with length equal to n_actions containing values between 0-1
Value
Numeric value in the range of 1 to n_actions