Pattern matching requires using past experience , logic , or theory before the job begins to specify what we expect to find .
The expectations then make up the majority of what we 'd find through data .