What is the difference between a generative model and a discriminative model?
Experience Level: Junior
Tags: Artificial Intelligence
Answer
A generative model is a type of model that models the joint distribution of the input features and the target labels, and can be used to generate new samples from the same distribution.
A discriminative model models the conditional distribution of the target labels given the input features, and is used to classify new instances into one of several classes. The choice of whether to use a generative or discriminative model depends on the specific task and the availability of data.
Related Artificial intelligence (AI) job interview questions
What is natural language processing (NLP)?
Artificial Intelligence JuniorWhat are the main types of AI?
Artificial Intelligence JuniorWhat is a generative adversarial network?
Artificial Intelligence JuniorWhat is the difference between precision and recall?
Artificial Intelligence JuniorWhat is a convolutional neural network (CNN)?
Artificial Intelligence Junior