def add_experiment(experiment):
    """Adds a new experiment"""
    redis = oz.redis.create_connection()
    oz.bandit.add_experiment(redis, experiment)
def add_experiment ( experiment ) : redis = oz . redis . create_connection ( ) oz . bandit . add_experiment ( redis , experiment )
Adds a new experiment