22.02.2024 Views

Daniel Voigt Godoy - Deep Learning with PyTorch Step-by-Step A Beginner’s Guide-leanpub

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

fig = sbs_nn.plot_losses()

Figure 4.7 - Losses for deep-ish model

Well, that does not look good at all! It seems even worse than the logistic

regression. Or is it? Let’s plot them both on the same chart to more easily compare

them.

Figure 4.8 - Comparing losses of shallow and deep-ish models

"How could it be? They are … the same?"

Apparently, the deep-ish model is neither better nor worse; it is unbelievably

similar. There’s got to be something wrong. After all, a deeper model should

perform, if not better, at least, differently from a plain logistic regression.

"What are we missing?" Deep-ish Model | 305

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!