It is objective of the invention to provide a highly reliable control
apparatus and method which reduces the amount of calculation required for
both learning of an input/output relationship and actual control as well
as prevent inappropriate outputs from being generated for inputs which
have been never learned. According to one aspect of the invention, pairs
of an input pattern vector for learning and a target output are
distributed to a class based on the target output. Then, a correspondence
between each element of the input pattern vector for learning and the
target output is learned only in that class, and a distribution function
is calculated for distributing a new input pattern vector for learning to
that class. After the completion of this learning, the distribution
function is used to determine which class a new input pattern vector
detected by a sensor belongs to. Finally, an output is calculated
according to the learning result of that class. Therefore, since the
range of the outputs corresponding to the inputs may be limited,
reliability of the control is improved.