scikit learn sample try out with my classifier and data
问题 I have build a small program that creates a classifier for a given dataset with scikit-learn. Now I wanted to try this example, to see the classifier at work. For example the clf has to detect "cats". This is how I go on: I have 50 pictures of Cats and 50 pictures of "none cats". get descriptors for data_set with sift-feature detector Split data into training set and test set (25 pictures cats + 25 pictures non cats = training_set, test_set same) get cluster centers with kmeans from the