1. A system for inferring geological classes from oilfield well input data comprising a neural network for inferring class probabilities, characterized in that said system further comprises means for integrating class sequencing knowledge and optimising said class probabilities according to said sequencing knowledge.