Calculates the f1 score
f1Score(actual, predicted, cutoff = 0.5)
actual
A vector of the labels
predicted
A vector of predicted values
cutoff
A cutoff for the predicted values