Maximum Acyclic Subgraph - Multiple Sequence Alignment
MaximumAcyclicSubgraph
Public Member Functions | Public Attributes | List of all members
TrainingSet Class Reference

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.
 

Member Function Documentation

void TrainingSet::train ( Agent agent)

This function trains an agent a designated number of times.

Parameters
agentrequires an agent that has learnedPolicy that has learned at least once.

The documentation for this class was generated from the following files: