Data model of the QTable, you can using this object to stores the trained QL_AI into a file.
QModel
01 Syntax
Microsoft.VisualBasic.MachineLearning.QLearning.DataModel.QModel
02 Methods
| Name | Overloads | Summary |
|---|---|---|
| .ctor | 2 | Create a new empty Q model. |
03 Properties
| Name | Overloads | Summary |
|---|---|---|
| Actions | 1 | All of the state-action pairs which are stored in the Q table. |
| ActionRange | 1 | The number of the possible actions of each environment state. |
| ExplorationChance | 1 | The chance of taking a random action instead of the best known action. |
| GammaValue | 1 | The discount factor of the future reward. |
| LearningRate | 1 | The learning rate of the Q-value update. |
04 Members
#ctor(IQTable)
Create the data model from a trained Q table object.
Parameters
#ctor
Create a new empty Q model.
Actions
All of the state-action pairs which are stored in the Q table.
Returns
An array of the Action objects.
ActionRange
The number of the possible actions of each environment state.
Returns
An Int32 value.
ExplorationChance
The chance of taking a random action instead of the best known action.
Returns
A Single value in the interval [0, 1].
GammaValue
The discount factor of the future reward.
Returns
A Single value in the interval [0, 1].
LearningRate
The learning rate of the Q-value update.
Returns
A Single value in the interval [0, 1].