Welcome to ShenZhenJia Knowledge Sharing Community for programmer and developer-Open, Learning and Share
menu search
person
Welcome To Ask or Share your Answers For Others

Categories

I want to create a heatmap, depending on just the mu and the covariance. The background is, that I want to approximate a specific complex distribution with just these two parameters. I don't want to sample from these distribution, but assign values between 0 and 1, while at mu the value should be 1.

I already found a way to use the precision matrix for that purpose, i.e. approximate using the first two moments:

enter image description here

In this equation, u refers to a specific coordinate. Can anyone explain me, how this is done with the covariance matrix? Is there maybe an easy way to do this in python?

The heat maps I want to generate look as follows:

enter image description here

question from:https://stackoverflow.com/questions/65848422/how-to-approximate-a-2d-distribution-with-mu-and-covariance-in-python

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
thumb_up_alt 0 like thumb_down_alt 0 dislike
686 views
Welcome To Ask or Share your Answers For Others

1 Answer

Waitting for answers

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
thumb_up_alt 0 like thumb_down_alt 0 dislike
Welcome to ShenZhenJia Knowledge Sharing Community for programmer and developer-Open, Learning and Share
...