What is Discriminative models?
Discriminative models learn to tell data points apart by directly determining the boundary between classes – they answer the question 'Which category does this input belong to?'. Examples include logistic regression, support vector machines and many neural classifiers, for instance for spam detection. Generative models, by contrast, capture how the data itself arises and can therefore produce new examples.