What is a visual bag of words and how is it implemented?
This is the original paper:

Gabriella Csurka, Christopher R. Dance, Lixin Fan, Jutta Willamowski, and  Cédric Bray. Visual Categorization with Bag of Keypoints. Workshop on Statistical Learning in Computer Vision, ECCV, 2004.