Artificial Intelligence, Machine Learning, Data Science, Bioinformatics, Genomics.
good choice when you are not sure if it is a more accurate metric sensitivity or precision because the F1 score is dependent on both. Fig 10. figure source from: adapted from here. let’s start to calculate the confusion matrix: y_pred = model.predict(X_test) confusion_matrix(y_test, y_pred) And