Ratings and Rankings   Using Deep Learning When Class Labels Have A Natural Order @SebastianRaschka
Ratings and Rankings   Using Deep Learning When Class Labels Have A Natural Order  @SebastianRaschka
Uploaded February 2022 | Updated November 2026, 4 hours ago
Sebastian's books: sebastianraschka.com/books

Deep learning offers state-of-the-art results for classifying images and text. Common deep learning architectures and training procedures focus on predicting unordered categories, such as recognizing a positive and negative sentiment from written text or indicating whether images contain cats, dogs, or airplanes. However, in many real-world problems, we deal with prediction problems where the target variable has an intrinsic ordering. For example, think of customer ratings (e.g., 1 to 5 stars) or medical diagnoses (e.g., disease severity labels such as none, mild, moderate, and severe). This talk will describe the core concepts behind working with ordered class labels, so-called ordinal data. We will cover hands-on PyTorch examples showing how to take existing deep learning architectures for classification and outfit them with loss functions better suited for ordinal data while only making minimal changes to the core architecture.

Slides: sebastianraschka.com/pdf/slides/2022-02_rework-coral-lightning.pdf
Code: raschka-research-group.github.io/coral-pytorch

0:00 Introduction
0:32 Many Real-World Predictions Problems Have Ordered Labels
0:57 Ordered Labels? Tell Me More!
3:59 Can't we just use regular classifiers for ordered labels?
5:47 How? Let's (Re)Use What We Already know: An Extended Binary Classification Framework
8:07 Problem: rank inconsistency
10:53 Converting a Classifier into a CORN Model in 3 Lines of Code
13:09 Acknowledgements
Ratings and Rankings   Using Deep Learning When Class Labels Have A Natural OrderL14.6.1 Transfer LearningL18.0: Introduction to Generative Adversarial Networks   Lecture OverviewL12.1 Learning Rate DecayL19.5.2.7: Closing Words   The Recent Growth of Language TransformersL19.2.1 Implementing a Character RNN in PyTorch (Concepts)L13.8 What a CNN Can SeeUnderstanding PyTorch BuffersL14.3.1.2 VGG16 in PyTorch   Code ExampleL9.5.1 Cats & Dogs and Custom Data LoadersL11.5 Weight Initialization   Why Do We Care?L11.6 Xavier Glorot and Kaiming He Initialization
Sebastian Raschka |

Ratings and Rankings -- Using Deep Learning When Class Labels Have A Natural Order

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER