ENH Test reversed threshold
ENH Test reversed threshold

The previous code worked well for the example in the book, but was
overly simplified. This is now more general.

xho95/BuildingMachineLearningSystemsWithPython,festeh/BuildingMachineLearningSystemsWithPython,sourabhdattawad/BuildingMachineLearningSystemsWithPython,M4573R/BuildingMachineLearningSystemsWithPython,luispedro/BuildingMachineLearningSystemsWithPython,sssllliang/BuildingMachineLearningSystemsWithPython,mihirkelkar/BuildingMachineLearningSystemsWithPython,lokeshpancharia/BuildingMachineLearningSystemsWithPython,classicboyir/BuildingMachineLearningSystemsWithPython,dylanGeng/BuildingMachineLearningSystemsWithPython,kpespinosa/BuildingMachineLearningSystemsWithPython,yaojenkuo/BuildingMachineLearningSystemsWithPython,caidongyun/BuildingMachineLearningSystemsWithPython,luispedro/BuildingMachineLearningSystemsWithPython,kpespinosa/BuildingMachineLearningSystemsWithPython,rishirajsurti/BuildingMachineLearningSystemsWithPython,xho95/BuildingMachineLearningSystemsWithPython,mkomeichi/BuildingMLSystemsWithPython,caidongyun/BuildingMachineLearningSystemsWithPython,danny200309/BuildingMachineLearningSystemsWithPython,classicboyir/BuildingMachineLearningSystemsWithPython,mkomeichi/BuildingMLSystemsWithPython,Adai0808/BuildingMachineLearningSystemsWithPython,lokeshpancharia/BuildingMachineLearningSystemsWithPython,sssllliang/BuildingMachineLearningSystemsWithPython,Adai0808/BuildingMachineLearningSystemsWithPython,rishirajsurti/BuildingMachineLearningSystemsWithPython,danny200309/BuildingMachineLearningSystemsWithPython,mihirkelkar/BuildingMachineLearningSystemsWithPython,osvaldshpengler/BuildingMachineLearningSystemsWithPython,sourabhdattawad/BuildingMachineLearningSystemsWithPython,dylanGeng/BuildingMachineLearningSystemsWithPython,festeh/BuildingMachineLearningSystemsWithPython,kirangonella/BuildingMachineLearningSystemsWithPython,DucQuang1/BuildingMachineLearningSystemsWithPython,yaojenkuo/BuildingMachineLearningSystemsWithPython,DucQuang1/BuildingMachineLearningSystemsWithPython,osvaldshpengler/BuildingMachineLearningSystemsWithPython,M4573R/BuildingMachineLearningSystemsWithPython,kirangonella/BuildingMachineLearningSystemsWithPython