(ML 17.5) Importance sampling - introduction

Поделиться
HTML-код
  • Опубликовано: 9 сен 2024

Комментарии • 24

  • @JadtheProdigy
    @JadtheProdigy 5 лет назад +8

    But if you cannot draw samples from p, how can you evaluate p(x) in the importance sampling formulation f(x)*(p(x)/q(x))?

    • @chandreshmaurya8102
      @chandreshmaurya8102 3 года назад

      becoz X is disgtributed according to q and we know that we can sample from q easily. Once we know x, we can compute p(x), the pdf evaluated under p.

  • @konstantinkotsev
    @konstantinkotsev 9 лет назад

    That's a cool trick for approximation. Nice explanation too! Thanks!

  • @walkingon2001
    @walkingon2001 12 лет назад

    thanks, what you said was simple and clear. Looking forward to some examples in the next video.

  • @yyalbert4756
    @yyalbert4756 8 лет назад +1

    Very clear! Thank you!

  • @silvanomarchesi7146
    @silvanomarchesi7146 8 лет назад

    Really, really good explanation. Thank you!

  • @user-pl5zn5jf5d
    @user-pl5zn5jf5d 6 лет назад +10

    What if the p(x) don't have a explicit formula, how do we calculate the value of w(x_i),

    • @Paivren
      @Paivren 6 лет назад +2

      if you do not know p(x), you cannot come up with a 'good' function q and you cannot calculate the w(x_i) terms.

  • @johnnyfrink
    @johnnyfrink 11 лет назад +2

    I love your videos! What I didn't get here is: To compute w(x) we do have to compute p, so this must be easy on the one side and p must be known on the other side, incl. partition function, right? And: How do people choose q? Again, we need to know p for that, don't we?

  • @evazhao01
    @evazhao01 7 лет назад

    Great video. Thanks.

  • @donamincorleone
    @donamincorleone 8 лет назад

    Nice video. Helped a lot. Thanks :)

  • @maksimilianmusik5995
    @maksimilianmusik5995 8 лет назад

    awesome video man!

  • @achillesarmstrong9639
    @achillesarmstrong9639 5 лет назад

    wow, very good explanation

  • @Daedana
    @Daedana 13 лет назад

    This was very helpful.

  • @shairuno
    @shairuno 4 года назад +1

    Why we want to do the importance sampling when we already know an explicit form of p(x)?

    • @tinontentes9854
      @tinontentes9854 4 года назад +1

      Sometimes it's very hard to sample from, so we sample from an easier q(x) instead.

  • @ramiBudemaris
    @ramiBudemaris 12 лет назад

    thanks a lot for the video, it was very helpful ... may I ask where is the next video ?

  • @cbandle5050
    @cbandle5050 11 лет назад

    Great lecture as always. By the way, is there a name for the optimal variance-minimizing choice of q?

  • @mathematicsforphysics6882
    @mathematicsforphysics6882 6 лет назад

    thanks

  • @danlan4132
    @danlan4132 8 лет назад +1

    Is it also called injection sampling?

  • @ernestedifor
    @ernestedifor 11 лет назад

    I have a simple C# code (below) for evaluating the CDF of an exponentially distributed event using MC. How can I implement IS?
    Random rnd = new Random(); //random number generator
    double hit = 0, trials = 1000, num=0.9, sim=0;
    for (int i = 1; i

    • @saravanabalagi
      @saravanabalagi 6 лет назад

      Find the inverse of the CDF and sample values corresponding to uniform random numbers generated within the bounds. But this is not importance sampling.

  • @winoddhamnekar8896
    @winoddhamnekar8896 7 лет назад

    Sound should be louder.