Home Knowledge Base N-way K-shot

N-way K-shot is the standard notation describing the structure of few-shot learning tasks, where N specifies the number of classes and K specifies the number of labeled examples per class.

Notation Breakdown

Common Configurations

ConfigurationDifficultyUse Case
5-way 1-shotVery hardMinimal data scenario, benchmark standard
5-way 5-shotModerateStandard benchmark, balanced difficulty
10-way 1-shotHardMany classes with minimal data
20-way 5-shotHardLarger classification tasks
2-way 1-shotEasierBinary classification with one example

How Difficulty Scales

Episode Structure

Benchmark Results (miniImageNet)

Variations

Reporting Standards

The N-way K-shot framework provides a standardized language for comparing few-shot learning methods — ensuring fair comparison by specifying exactly how much data the model has access to for each task.

n-way k-shotfew-shot learning

Explore 500+ Semiconductor & AI Topics

From EUV lithography to CUDA optimization — search the full knowledge base or chat with our AI assistant.