uses k-nn for first classifier, uses naive bays for second classifier