Research Article

Applying Machine Learning to Chemical Industry: A Self-Adaptive GA-BP Neural Network-Based Predictor of Gasoline Octane Number

Algorithm 2

Genetic algorithm.
  Parents < - { Randomly generated populations }
   While not (Termination condition)
    Calculate the fitness of each parent in the population
  Children < - ∅
   While | Children| < |Parents|
    Using fitness to select a mating pair of sires based on probability
     The parents mated to produce offspring c1 and c2
      Children < - Children{c1, c2}
   Loop
    Some offspring random mutation
  Parents < - Children
   Next Generation