Creates a bag of words from a data set.

Uses SIFT keypoints, and HoG descriptors.