SmartEngine
1.6.0
|
Data stored for a particular chromosome. More...
Public Member Functions | |
virtual void | Reset (int index) |
Called at the beginning of training to reset all data to the initial state More... | |
abstract void | MergeData (ChromosomeData data) |
Merges data from the client onto the server data. Typical implementations simply add the stats. More... | |
abstract float | ComputeLoss () |
Should return the calculated loss of this chromosome. Lower loss is always better, so in the case of computing a score where a higher value is better, simply negate the score value. More... | |
virtual void | Serialize (MemoryBuffer writer) |
Serialize the structure More... | |
virtual void | Deserialize (MemoryBuffer reader) |
Deserialize the structure More... | |
Public Attributes | |
int | ChromosomeIndex |
Index of this chromosome More... | |
Data stored for a particular chromosome.
|
pure virtual |
Should return the calculated loss of this chromosome. Lower loss is always better, so in the case of computing a score where a higher value is better, simply negate the score value.
|
virtual |
Deserialize the structure
reader |
|
pure virtual |
Merges data from the client onto the server data. Typical implementations simply add the stats.
data |
|
virtual |
Called at the beginning of training to reset all data to the initial state
index |
|
virtual |
Serialize the structure
writer |
int SmartEngine.Helpers.ChromosomeData.ChromosomeIndex |
Index of this chromosome