Welcome to the forum! Here are the links to two very nice tutorials that may be useful for you to train a classifier: link1 link2 I hope this helps you