very often you have to approximate it using Monte Carlo methods or variation of approximations and this is what a lot of people instead of probabilistic modeling do there's a lot of papers on this but you don't need to do all this ok so now let's talk about latent variable models so I talked about the k-means method where this is Z variable that you have to minimize over to get the energy of your of your system and it's kind of specific example of a kind of more general approach ignore the stuff on the on the right for