- Notifications
You must be signed in to change notification settings - Fork 164
Open
Description
The Issue: In Listing 15.13, the code uses range(2, 10). Because Python's range(start, stop) function is exclusive of the stop value, this code only generates results from K=2 to K=9.
The Mismatch: However, Figure 15.5 displays 9 subplots, including one explicitly labeled "10 clusters".
The Fix: To make the code's output perfectly match the figure provided in the book, the range should be updated to range(2, 11).
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels