Adobe Interview Question | Prediction Accuracy
Question
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
It will take less than 1 minute to register for lifetime. Bonus Tip - We don't send OTP to your email id Make Sure to use your own email id for free books and giveaways
Answer ( 1 )
If the dataset is balanced, we can use accuracy which is TP + TN /(TP+FP+TN+FN)
If the dataset is unbalanced, we can use precision, recall and F1 score
Precision=TP/TP+FP
Recall=TP/TP+FN
F1score= 2*precision*recall/(precision+recall)
Where TP=True Positive
FP=False Positive
TN=True Negative
FN=False Negative