Amazon Data Science /ML Interview Questions

I came across Reddit post about fundamentals of Data Science and Machine learning interview questions in amazon can you answer all of these?
1.How does a logistic regression model know what the coefficients are?
2. Difference between convex and non-convex cost function; what does it mean when a cost function is non-convex?
3. Is random weight assignment better than assigning the same weights to the units in the hidden layer?
4. Given a bar plot and imagine you are pouring water from the top, how to qualify how much water can be kept in the bar chart?
5. What is Overfitting?
6. How would the change of prime membership fee would affect the market?
7. Why is gradient checking important?
8. Describe Tree, SVM, Random forest and boosting. Talk about their advantage and disadvantages.
9. How do you weight 9 marbles three times on a balance scale to select the heaviest one?
10. Find the cumulative sum of top 10 most profitable products of the last 6 month for customers in Seattle.
11. Describe the criterion for a particular model selection. Why is dimension reduction important?
12. What are the assumptions for logistic and linear regression?
13. If you can build a perfect (100% accuracy) classification model to predict some customer behavior, what will be the problem in application?
14. The probability that item an item at location A is 0.6 , and 0.8 at location B. What is the probability that item would be found on Amazon website?
15. Given a ‘csv’ file with ID and Quantity columns, 50million records and size of data as 2 GBs, write a program in any language of your choice to aggregate the QUANTITY column.
16. Implement circular queue using an array.
17. When you have a time series data by monthly, it has large data records, how will you find out significant difference between this month and previous months values?
18.Compare Lasso and Ridge Regression.
19. What’s the difference between MLE and MAP inference?
20. Given a function with inputs — an array with N randomly sorted numbers, and an int K, return output in an array with the K largest numbers.
21. When users are navigating through the Amazon website, they are performing several actions. What is the best way to model if their next action would be a purchase?
22. Estimate the disease probability in one city given the probability is very low national wide. Randomly asked 1000 person in this city, with all negative response(NO disease). What is the probability of disease in this city?
23. Describe SVM.
24. How does K-means work? What kind of distance metric would you choose? What if different features have different dynamic range?
25. What is boosting?
26. How many topic modeling techniques do you know of?
27. Formulate LSI and LDA techniques.
28. What are generative and discriminative algorithms? What are their strengths and weaknesses? Which type of algorithms are usually used and why?”

By Amit Oberoi via LinkedIn

Post a Comment

0 Comments