Training a classifier for activity recognition using body motion simulation