Question: 3c Your precision is fairly high, while your recall is somewhat lower. Consider the following plots, which display the distribution of the response variable in
3c Your precision is fairly high, while your recall is somewhat lower. Consider the following plots, which display the distribution of the response variable in the training and testing sets (sometimes called the target or true response). Recall that class labels are 0 for benign and 1 for malignant. fig, axes = plt.subplots(1, 2) sns.countplot(x=Y_train, ax=axes[0]); sns.countplot(x=Y_test, ax=axes[1]); axes[0].set_title('Train') axes[1].set_title('Test') plt.tight_layout(); Based on the distribution above, what might explain the observed difference between the precision and recall metrics
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
