AITeky Learn

AiTeky Original Interactive Learning & Practice Advanced

Generative models: learning to make new data

Learn what it means for a model to generate data, from mixtures and autoencoders to variational autoencoders and diffusion, and use them to create synthetic customer data and to judge generated data honestly.

Most machine learning predicts a label. Generative models do something different: they learn what the data itself looks like, well enough to produce new examples that could have come from it. New faces, new music, new text, and also new rows for a table when the real ones cannot be shared.

In this course you start with the simplest generator, a mixture of bell curves, and move through autoencoders (compress and rebuild), variational autoencoders (make the compressed space smooth so you can draw from it) and diffusion (start from noise and clean it step by step), building each on small data so you can see every step. The industry lessons use these ideas to create synthetic customer data for a team that cannot share the real one, and to check, honestly, whether generated data is any good and whether it leaks the real rows. You need the machine learning course, and the deep learning course for the PyTorch lesson.

  • Learn lessons explain one idea at a time, with code you can run (the VAE lesson runs in Colab).
  • Industry ready lessons build synthetic customer data and test it for usefulness and privacy. Each ends with the interview questions that go with it.

Locked. Sign up free

Learn

Understand each idea with everyday examples. No coding background needed.

  1. 01 25 min Free sample πŸ”’ AiTeky Pass What it means to generate Fit a mixture of bell curves to a two-moons data set, draw new points from it, choose how many bell curves with held-out likelihood, and learn how to check a generator by comparing its samples with real data.
  2. 02 30 min πŸ”’ AiTeky Pass Autoencoders: squeeze and rebuild Train a network to squeeze 64-pixel digit images through a few numbers and rebuild them, see how the size of the squeeze changes the rebuilt images, and use the rebuilding error to spot images that do not look like the rest.
  3. 03 35 min πŸ”’ AiTeky Pass Variational autoencoders: a space you can draw from Make the autoencoder's code space smooth by turning each code into a small cloud and keeping the clouds near a bell curve, then draw random codes to make brand-new digit images and slide between two real digits.
  4. 04 35 min πŸ”’ AiTeky Pass Diffusion: making data out of noise Add noise to two-moons points in small steps, train a small network to predict the noise that was added, and run the process backwards from pure noise to generate new points, measuring how close they land to the real data.

Industry ready

Real problems from real jobs, and the questions interviewers ask about them.

  1. 05 40 min πŸ”’ AiTeky Pass On the job: synthetic customers for a vendor Build a synthetic version of a customer table with a mixture model, repair it so the rows obey the business rules, test whether it keeps the patterns that matter, and check whether it copies any real customer.
  2. 06 40 min πŸ”’ AiTeky Pass On the job: is the generator any good? Compare five generators with measures of quality (precision), coverage (recall) and memorisation, see which failures each one shows, and write an evaluation that a team lead can trust before a generator is used.

We use essential cookies to run the site. With your permission we also set one anonymous ID to count unique visitors, and analytics cookies to see which pages help learners. Cookie notice

Join AiTeky Learn. It's free.

Create a free account to track your progress, save items for later and get study suggestions.

Sign up free Log in