---
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"
---
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.