Skip to main content

Machine Learning Interview Questions

Review this list of 93 Machine Learning interview questions and answers verified by hiring managers and candidates.
  • Samsung logoAsked at Samsung 
    1 answer

    "I've worked on projects not quite like this, but very similar, in the past - I'll borrow from that to answer this: The Broader Context this problem doesn't specify the type of data we're working with, or how it's being ingested to align with my personal background, I'll assume a picture that lends this problem well to being a computer vision (abbreviated "CV") related question: let's say we have a conveyor belt in a waste facility, which sequentially carries a stream of waste w"

    Zain R. - "I've worked on projects not quite like this, but very similar, in the past - I'll borrow from that to answer this: The Broader Context this problem doesn't specify the type of data we're working with, or how it's being ingested to align with my personal background, I'll assume a picture that lends this problem well to being a computer vision (abbreviated "CV") related question: let's say we have a conveyor belt in a waste facility, which sequentially carries a stream of waste w"See full answer

    Machine Learning Engineer
    Machine Learning
    +1 more
  • "No discussion around better initialization of weights like Xavier etc.?"

    Vips M. - "No discussion around better initialization of weights like Xavier etc.?"See full answer

    Machine Learning
    Concept
  • 1 answer
    Video answer for 'Implement a 2D Convolutional Filter'

    "I checked the unittest is giving a False assertion as you can see in the colab notebook below. F FAIL: testsimple (main_.Conv2dTest) Traceback (most recent call last): File "", line 19, in test_simple self.assertTrue(torch.equal(output, torch.tensor([[[[ 5., 1.], [ -2., -10.]]]]))) AssertionError: False is not true"

    Abinash S. - "I checked the unittest is giving a False assertion as you can see in the colab notebook below. F FAIL: testsimple (main_.Conv2dTest) Traceback (most recent call last): File "", line 19, in test_simple self.assertTrue(torch.equal(output, torch.tensor([[[[ 5., 1.], [ -2., -10.]]]]))) AssertionError: False is not true"See full answer

    Machine Learning
  • Add answer
    Video answer for 'Recommend similar artists on Spotify.'
    Machine Learning
    System Design
  • Google logoAsked at Google 
    1 answer

    "Zero in on the problem, the expectations of user are to find a restaurant but their feed is uninspired so they may bounce out of Yelp. Identify the impact size of user feeling like discovery is not personalised enough by seeing % of users that selected a restaurant from the homepage If large enough, I will look at who is likely the ones that want personalisation and why? Do they feel like they want to try new restaurants or are they finding it difficult to find restaurants they have been"

    Chermaine Y. - "Zero in on the problem, the expectations of user are to find a restaurant but their feed is uninspired so they may bounce out of Yelp. Identify the impact size of user feeling like discovery is not personalised enough by seeing % of users that selected a restaurant from the homepage If large enough, I will look at who is likely the ones that want personalisation and why? Do they feel like they want to try new restaurants or are they finding it difficult to find restaurants they have been"See full answer

    Product Manager
    Machine Learning
    +2 more
  • 🧠 Want an expert answer to a question? Saving questions lets us know what content to make next.

  • Machine Learning
    Concept
  • Add answer
    Video answer for 'Explain training and testing data.'
    Machine Learning
    Concept
  • "[I'm not sure whether the answer below is the best, as I have not gotten result and feedback from my interview] Ans: I would solve by first using a VAE-style model, to create a latent space embedding that translates user description to generate images. Training would be done on the 1000 avatar images and 100000 descriptions, following this scheme: VAE: description -> encoder -> latent space -> decoder -> image Q: "OK, but that means you're limiting the generated images to be only the 1000 imag"

    Nick S. - "[I'm not sure whether the answer below is the best, as I have not gotten result and feedback from my interview] Ans: I would solve by first using a VAE-style model, to create a latent space embedding that translates user description to generate images. Training would be done on the 1000 avatar images and 100000 descriptions, following this scheme: VAE: description -> encoder -> latent space -> decoder -> image Q: "OK, but that means you're limiting the generated images to be only the 1000 imag"See full answer

    Data Scientist
    Machine Learning
  • Apple logoAsked at Apple 
    1 answer

    "focus was on tradeoffs of diff object detection algorithms, data collection and labelling, foundational models, followup: not working well in production, retraining/active learning"

    Ayush B. - "focus was on tradeoffs of diff object detection algorithms, data collection and labelling, foundational models, followup: not working well in production, retraining/active learning"See full answer

    Machine Learning Engineer
    Machine Learning
  • Capital One logoAsked at Capital One 
    Add answer
    Machine Learning Engineer
    Machine Learning
  • Machine Learning
    Concept
  • Snap logoAsked at Snap 
    Add answer
    Machine Learning Engineer
    Machine Learning
    +1 more
  • Add answer
    Video answer for 'Explain gradient descent.'
    Machine Learning
    Concept
  • 1 answer

    "We should define automated Scheduled Updates for deployment to keep the application up to date."

    Rahul M. - "We should define automated Scheduled Updates for deployment to keep the application up to date."See full answer

    Machine Learning
    System Design
  • 1 answer

    "The algorithm calculates certain metrics like entropy & Gini Impurity. The goal of the decision tree algorithm is to find the most optimal value for these metrics, lowest values for Gini Impurity & Entropy. Once it converges on the minima, it creates a split & grows the branches."

    Saurabh J. - "The algorithm calculates certain metrics like entropy & Gini Impurity. The goal of the decision tree algorithm is to find the most optimal value for these metrics, lowest values for Gini Impurity & Entropy. Once it converges on the minima, it creates a split & grows the branches."See full answer

    Data Scientist
    Machine Learning
    +1 more
  • "No ,MSE is suitable for only regression modes. Although the logistic regression in Its name has regression , but it is a classification problem so MSE is not suitable for classification models like logistic regression."

    1036 loknadh R. - "No ,MSE is suitable for only regression modes. Although the logistic regression in Its name has regression , but it is a classification problem so MSE is not suitable for classification models like logistic regression."See full answer

    Machine Learning
    Concept
  • Capital One logoAsked at Capital One 
    Add answer
    Machine Learning Engineer
    Machine Learning
  • Amazon logoAsked at Amazon 
    Add answer
    Machine Learning Engineer
    Machine Learning
  • "Switching from a linear kernel to RBF / Gaussian kernel is likely to result in overfitting the model. It is a move that adds complexity to the mix, and if the data doesn't need that sort of complexity, it would result in overfitting. On the other hand, all the other three approaches would only try too reduce complexity in the process, thereby doesn't contribute to overfitting the model."

    Sri V. - "Switching from a linear kernel to RBF / Gaussian kernel is likely to result in overfitting the model. It is a move that adds complexity to the mix, and if the data doesn't need that sort of complexity, it would result in overfitting. On the other hand, all the other three approaches would only try too reduce complexity in the process, thereby doesn't contribute to overfitting the model."See full answer

    Machine Learning
    Concept
  • "AUC 0.5 equates to a random model, so when creating any machine learning model or statistical model, you ideally want your model to at least beat this random baseline."

    Harsh S. - "AUC 0.5 equates to a random model, so when creating any machine learning model or statistical model, you ideally want your model to at least beat this random baseline."See full answer

    Machine Learning
    Concept
Showing 61-80 of 93