The Big List of 205 Data Science Interview Questions

January 18th, 2017 by lewis

data science interview questions

Here are our favorite data science interview questions.

  • If you’re a hiring manager, select the interview questions based on the competencies you’re evaluating.
  • If you’re a candidate, prepare and practice using this common list of data science interview questions.

Probability and Statistics Interview Questions

  1. Explain what regularization is and why it is useful.
  2. How would you validate a model you created to generate a predictive model of a quantitative outcome variable using multiple regression.
  3. Explain what precision and recall are. How do they relate to the ROC curve?
  4. How can you prove that one improvement you’ve brought to an algorithm is really an improvement over not doing anything?
  5. What is root cause analysis?
  6. Are you familiar with price optimization, price elasticity, inventory management, competitive intelligence? Give examples.
  7. What is statistical power?
  8. Explain what resampling methods are and why they are useful. Also explain their limitations.
  9. Is it better to have too many false positives, or too many false negatives? Explain.
  10. What is selection bias, why is it important and how can you avoid it?
  11. Imagine a test with a true positive rate of 100% and false positive rate of 5%. Imagine a population with a 1/1000 rate of having the condition the test identifies. Given a positive test, what is the probability of having that condition?
  12. What is the normal distribution? Give an example of some variable that follows this distribution.
  13. What about log-normal?
  14. Explain what a long tailed distribution is and provide three examples of relevant phenomena that have long tails. Why are they important in classification and prediction problems?
  15. How to check if a distribution is close to Normal? Why would you want to check it? What is a QQ Plot?
  16. Give examples of data that does not have a Gaussian distribution, or log-normal.
  17. Do you know what the exponential family is?
  18. Do you know the Dirichlet distribution? the multinomial distribution
  19. What is the Laws of Large Numbers? Central Limit Theorem?
  20. Why are they important for Statistics?
  21. What summary statistics do you know?

Data Modeling Interview Questions

  1. What are the most important skills for a data scientist to have?
  2. What types of data are important for business needs?
  3. What data would you go after and start working on?
  4. What are the assumptions required for linear regression?
  5. When you get a new data set, what do you do with it to see if it will suit your needs for a given project?
  6. How do you handle big data sets?
  7. How do you detect outliers?
  8. How do you control model complexity?
  9. How do you model a quantity you can’t observe?
  10. You have one model and want to find the best set of parameters for this model. How would you do that?
  11. How would you look for the best parameters? Do you know something else apart from grid search?
  12. What is Cross-Validation?
  13. What is 10-Fold CV?
  14. What is the difference between holding out a validation set and doing 10-Fold CV?
  15. How do you know if your model overfits?
  16. How do you assess the results of a logistic regression?
  17. Which evaluation metrics you know? Something apart from accuracy?
  18. Which is better: Too many false positives or too many false negatives?
  19. What precision and recall are?
  20. What is a ROC curve? What is AU ROC (AUC)? How to interpret the curve and AU ROC?
  21. Do you know about Concordance or Lift?

Data Science Process Interview Questions

  1. How would you create a taxonomy to identify key customer trends in unstructured data?
  2. Python or R — Which one would you prefer for text analytics?
  3. Which technique is used to predict categorical responses?
  4. What is logistic regression? Or State an example when you have used logistic regression recently.
  5. What are Recommender Systems?
  6. Why data cleaning plays a vital role in analysis?
  7. Differentiate between univariate, bivariate and multivariate analysis.
  8. What do you understand by the term Normal Distribution?
  9. What is Linear Regression?
  10. What is Interpolation and Extrapolation?
  11. What is power analysis?
  12. What is K-means? How can you select K for K-means?
  13. What is Collaborative filtering?
  14. What is the difference between Cluster and Systematic Sampling?
  15. Are expected value and mean value different?
  16. What does P-value signify about the statistical data?
  17. Do gradient descent methods always converge to same point?
  18. What are categorical variables?
  19. How you can make data normal using Box-Cox transformation?
  20. What is the difference between Supervised Learning an Unsupervised Learning?
  21. Explain the use of Combinatorics in data science.
  22. Why is vectorization considered a powerful method for optimizing numerical code?
  23. What is the goal of A/B Testing?
  24. What is an Eigenvalue and Eigenvector?
  25. What is Singular Value Decomposition?
  26. What is Gradient Descent?
  27. How can outlier values be treated?
  28. How can you assess a good logistic model?
  29. How can you iterate over a list and also retrieve element indices at the same time?
  30. During analysis, how do you treat missing values?
  31. Explain about the box cox transformation in regression models.
  32. Can you use machine learning for time series analysis?
  33. Write a function that takes in two sorted lists and outputs a sorted list that is their union.
  34. What is the difference between Bayesian Inference and Maximum Likelihood Estimation (MLE)?
  35. What is Regularization and what kind of problems does regularization solve?
  36. What is multicollinearity and how you can overcome it?
  37. What is the curse of dimensionality?
  38. How do you decide whether your linear regression model fits the data?
  39. What is the difference between squared error and absolute error?
  40. What is Machine Learning?
  41. How are confidence intervals constructed and how will you interpret them?
  42. How will you explain logistic regression to an economist, physician scientist and biologist?
  43. How can you overcome Overfitting?
  44. Differentiate between wide and tall data formats?
  45. Is Naïve Bayes bad? If yes, under what aspects.
  46. How would you develop a model to identify plagiarism?
  47. Can you outline the steps in an analytics project?
  48. Have you heard of CRISP-DM (Cross Industry Standard Process for Data Mining)?

Data Science Machine Learning Interview Questions

  1. What is your favorite ML algorithm and why?
  2. Describe the regression problem. Is it supervised learning? Why?
  3. What is linear regression? Why is it called linear?
  4. Discuss the bias-variance tradeoff.
  5. What is Ordinary Least Squares Regression? How it can be learned?
  6. Can you derive the OLS Regression formula? (For one-step solution)
  7. Do we always need the intercept term? When do we need it and when do we not?
  8. What is collinearity and what to do with it? How to remove multicollinearity?
  9. What if the design matrix is not full rank?
  10. What is overfitting a regression model? What are ways to avoid it?
  11. What is Ridge Regression? How is it different from OLS Regression? Why do we need it?
  12. What is Lasso regression? How is it different from OLS and Ridge?
  13. What are the assumptions required for linear regression?
  14. You would like to find significant features. How would you do that?
  15. You fit a multiple regression to examine the effect of a particular feature. The feature comes back insignificant, but you believe it is significant. Why can it happen?
  16. How to check is the regression model fits the data well?
  17. Can you describe what is the classification problem?
  18. What is the simplest classification algorithm?
  19. What classification algorithms do you know? Which one you like the most?What is a decision tree?
  20. What are some business reasons you might want to use a decision tree model?
  21. How do you build it?
  22. What impurity measures do you know?
  23. Describe some of the different splitting rules used by different decision tree algorithms.
  24. Is a big brushy tree always good? Why would you want to prune it?
  25. Is it a good idea to combine multiple trees?
  26. What is Random Forest? Why is it good?
  27. What is logistic regression?
  28. How do we train a logistic regression model?
  29. How do we interpret its coefficients?
  30. What is an Artificial Neural Network?
  31. How to train an ANN? What is back propagation?
  32. How does a neural network with three layers (one input layer, one inner layer and one output layer) compare to a logistic regression?
  33. What is deep learning? What is CNN (Convolution Neural Network) or RNN (Recurrent Neural Network)?
  34. What is Regularization?
  35. Which problem does Regularization try to solve?
  36. What does it mean (practically) for a design matrix to be “ill-conditioned”?
  37. When might you want to use ridge regression instead of traditional linear regression?
  38. What is the difference between the L1 and L2 regularization?
  39. Why (geometrically) does LASSO produce solutions with zero-valued coefficients (as opposed to ridge)?
  40. What is the purpose of dimensionality reduction and why do we need it?
  41. Are dimensionality reduction techniques supervised or not? Are all of them are (un)supervised?
  42. What ways of reducing dimensionality do you know?
  43. Is feature selection a dimensionality reduction technique?
  44. What is the difference between feature selection and feature extraction?
  45. Is it beneficial to perform dimensionality reduction before fitting an SVM? Why or why not?
  46. What is Principal Component Analysis (PCA)? What is the problem it solves? How is it related to eigenvalue decomposition (EVD)?
  47. What’s the relationship between PCA and SVD? When SVD is better than EVD for PCA?
  48. Under what conditions is PCA effective?
  49. Why do we need to center data for PCA and what can happed if we don’t do it? Do we need to scale data for PCA?
  50. Is PCA a linear model or not? Why?
  51. Do you know other Dimensionality Reduction techniques?
  52. What is Independent Component Analysis (ICA)? What’s the difference between ICA and PCA?
  53. Suppose you have a very sparse matrix where rows are highly dimensional. You project these rows on a random vector of relatively small dimensionality. Is it a valid dimensionality reduction technique or not?
  54. Have you heard of Kernel PCA or other non-linear dimensionality reduction techniques? What about LLE (Locally Linear Embedding) or tt-SNE (tt-distributed Stochastic Neighbor Embedding)
  55. What is Fisher Discriminant Analysis? How it is different from PCA? Is it supervised or not?
  56. What is the difference between a convex function and non-convex?
  57. What is Gradient Descent Method?
  58. Will Gradient Descent methods always converge to the same point?
  59. What is a local optimum?
  60. Is it always bad to have local optima?
  61. What the Newton’s method is?
  62. What kind of problems are well suited for Newton’s method? BFGS? SGD?
  63. What are “slack variables”?
  64. Describe a constrained optimization problem and how you would tackle it.
  65. What is NLP? How is it related to Machine Learning?
  66. How would you turn unstructured text data into structured data usable for ML models?
  67. What is the Vector Space Model?
  68. What is TF-IDF?
  69. Which distances and similarity measures can we use to compare documents? What is cosine similarity?
  70. Why do we remove stop words? When do we not remove them?
  71. Language Models. What is NN-Grams?
  72. What is Curse of Dimensionality? How does it affect distance and similarity measures?
  73. What are the problems of large feature space? How does it affect different models, e.g. OLS? What about computational complexity?
  74. What dimensionality reductions can be used for preprocessing the data?
  75. What is the difference between density-sparse data and dimensionally-sparse data?

Data Science Culture Fit Interview Questions

  1. Which is your favorite machine learning algorithm and why?
  2. In which libraries for Data Science in Python and R, does your strength lie?
  3. What kind of data is important for specific business requirements and how, as a data scientist will you go about collecting that data?
  4. Tell us about the biggest data set you have processed till date and for what kind of analysis.
  5. Which data scientists you admire the most and why?
  6. Suppose you are given a data set, what will you do with it to find out if it suits the business needs of your project or not.
  7. What were the business outcomes or decisions for the projects you worked on?
  8. What unique skills you think can you add on to our data science team?
  9. Which are your favorite data science startups?
  10. Why do you want to pursue a career in data science?
  11. What have you done to upgrade your skills in analytics?
  12. What has been the most useful business insight or development you have found?
  13. How will you explain an A/B test to an engineer who does not know statistics?
  14. When does parallelism helps your algorithms run faster and when does it make them run slower?
  15. How can you ensure that you don’t analyse something that ends up producing meaningless results?
  16. How would you explain to the senior management in your organization as to why a particular data set is important?
  17. Is more data always better?
  18. What are your favorite imputation techniques to handle missing data?
  19. What are your favorite data visualization tools?

If you liked this article, let us know by clicking Like.

  • Comments Off on The Big List of 205 Data Science Interview Questions

Comments are closed.