Machine Learning Engineer Interview Questions

6,178 machine learning engineer interview questions shared by candidates

Exercise The attached CSV file lists the customer, date, and dollar value of orders placed at a store in 2017. The actual gender and predicted gender of each customer is also provided. Complete each of the following activities in a jupyter notebook using Python. Put your name and email at the top of the notebook and include your name in the notebook file name. Send back only your notebook file and please do not zip it. Please do not exclude $0 orders. A) Assemble a dataframe with one row per customer and the following columns: * customer_id * gender * most_recent_order_date * order_count (number of orders placed by this customer) Sort the dataframe by customer_id ascending and display the first 10 rows. B) Plot the count of orders per week for the store. C) Compute the mean order value for gender 0 and for gender 1. Do you think the difference is significant? Justify your choice of method. D) Generate a confusion matrix for the gender predictions of customers in this dataset. You can assume that there is only one gender prediction for each customer. What does the confusion matrix tell you about the quality of the predictions? E) Describe one of your favorite tools or techniques and give a small example of how it's helped you solve a problem. Limit your answer to one paragraph, and please be specific. For each question, state any considerations or assumptions you made.
avatar

Machine Learning Engineer

Interviewed at Klaviyo

3.4
May 13, 2020

Exercise The attached CSV file lists the customer, date, and dollar value of orders placed at a store in 2017. The actual gender and predicted gender of each customer is also provided. Complete each of the following activities in a jupyter notebook using Python. Put your name and email at the top of the notebook and include your name in the notebook file name. Send back only your notebook file and please do not zip it. Please do not exclude $0 orders. A) Assemble a dataframe with one row per customer and the following columns: * customer_id * gender * most_recent_order_date * order_count (number of orders placed by this customer) Sort the dataframe by customer_id ascending and display the first 10 rows. B) Plot the count of orders per week for the store. C) Compute the mean order value for gender 0 and for gender 1. Do you think the difference is significant? Justify your choice of method. D) Generate a confusion matrix for the gender predictions of customers in this dataset. You can assume that there is only one gender prediction for each customer. What does the confusion matrix tell you about the quality of the predictions? E) Describe one of your favorite tools or techniques and give a small example of how it's helped you solve a problem. Limit your answer to one paragraph, and please be specific. For each question, state any considerations or assumptions you made.

Viewing 1371 - 1380 interview questions

Glassdoor has 6,178 interview questions and reports from Machine learning engineer interviews. Prepare for your interview. Get hired. Love your job.