L8.9 Softmax Regression -- Code Example Using PyTorch

Ғылым және технология

Slides: sebastianraschka.com/pdf/lect...
Code examples
Softmax from scratch: github.com/rasbt/stat453-deep...
Softmax regression applied to MNIST: github.com/rasbt/stat453-deep...
-------
This video is part of my Introduction of Deep Learning course.
Next video: • L9.0 Multilayer Percep...
The complete playlist: • Intro to Deep Learning...
A handy overview page with links to the materials: sebastianraschka.com/blog/202...
-------
If you want to be notified about future videos, please consider subscribing to my channel: / sebastianraschka

Пікірлер: 2

  • @jiangshaowen1149
    @jiangshaowen1149 Жыл бұрын

    I noticed in the nn.Module API implementation part, we don't need to apply one-hot encoding to Y, is that because F.cross_entropy function would do that for us?

  • @SebastianRaschka

    @SebastianRaschka

    Жыл бұрын

    Yes, you are correct, the one-hot encoding is done implicitly by the F.cross_entropy function

Келесі