Amazon Machine Learning Engineer Interview Questions

Review this list of 37 Amazon Machine Learning Engineer interview questions and answers verified by hiring managers and candidates.
  • Amazon logoAsked at Amazon 
    +43

    "function twoSum(nums, target) { let complements = new Map(); for (let i = 0; i < nums.length; i++) { let diff = target - nums[i]; if (complements.has(diff)) { return [complements.get(diff), i]; } complements.set(nums[i], i); } return []; } console.log(twoSum([2, 7, 11, 15], 9)); `"

    Jean-pierre C. - "function twoSum(nums, target) { let complements = new Map(); for (let i = 0; i < nums.length; i++) { let diff = target - nums[i]; if (complements.has(diff)) { return [complements.get(diff), i]; } complements.set(nums[i], i); } return []; } console.log(twoSum([2, 7, 11, 15], 9)); `"See full answer

    Machine Learning Engineer
    Data Structures & Algorithms
    +5 more
  • Amazon logoAsked at Amazon 
    +5

    "Should this question be BST, not just BT? Otherwise it would not be possible to reconstruct the tree solely based on the array regardless of its order"

    TreeOfWisdom - "Should this question be BST, not just BT? Otherwise it would not be possible to reconstruct the tree solely based on the array regardless of its order"See full answer

    Machine Learning Engineer
    Data Structures & Algorithms
    +2 more
  • Amazon logoAsked at Amazon 
    Machine Learning Engineer
    Behavioral
    +1 more
  • Amazon logoAsked at Amazon 
    +8

    "from typing import List def traprainwater(height: List[int]) -> int: if not height: return 0 l, r = 0, len(height) - 1 leftMax, rightMax = height[l], height[r] res = 0 while l < r: if leftMax < rightMax: l += 1 leftMax = max(leftMax, height[l]) res += leftMax - height[l] else: r -= 1 rightMax = max(rightMax, height[r]) "

    Anonymous Roadrunner - "from typing import List def traprainwater(height: List[int]) -> int: if not height: return 0 l, r = 0, len(height) - 1 leftMax, rightMax = height[l], height[r] res = 0 while l < r: if leftMax < rightMax: l += 1 leftMax = max(leftMax, height[l]) res += leftMax - height[l] else: r -= 1 rightMax = max(rightMax, height[r]) "See full answer

    Machine Learning Engineer
    Data Structures & Algorithms
    +4 more
  • Amazon logoAsked at Amazon 
    Machine Learning Engineer
    Concept
    +1 more
  • 🧠 Want an expert answer to a question? Saving questions lets us know what content to make next.

  • Amazon logoAsked at Amazon 

    "DevOps Engineer Interview Questions for 3+ yrs experience candidate"

    Vishwanath K. - "DevOps Engineer Interview Questions for 3+ yrs experience candidate"See full answer

    Machine Learning Engineer
    Concept
  • Amazon logoAsked at Amazon 
    Machine Learning Engineer
    Behavioral
  • Amazon logoAsked at Amazon 
    Machine Learning Engineer
    Concept
  • Amazon logoAsked at Amazon 

    "Given the dataset does not contain many labels, it implies we cannot directly use supervised learning. I would ask more about the type of dataset we are given. Is it images, text, etc? This may inform the types of transformations we do the dataset. I can see two approaches to training Given the labels we do have, we can find a method to generate labels for the other unlabeled data. This likely will introduce some error since they may not be true labels, but it at least allows processing the"

    Matt M. - "Given the dataset does not contain many labels, it implies we cannot directly use supervised learning. I would ask more about the type of dataset we are given. Is it images, text, etc? This may inform the types of transformations we do the dataset. I can see two approaches to training Given the labels we do have, we can find a method to generate labels for the other unlabeled data. This likely will introduce some error since they may not be true labels, but it at least allows processing the"See full answer

    Machine Learning Engineer
    Concept
  • Amazon logoAsked at Amazon 

    "I have worked with ML when I was a PM for Customer Due Diligence and it required recalibration to improve the matching logic (for screening and Proof of business matching with Google) and threshold analysis. In this scenario we had to extract past True positive, False positive decisions from operations and run threshold analysis to come up with a new threshold to match better and remove the noise i.e. False positives. Taking this new threshold for matching, the ML algorithm is receiving feedback"

    Madhur K. - "I have worked with ML when I was a PM for Customer Due Diligence and it required recalibration to improve the matching logic (for screening and Proof of business matching with Google) and threshold analysis. In this scenario we had to extract past True positive, False positive decisions from operations and run threshold analysis to come up with a new threshold to match better and remove the noise i.e. False positives. Taking this new threshold for matching, the ML algorithm is receiving feedback"See full answer

    Machine Learning Engineer
    Technical
    +1 more
  • Amazon logoAsked at Amazon 

    "Effective loss functions for computer vision models vary depending on the specific task, some commonly used loss functions for different tasks: Classification Cross-Entropy Loss:Used for multi-class classification tasks. Measures the difference between the predicted probability distribution and the true distribution. Binary Cross-Entropy Loss:Used for binary classification tasks. Evaluates the performance of a model by comparing predicted probabilities to the true binary labe"

    Shibin P. - "Effective loss functions for computer vision models vary depending on the specific task, some commonly used loss functions for different tasks: Classification Cross-Entropy Loss:Used for multi-class classification tasks. Measures the difference between the predicted probability distribution and the true distribution. Binary Cross-Entropy Loss:Used for binary classification tasks. Evaluates the performance of a model by comparing predicted probabilities to the true binary labe"See full answer

    Machine Learning Engineer
    Concept
  • Amazon logoAsked at Amazon 
    Machine Learning Engineer
    Machine Learning
  • Amazon logoAsked at Amazon 
    Machine Learning Engineer
    Concept
  • Amazon logoAsked at Amazon 
    Machine Learning Engineer
    Behavioral
  • Machine Learning Engineer
    Concept
  • Amazon logoAsked at Amazon 
    Machine Learning Engineer
    Concept
  • Machine Learning Engineer
    Data Structures & Algorithms
    +3 more
Showing 21-37 of 37