Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Sampling from a distribution. Use the Python libraries numpy and =atplotiib. (a) Draw 100 samples x=[x1x2} from a 2-dimensional Gaussian distribution with mean [0,0} and

image text in transcribed
Sampling from a distribution. Use the Python libraries numpy and =atplotiib. (a) Draw 100 samples x=[x1x2} from a 2-dimensional Gaussian distribution with mean [0,0} and identity covariance matrix, i.e. p(x)=(2)41exp(2x2). Plot them on a scatter plot (x1, v8, x2). (b) How does the scatter plot change if the mean is [1,1] ? (for the questions below, change the mean back to [0,0] ) (c) How does the scatter plot change if you double the variance of each component (x1&x2) ? (d) How does the scatter plot change if the covariance matrix is charged to the following? (10.50.51) (e) How does the scatter plot change if the covariance matrix is changed to the following? (10.50.51)

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

More Books

Students also viewed these Databases questions

Question

WHAT IS AUTOMATION TESTING?

Answered: 1 week ago

Question

What is Selenium? What are the advantages of Selenium?

Answered: 1 week ago

Question

Define procedural justice. How does that relate to unions?

Answered: 1 week ago