refactored threshold into method
forgot to include a comma in the tuple
include testing data to get the actual prediction