A learning apparatus for building a network structure of a Bayesian
network based on learning data. In the Bayesian network, a cause and
effect relationship between plural nodes is represented by a directed
graph. The learning apparatus includes a storage portion in which the
learning data is stored and a learning portion for building the network
structure based on the learning data. The learning portion prepares an
initial population of individuals formed by individuals each having a
genotype in which orders between the nodes and cause and effect
relationship have been stipulated, repeatedly performs processing for
crossovers and/or mutations on the initial population of individuals
based on a genetic algorithm, calculates an evaluated value of each
individual based on the learning data, searches for an optimum one of the
individuals, and takes a phenotype of the optimum individual as the
network structure.