sagemaker-101-workshop icon indicating copy to clipboard operation
sagemaker-101-workshop copied to clipboard

generate_classification_report() does not show plot

Open crh23 opened this issue 2 years ago • 0 comments

In the first lab (SageMaker XGBoost HPO.ipynb), generate_classification_report() is called a couple of times. There does not appear to be a final call to plt.show() (from matplotlib.pyplot), and so the report does not display in the notebook.

Adding the lines import matplotlib.pyplot as plt and plt.show() to the notebook solves the issue, but plt.show() should probably be added to the utility function itself.

crh23 avatar May 27 '22 10:05 crh23