Hey there! This problem might be a bit unpredictable, but give it a go and let us know how you do!
Consider the Python code snippet below, which calculates the accuracy of a classification model using a confusion matrix. Here, `tp`, `tn`, `fp`, and `fn` represent true positives, true negatives, false positives, and false negatives, respectively.
Which of the following formulas are correctly implemented in this function?
def calculate_accuracy(tp, tn, fp, fn):
return ... # Fill in the blank