A good way to start is to download the skeleton SBT project archive file from the ModernScalaProjects_Code folder.Â
The step-by-step instructions are as follows:
- EDA on the testing (cross-validation) dataset.
- Calculate the probability densities.
- Generate a fraud detection model.
- Generate scores that measure the accuracy of the model:
- Compute the best F1 score
- Compute the best error term
- Calculate outliers by repeatedly having the model generate predictions over each value of error term in a range.Â
We will create a FraudDetection trait now.