--- title: AB Test Agents keywords: fastai sidebar: home_sidebar summary: "RL Agents to Take actions in A/B Test Environments." description: "RL Agents to Take actions in A/B Test Environments." nb_path: "nbs/rl/agents/ab_test_agent.ipynb" ---
{% raw %}
{% endraw %} {% raw %}
{% endraw %} {% raw %}

class ABTestRunner[source]

ABTestRunner(bandit_returns:List[float], batch_size:int=1000, batches:int=10, simulations:int=100)

Class that is used to run simulations of split tests.

Attributes: bandit_returns: List of average returns per bandit. batch_size: Number of examples per batch. batches: Number of batches. simulations: Number of simulations.

Methods: init_bandits: Prepares everything for new simulation. run: Runs the simulations and tracks performance.

{% endraw %} {% raw %}
{% endraw %}