Data Science Interview Preparation
Home
Interview Questions
Blog
Given a generator of unbiased Bernoulli numbers (0 or 1 with p=0.5), create a biased Bernoulli trial generator (generate 0 or 1 with the specified 0 < p < 1)
Easy
Last updated on May 3, 2022, 10:23 p.m.
Answer in progress
``
``
Share via
Frequently Asked Questions by
Amazon
Other Posts
Write a function to make a biased coin from a fair coin?
Explain the difference between bagging and boosting models.