July 2018
Intermediate to advanced
334 pages
8h 20m
English
In this section, we will write a function to calculate:
We start by defining a function called errorTermCalc. What parameters does it require? It is apparent that we need two parameters:
There you go. We now have a function called errorTermCalc that takes two parameters and returns both the best error term and the best F1.
Why are these numbers important? To answer that question, we want to detect the outliers first. These are labeled data points that indicate fraud. Generating a new dataframe that classifies labeled data points as either ...
Read now
Unlock full access