concept parent in category AI

appears as: parent, parent, parents, parents
Grokking Artificial Intelligence Algorithms

This is an excerpt from Manning's book Grokking Artificial Intelligence Algorithms.

In a tree, the value or object represented at a specific point is called a node. Trees typically have a single root node with zero or more child nodes that could contain subtrees. Let’s take a deep breath and jump into some terminology. When a node has connected nodes, the root node is called the parent. You can apply this thinking recursively. A child node may have its own child nodes, which may also contain subtrees. Each child node has a single parent node. A node without any children is a leaf node.

Selecting parents based on their fitness—Selecting pairs of parents that will reproduce offspring.

  • Reproducing individuals from parents—Creating offspring from their parents by mixing genetic information and applying slight mutations to the offspring.

  • Reproducing individuals from parents—Creating offspring from their parents by mixing genetic information and applying slight mutations to the offspring.

  • Populating the next generation—Selecting individuals and offspring from the population that will survive to the next generation.

  • When parents are selected, reproduction needs to happen to create new offspring from the parents. Generally, two steps are related to creating children from two parents. The first concept is crossover, which means mixing part of the chromosome of the first parent with part of the chromosome of the second parent, and vice versa. This process results in two offspring that contain inversed mixes of their parents. The second concept is mutation, which means randomly changing the offspring slightly to create variation in the population (figure 4.20).