A discussion of the role of prediction as the key process underlying the function of an intelligent machine. A model of a "neuron" is presented that exhibits properties of memory and learning. The formalism of the calculus of probability allows an in...