Statistics

How will you generate a matrix that follows Bernoulli distribution in python? Divide each element of the matrix with sum of columns.

Try Our AI Interviewer

Prepare for success with realistic, role-specific interview simulations.

Try AI Interview Now

Interview question asked to Data Scientists interviewing at UberEats, Spotify, Nokia and others: How will you generate a matrix that follows Bernoulli distribution in python? Divide each element of the matrix with sum of columns..