operant conditioning

learning to anticipate future events on the basis of past experience with the consequences of one's own behavior