PyTorch & Deep Learning for Beginners / Chapter 1 — Tensors and Automatic Differentiation (lessons 1–8) / Lesson 1
Where Deep Learning and PyTorch Fit
Time needed: about 2 min (estimate)
Reading settings
These settings are remembered on this device only.
You can try the opening of this lesson without an account.
Do people choose the features, or does the model?
When you built classifiers with scikit-learn, accuracy depended on how you engineered the features.
"One-hot encode the day of the week," "take the log of the amount": this is where human skill shows.
Deep learning changed exactly that: it makes the feature-building part itself something the model learns.
For images, the model decides "which filters bring out the edges" by gradient descent.
What you pay in return
It doesn't come for free, though.
You pay three costs: it needs data, it needs compute, and it's hard to explain what's inside.
For a few thousand rows of tabular data, gradient boosting is almost always faster and stronger.
Deep learning wins on raw data like images, audio, and text, where people can't write the features down by hand.
Create a free account to keep reading
With an account you can read the rest of this lesson, take the quiz, and read every free lesson in this course. Lessons you answer correctly are recorded as complete.
Report a problem with this lesson
Log in to send a report.