July 2018
Intermediate to advanced
334 pages
8h 20m
English
In this section, we write a positivesNegatives function that takes in the labelsAndPredictions dataframe from Step 3 and spits out either false positives, false negatives, or true positives, depending on what we want.
It also takes in two other parameters:
Accordingly, here is one method that calculates all three: true positives, false positives, and false negatives:
def positivesNegatives(labelAndPredictions: ...Read now
Unlock full access