pyqlearning.annealingmodel.costfunctionable package

Submodules

pyqlearning.annealingmodel.costfunctionable.boltzmann_q_learning_cost module

class pyqlearning.annealingmodel.costfunctionable.boltzmann_q_learning_cost.GreedyQLearningCost(greedy_q_learning, init_state_key)[source]

Bases: pyqlearning.annealingmodel.cost_functionable.CostFunctionable

Cost function for Boltzmann Q-Learning which is-a CostFunctionable in relation to AnnealingModel.

compute(x)[source]

Compute cost.

Parameters:xnp.ndarray of explanatory variables.
Returns:cost

pyqlearning.annealingmodel.costfunctionable.greedy_q_learning_cost module

class pyqlearning.annealingmodel.costfunctionable.greedy_q_learning_cost.GreedyQLearningCost(greedy_q_learning, init_state_key)[source]

Bases: pyqlearning.annealingmodel.cost_functionable.CostFunctionable

Cost function for Epsilon Greedy Q-Learning which is-a CostFunctionable in relation to AnnealingModel.

compute(x)[source]

Compute cost.

Parameters:xnp.ndarray of explanatory variables.
Returns:cost

Module contents