Statistical
Can you write a Python function that yields a Bernoulli-distributed matrix and scales each element by the sum of its respective column?
Was asked at
More interviews, more skills, more success.
Be the first to share your approach to this question
The structured approach to acing interviews
This course taught me the difference between answering questions and nailing interviews. The frameworks are pure gold.
— David L., ML Engineer
Interview question asked to Data Scientists interviewing at Zenefits, Zulily, Evernote and others: Can you write a Python function that yields a Bernoulli-distributed matrix and scales each element by the sum of its respective column?.