The application of classical conditioning to the machine learning of a commonsense knowledge of visual events