+?*+?**aaa??aaa68083295
(4.8)
where the terminal ??? represents the random constants. The expression of this kind of chromosome is done exactly as before, obtaining:
Then the ?痴 in the ET are replaced from left to right and from top to bottom by the symbols (numerals) in Dc, obtaining:
The values corresponding to these symbols are kept in an array. For simplicity, the number represented by the numeral indicates the order in the array. For instance, for the 10 elements array:
A = {0.611, 1.184, 2.449, 2.98, 0.496, 2.286, 0.93, 2.305, 2.737, 0.755}
the chromosome (4.8) above gives:
We will see later in this chapter that genes encoding this kind of domain can be used to great advantage in parameter optimization and in polynomial induction. But this elegant structure can be also used to evolve the weights and thresholds of artificial neural networks. How this is done will be explained in
chapter 5, but for now let痴 see how these domains of random constants can be used to do symbolic regression.