Maximum Acyclic Subgraph - Multiple Sequence Alignment
MaximumAcyclicSubgraph
|
Public Member Functions | |
TrainingSet (unsigned int learningRepetitions, unsigned int epochs, unsigned int numbEpisodes, unsigned int batchSize, float learningRate) | |
void | setLearningRepetitions (unsigned int learningRepetitions) |
void | setEpochs (unsigned int epochs) |
void | setNumbEpisodes (unsigned int numbEpisodes) |
void | setBatchSize (unsigned int batchSize) |
void | setLearningRate (float learningRate) |
void | train (Agent *agent) |
This function trains an agent a designated number of times. More... | |
Public Attributes | |
unsigned int | learningRepetitions |
Number of times the agent gets trained. | |
unsigned int | epochs |
Number of epochs. | |
unsigned int | batchSize |
The size of a batch. | |
float | learningRate |
The rate of learning (alpha) | |
unsigned int | numbEpisodes |
The number of episodes. | |
void TrainingSet::train | ( | Agent * | agent | ) |
This function trains an agent a designated number of times.
agent | requires an agent that has learnedPolicy that has learned at least once. |