351. Application of LISP to sequence prediction
- Author
-
Paul W. Abrahams
- Subjects
Scheme (programming language) ,Sequence ,Polynomial ,Recursion ,General Computer Science ,Computer science ,Process (computing) ,Set (abstract data type) ,Sequence prediction ,Pattern recognition (psychology) ,Lisp ,Arithmetic ,Element (category theory) ,Algorithm ,computer ,computer.programming_language - Abstract
This paper describes a LISP program that analyzes sequences of letters and numbers. The program, which operates interactively, takes as input a sequence such as ACEGI...It produces as output the next element of the sequence, in this case K, together with a LISP program that predicts the n'th element of the sequence. The program is organized into an executive and a set of workers. The executive calls upon each worker in turn. The worker will respond if it recognizes the sequence as the kind that it knows about; since the workers may themselves call upon the executive, the recognition process is recursive. Workers exist for cyclic sequences, linear sequences, letter sequences, polynomials, interwining of sequences, sequences with predictable first differences, sequences with predictable first ratios, and standard sequences such as the primes, the squares, and the cubes. New workers can be added easily. It is concluded that the program can operate efficiently if somewhat slowly on a significantly large collection of sequences, and that the organizational scheme used has application to other kinds of pattern recognition.
- Published
- 1966
- Full Text
- View/download PDF