Data Scientist Trainee Interview Questions

54,348 data scientist trainee interview questions shared by candidates

1 coding question : Write a function for sampling from a multimodal distribution. Your inputs are: Keys (i.e. green, red, blue) Weights (i.e. 2, 3, 5.5) N (number of samples drawn from this distribution ( i.e. n=5) Output : list of n keys: Example n = 5: [blue, blue, blue, red, green] Hint: draw a rv of uniform distribution. Calculate the normalized weights for each key. - Machine Learning question : we have a list of items and how many times each item is purchased (range from 10 to 100000 times). For each user the probability of user buying each item is uniform (same across all users). Let’s say we have an item "A" that has been recommended 10 times, has been purchased 10 times. What is the long term probability of being purchased for this item ?
avatar

Data Scientist

Interviewed at Stitch Fix

3.3
Jul 31, 2020

1 coding question : Write a function for sampling from a multimodal distribution. Your inputs are: Keys (i.e. green, red, blue) Weights (i.e. 2, 3, 5.5) N (number of samples drawn from this distribution ( i.e. n=5) Output : list of n keys: Example n = 5: [blue, blue, blue, red, green] Hint: draw a rv of uniform distribution. Calculate the normalized weights for each key. - Machine Learning question : we have a list of items and how many times each item is purchased (range from 10 to 100000 times). For each user the probability of user buying each item is uniform (same across all users). Let’s say we have an item "A" that has been recommended 10 times, has been purchased 10 times. What is the long term probability of being purchased for this item ?

Viewing 1501 - 1510 interview questions

Glassdoor has 54,348 interview questions and reports from Data scientist trainee interviews. Prepare for your interview. Get hired. Love your job.