Arms.RestlessArm module

author: Julien Seznec Restless arm, i.e. arms with mean value which change at each round

class Arms.RestlessArm.RestlessArm(rewardFunction, staticArm)[source]

Bases: Arms.Arm.Arm

__init__(rewardFunction, staticArm)[source]

Base class for an arm class.

draw(t)[source]

Draw one random sample.

__module__ = 'Arms.RestlessArm'
class Arms.RestlessArm.RestlessBernoulli(rewardFunction)[source]

Bases: Arms.RestlessArm.RestlessArm

__init__(rewardFunction)[source]

Base class for an arm class.

__module__ = 'Arms.RestlessArm'
class Arms.RestlessArm.RestlessBinomial(rewardFunction, draws=1)[source]

Bases: Arms.RestlessArm.RestlessArm

__init__(rewardFunction, draws=1)[source]

Base class for an arm class.

__module__ = 'Arms.RestlessArm'
class Arms.RestlessArm.RestlessConstant(rewardFunction)[source]

Bases: Arms.RestlessArm.RestlessArm

__init__(rewardFunction)[source]

Base class for an arm class.

__module__ = 'Arms.RestlessArm'
class Arms.RestlessArm.RestlessExponential(rewardFunction)[source]

Bases: Arms.RestlessArm.RestlessArm

__init__(rewardFunction)[source]

Base class for an arm class.

__module__ = 'Arms.RestlessArm'
class Arms.RestlessArm.RestlessGaussian(rewardFunction, sigma=1)[source]

Bases: Arms.RestlessArm.RestlessArm

__init__(rewardFunction, sigma=1)[source]

Base class for an arm class.

__module__ = 'Arms.RestlessArm'
class Arms.RestlessArm.RestlessPoisson(rewardFunction, sigma=1)[source]

Bases: Arms.RestlessArm.RestlessArm

__init__(rewardFunction, sigma=1)[source]

Base class for an arm class.

__module__ = 'Arms.RestlessArm'