Adding the final hypothesis method into the classifier.py

Signed-off-by: Renato Stoffalette Joao <renatosjoao@gmail.com>