Skip to content
Snippets Groups Projects
Commit f17a469a authored by Franck Dary's avatar Franck Dary
Browse files

Increased history size

parent 9e8e91be
No related branches found
No related tags found
No related merge requests found
...@@ -347,7 +347,7 @@ void Trainer::doStepTrain() ...@@ -347,7 +347,7 @@ void Trainer::doStepTrain()
} }
actionName = pAction; actionName = pAction;
if (choiceWithProbability(0.5)) if (choiceWithProbability(0.2) && TI.getEpoch() >= ProgramParameters::dynamicEpoch)
actionName = oAction; actionName = oAction;
char buffer[1024]; char buffer[1024];
......
...@@ -134,7 +134,7 @@ class Config ...@@ -134,7 +134,7 @@ class Config
private : private :
const unsigned int HISTORY_SIZE = 100000; const unsigned int HISTORY_SIZE = 1000000;
/// @brief The name of the current state of the TransitionMachine. /// @brief The name of the current state of the TransitionMachine.
std::string currentStateName; std::string currentStateName;
/// @brief For each state of the TransitionMachine, an history of the Action that have been applied to this Config. /// @brief For each state of the TransitionMachine, an history of the Action that have been applied to this Config.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment