Such non-parametric models only need to learn the representation of the samples and the metric measure.
instances in the same class are interlinked and have their uniform fraction and their specific fractions.