hash_train and hash_classify