1/15
Looks like no tags are added yet.
Name | Mastery | Learn | Test | Matching | Spaced | Call with Kai | Chat |
|---|
No analytics yet
Send a link to your students to track their progress
Discriminative Model
Learns the boundary between classes
Goal: Estimate P(Y|X)
Examples: Logistic Regression, SVMs, CNNs
Generative Model
Learn the distribution of data itself
Goal: Estimate P(X) or (X,Y)
Examples: Naive Bayes, GANs, VAEs
Goal of Generative Modeling
Take as input training samples from some distribution and learn a model that represents that distribution
Why Generative Models?
Generative models learn probability distributions
Sampling (new data instances)
Backbone of Generative AI
Latent Variable Models
Autoencoders & Variational Autoencoders (VAEs)
Generative Adversarial Networks (GANs)
Autoencoder
Unsupervised deep learning method that learns a compressed embedding for a data input.
Goal is to reproduce the input data at the output layer
Autoencoder uses
Commonly used for dimensionality reduction or generating an embedding for input into other classification or clustering methods.
Autoencoder components
Encoder
Compressed embedding
Decoder
Autoencoder process steps:
Encoder encodes input data into an embedding using non-linear activation functions
Decoder reconstructs output by using non-linear layers to decode embedding
MSE is calculated between reconstructed output and original input
Backpropagation of error to adjust autoencoder weights.
Repeat until MSE is minimised
Autoencoder variations
Denoising
Sparsing
Denoising
Corrupts input data by injecting Gaussian noise.
Sparse
Restricts the number of active nodes in the training process
Autoencoder variations intuition
Injecting noise or restricting active nodes forces autoencoder to learn the most important features.
Variational Autoencoders
Compress representation of world to something we can use to learn
Reconstruct for unsupervised learning
Reparameterization trick to train end-to-end
Interpret hidden latent variables using perturbation
Generate new examples
Generative Adversarial Networks
Machine learning framework where two neural networks, a generator and a discriminator, compete against each other to create realistic, synthetic data
How to train a GAN
Train the discriminator using current ability of the generator
Train the generator to beat the discriminator
Feedback loop