0
0
Prompt Engineering / GenAIml~5 mins

Generative vs discriminative models in Prompt Engineering / GenAI - Quick Revision & Key Differences

Choose your learning style9 modes available
Recall & Review
beginner
What is a generative model in machine learning?
A generative model learns how data is created by modeling the joint probability of inputs and outputs. It can generate new data similar to the training data.
Click to reveal answer
beginner
What is a discriminative model in machine learning?
A discriminative model learns the boundary between classes by modeling the conditional probability of outputs given inputs. It predicts labels for new data.
Click to reveal answer
beginner
Give a real-life example of a generative model.
A generative model is like a chef who learns recipes and can create new dishes. For example, a model that creates new images of faces after learning from many photos.
Click to reveal answer
beginner
Give a real-life example of a discriminative model.
A discriminative model is like a security guard who checks if someone is allowed in or not. For example, a spam filter that decides if an email is spam or not.
Click to reveal answer
beginner
What is the main difference between generative and discriminative models?
Generative models learn how data is made and can create new data. Discriminative models learn to tell classes apart and predict labels.
Click to reveal answer
Which model type can generate new data similar to the training set?
ABoth
BDiscriminative model
CNeither
DGenerative model
Which model focuses on predicting the label given the input?
AGenerative model
BUnsupervised model
CDiscriminative model
DReinforcement model
Which of these is an example of a discriminative model?
ALogistic Regression
BGAN (Generative Adversarial Network)
CNaive Bayes
DVariational Autoencoder
Which model type models the joint probability of inputs and outputs?
AGenerative model
BClustering model
CRegression model
DDiscriminative model
What is a key advantage of generative models?
AThey are faster to train
BThey can create new data samples
CThey always have higher accuracy
DThey require less data
Explain in your own words the difference between generative and discriminative models.
Think about whether the model creates data or just classifies it.
You got /4 concepts.
    Give an example of a real-life situation where you would use a generative model and one where you would use a discriminative model.
    Consider if the task needs new data or just classification.
    You got /3 concepts.