SmartEngine
1.6.0
|
Standard instance of IGeneticTrainer. More...
Classes | |
class | CInfo |
Constructor info More... | |
Public Member Functions | |
GeneticTrainer (CInfo cinfo) | |
void | Initialize (NeuralNetworks.GeneticTrainerInitializationInfo info) |
IGeneticTrainer implementation. More... | |
void | Step () |
IGeneticTrainer implementation. More... | |
void | SortPopulation () |
IGeneticTrainer implementation. More... | |
int | GetChromosomeLastIndex (int index) |
IGeneticTrainer implementation. More... | |
void | SetChromosome (int index) |
IGeneticTrainer implementation. More... | |
void | SetBestChromosome () |
IGeneticTrainer implementation. More... | |
void | CopyOutChromosome (int index, Graph graph) |
IGeneticTrainer implementation. More... | |
void | CopyOutBestChromosome (Graph graph) |
IGeneticTrainer implementation. More... | |
void | CopyOutTopAverage (float count, Graph graph, bool weightedAverage) |
IGeneticTrainer implementation. More... | |
void | SetTrainingInfo (NeuralNetworks.GeneticTrainingInfo info) |
IGeneticTrainer implementation. More... | |
float | GetLoss (int index) |
IGeneticTrainer implementation. More... | |
void | SetLoss (int index, float loss) |
IGeneticTrainer implementation. More... | |
Public Member Functions inherited from SmartEngine.NeuralNetworks.LossTrainer | |
unsafe void | SetTrainingMethod (SmartEngine.NeuralNetworks.LossTrainingMethodInfo info) |
Sets the training method and associated parameters More... | |
Public Member Functions inherited from SmartEngine.Resource | |
SerializationResult | Load (string appendName=null) |
Load this object from disk. More... | |
SerializationResult | Save (string appendName=null) |
Save this object to disk. More... | |
SerializationResult | Serialize (MemoryBuffer buffer) |
Write the contents of this object to a buffer. More... | |
SerializationResult | Serialize (out byte[] data) |
Write the contents of this object to a byte array. More... | |
SerializationResult | Deserialize (MemoryBuffer buffer) |
Fill this object with contents from a buffer. More... | |
SerializationResult | Deserialize (byte[] data) |
Fill this object with contents from a byte array. More... | |
Public Member Functions inherited from SmartEngine.Object | |
void | AddRef () |
Increments the internal reference count on this object. It is not common to use this method directly. More... | |
void | Release () |
Decrements the internal reference count on this object. It is not common to use this method directly. More... | |
Public Member Functions inherited from SmartEngine.Disposable | |
void | Dispose () |
Cleans up any internal state. It is not safe to use an object after it has been disposed. More... | |
Public Member Functions inherited from SmartEngine.NeuralNetworks.IGeneticTrainer | |
void | Initialize (GeneticTrainerInitializationInfo info) |
Initializes the newtwork with a new population. Not necessary to call if deserializing from disk. More... | |
void | SetTrainingMethod (LossTrainingMethodInfo info) |
Sets the training method and associated parameters More... | |
void | SetTrainingInfo (GeneticTrainingInfo info) |
Sets the genetic parameters of the trainer. More... | |
SerializationResult | Load (string appendName=null) |
Load this object from disk. More... | |
SerializationResult | Save (string appendName=null) |
Save this object to disk. More... | |
Properties | |
int | PopulationCount [get] |
IGeneticTrainer implementation. More... | |
float | MutationStandardDeviation [get] |
IGeneticTrainer implementation. More... | |
Properties inherited from SmartEngine.NeuralNetworks.LossTrainer | |
uint | GenerationCount [get] |
Returns the number of generations we have been training for. More... | |
float | Loss [get] |
Returns the loss in the graph. More... | |
Properties inherited from SmartEngine.Resource | |
string | ResourceName [get] |
Returns the name of this resource passed to the constructor. More... | |
SerializationResult | LastLoadResult [get] |
Returns the result of the last call to Load(). Useful for checking loaded data state after creation. More... | |
Properties inherited from SmartEngine.NeuralNetworks.IGeneticTrainer | |
string | ResourceName [get] |
Returns the name of this resource passed to the constructor. More... | |
uint | GenerationCount [get] |
Returns the number of generations we have been training for. More... | |
float | Loss [get] |
Returns the loss in the graph. More... | |
int | PopulationCount [get] |
Retrieves the total number of chromosomes (test subjects) in the population. More... | |
float | MutationStandardDeviation [get] |
Returns the current mutation standard deviation, taking into account adaptive behavior More... | |
Standard instance of IGeneticTrainer.
void SmartEngine.NeuralNetworks.GeneticTrainer.CopyOutBestChromosome | ( | Graph | graph | ) |
IGeneticTrainer implementation.
Implements SmartEngine.NeuralNetworks.IGeneticTrainer.
void SmartEngine.NeuralNetworks.GeneticTrainer.CopyOutChromosome | ( | int | index, |
Graph | graph | ||
) |
IGeneticTrainer implementation.
Implements SmartEngine.NeuralNetworks.IGeneticTrainer.
void SmartEngine.NeuralNetworks.GeneticTrainer.CopyOutTopAverage | ( | float | count, |
Graph | graph, | ||
bool | weightedAverage | ||
) |
IGeneticTrainer implementation.
Implements SmartEngine.NeuralNetworks.IGeneticTrainer.
int SmartEngine.NeuralNetworks.GeneticTrainer.GetChromosomeLastIndex | ( | int | index | ) |
IGeneticTrainer implementation.
Implements SmartEngine.NeuralNetworks.IGeneticTrainer.
float SmartEngine.NeuralNetworks.GeneticTrainer.GetLoss | ( | int | index | ) |
IGeneticTrainer implementation.
Implements SmartEngine.NeuralNetworks.IGeneticTrainer.
void SmartEngine.NeuralNetworks.GeneticTrainer.Initialize | ( | NeuralNetworks.GeneticTrainerInitializationInfo | info | ) |
IGeneticTrainer implementation.
void SmartEngine.NeuralNetworks.GeneticTrainer.SetBestChromosome | ( | ) |
IGeneticTrainer implementation.
Implements SmartEngine.NeuralNetworks.IGeneticTrainer.
void SmartEngine.NeuralNetworks.GeneticTrainer.SetChromosome | ( | int | index | ) |
IGeneticTrainer implementation.
Implements SmartEngine.NeuralNetworks.IGeneticTrainer.
void SmartEngine.NeuralNetworks.GeneticTrainer.SetLoss | ( | int | index, |
float | loss | ||
) |
IGeneticTrainer implementation.
Implements SmartEngine.NeuralNetworks.IGeneticTrainer.
void SmartEngine.NeuralNetworks.GeneticTrainer.SetTrainingInfo | ( | NeuralNetworks.GeneticTrainingInfo | info | ) |
IGeneticTrainer implementation.
void SmartEngine.NeuralNetworks.GeneticTrainer.SortPopulation | ( | ) |
IGeneticTrainer implementation.
Implements SmartEngine.NeuralNetworks.IGeneticTrainer.
void SmartEngine.NeuralNetworks.GeneticTrainer.Step | ( | ) |
IGeneticTrainer implementation.
Implements SmartEngine.NeuralNetworks.IGeneticTrainer.
|
get |
IGeneticTrainer implementation.
|
get |
IGeneticTrainer implementation.