Bird
0
0

You want to visualize a dendrogram but only show clusters merged at distances less than 1.5. Which parameter and value should you use in dendrogram?

hard📝 Application Q8 of 15
SciPy - Clustering and Distance
You want to visualize a dendrogram but only show clusters merged at distances less than 1.5. Which parameter and value should you use in dendrogram?
ASet 'truncate_mode="distance"' and 'p=1.5'
BSet 'max_d=1.5'
CSet 'color_threshold=1.5'
DSet 'leaf_rotation=1.5'
Step-by-Step Solution
Solution:
  1. Step 1: Identify parameter for coloring by distance

    'color_threshold' colors clusters below a distance threshold.
  2. Step 2: Confirm correct usage

    Setting 'color_threshold=1.5' highlights clusters merged below 1.5 distance.
  3. Final Answer:

    Set 'color_threshold=1.5' -> Option C
  4. Quick Check:

    Use color_threshold to limit cluster coloring by distance [OK]
Quick Trick: Use color_threshold to highlight clusters by distance [OK]
Common Mistakes:
  • Confusing truncate_mode with color threshold
  • Using invalid parameter 'max_d'
  • Misusing leaf_rotation for distance filtering

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More SciPy Quizzes