PracHub
QuestionsPremiumCoachesLearningGuidesInterview Prep
|Home/Machine Learning/Amazon

Explain Decision-Tree Training and Clustering Algorithms

Last updated: Mar 29, 2026

Quick Overview

This question evaluates understanding of supervised and unsupervised machine learning techniques, focusing on decision-tree training mechanics (split selection, stopping criteria, pruning and overfitting control) and the core principles behind clustering families such as partitioning, density-based, hierarchical and probabilistic methods.

  • medium
  • Amazon
  • Machine Learning
  • Data Scientist

Explain Decision-Tree Training and Clustering Algorithms

Company: Amazon

Role: Data Scientist

Category: Machine Learning

Difficulty: medium

Interview Round: Technical Screen

##### Scenario Science-breadth interview for an Amazon Applied Scientist role, assessing foundational understanding of common machine-learning algorithms. ##### Question a) Explain in detail how a decision-tree model is trained: how split points are chosen, how stopping criteria/pruning work, and how overfitting is avoided. b) Name at least three clustering algorithms and describe the core principle behind each one. ##### Hints Cover impurity measures (Gini/entropy), information gain, pre-pruning vs post-pruning; for clustering mention K-Means, DBSCAN, Hierarchical, Gaussian Mixture, etc., and highlight distance, density or probabilistic assumptions.

Quick Answer: This question evaluates understanding of supervised and unsupervised machine learning techniques, focusing on decision-tree training mechanics (split selection, stopping criteria, pruning and overfitting control) and the core principles behind clustering families such as partitioning, density-based, hierarchical and probabilistic methods.

Related Interview Questions

  • Predicting the Next Elevator Call Location - Amazon (medium)
  • Explain Transformer and MoE Fundamentals - Amazon (medium)
  • Explain Core ML Interview Concepts - Amazon (hard)
  • Evaluate NLP Classification Models - Amazon (easy)
  • Explain overfitting, regularization, and LLM techniques - Amazon (medium)
Amazon logo
Amazon
Aug 4, 2025, 10:55 AM
Data Scientist
Technical Screen
Machine Learning
80
0

Decision Trees and Clustering: Training Mechanics and Core Principles

Context

Technical/phone screen for an Applied Scientist/Data Scientist role, assessing foundational understanding of common machine-learning algorithms.

Tasks

(a) Explain how a decision-tree model is trained, including:

  • How split points are chosen.
  • Stopping criteria and pruning (pre-pruning vs. post-pruning).
  • How overfitting is avoided.

(b) Name at least three clustering algorithms and describe the core principle behind each (e.g., partitioning, density-based, hierarchical, probabilistic).

Solution

Show

Submit Your Answer to Earn 20XP

Sign in to leave a comment

Loading comments...

Browse More Questions

More Machine Learning•More Amazon•More Data Scientist•Amazon Data Scientist•Amazon Machine Learning•Data Scientist Machine Learning
PracHub

Master your tech interviews with 8,000+ real questions from top companies.

Product

  • Questions
  • Learning Tracks
  • Interview Guides
  • Resources
  • Premium
  • For Universities
  • Student Access

Browse

  • By Company
  • By Role
  • By Category
  • Topic Hubs
  • SQL Questions
  • Compare Platforms
  • Discord Community

Support

  • support@prachub.com
  • (916) 541-4762

Legal

  • Privacy Policy
  • Terms of Service
  • About Us

© 2026 PracHub. All rights reserved.