k-Armed Bandit 1.0.0
A collection of k-armed bandits and assoicated agents for reinforcement learning
Loading...
Searching...
No Matches
Public Member Functions | List of all members
bandit.tests.test_normal.TestNormalBandit Class Reference

Tests the methods for a normal distribution bandit. More...

Inheritance diagram for bandit.tests.test_normal.TestNormalBandit:

Public Member Functions

 test_distribution_generation (self)
 Ensure that arm distributions have means on the range [-1, 1) and standard deviations of 1.
 
 test_reward_selection (self)
 Test that rewards of the correct shape are produced.
 

Detailed Description

Tests the methods for a normal distribution bandit.

Definition at line 5 of file test_normal.py.

Member Function Documentation

◆ test_distribution_generation()

bandit.tests.test_normal.TestNormalBandit.test_distribution_generation (   self)

Ensure that arm distributions have means on the range [-1, 1) and standard deviations of 1.

Definition at line 10 of file test_normal.py.

◆ test_reward_selection()

bandit.tests.test_normal.TestNormalBandit.test_reward_selection (   self)

Test that rewards of the correct shape are produced.

Since any numeric value is technically possible, only check that the right number of rewards are returned.

Definition at line 31 of file test_normal.py.


The documentation for this class was generated from the following file: