%matplotlib inline import matplotlib.pyplot as plt plt.plot(xx,yy_train_loss,"r", label = "train_loss") plt.plot(xx,yy_valid_loss,"b", label = "valid_loss") plt.legend()
%matplotlib inline import matplotlib.pyplot as plt plt.plot(xx,yy_train_loss,"r", label = "train_loss") plt.plot(xx,yy_valid_loss,"b", label = "valid_loss") plt.legend()