- Link to the classroom item you are referring to: Coursera | Online Courses & Credentials From Top Educators. Join for Free | Coursera
- Description
In the optional section, the train_classifier as it is coded generates an error during visualization step, while calling sns.lineplot.
sns.lineplot(x_axis, classifier_losses[:len(x_axis)], label=“Classifier Loss”)
Updating it to sns.lineplot(**x=**x_axis, **y=**classifier_losses[:len(x_axis)], label=“Classifier Loss”) fix the problem.