Examples from MachineLearning in Action and other tests