|
TimeSeriesPredictionFitnessTranslate Method
|
Translates genotype to phenotype.
Namespace:
Accord.Genetic
Assembly:
Accord.Genetic (in Accord.Genetic.dll) Version: 3.8.0
Syntax public string Translate(
IChromosome chromosome
)
Public Function Translate (
chromosome As IChromosome
) As String
Request Example
View SourceParameters
- chromosome
- Type: Accord.GeneticIChromosome
Chromosome, which genoteype should be
translated to phenotype.
Return Value
Type:
StringReturns chromosome's fenotype - the actual solution
encoded by the chromosome.
Remarks The method returns string value, which represents prediction
expression written in polish postfix notation.
The interpretation of the prediction expression is very simple. For example, let's
take a look at sample expression, which was received with window size equal to 5:
The above expression in postfix polish notation should be interpreted as a next expression:
( ( x[t - 1] - x[t - 2] ) / const1 ) * x[t - 3]
See Also