liveBook · Manning

Continuous improvement

As explained in Advanced Algorithms and Data Structures

An iteration is one repetition of an algorithmic cycle or update sequence.

An iteration is one repetition of an algorithmic cycle or update sequence. In k-means, the main cycle runs up to a chosen maximum number of iterations, m; in simulated annealing, iterations attempt updates, while temperature may change only after an interval. section 12.2.3 section 17.1.4

Iteration counts affect both runtime and search behavior. For k-means with n points, k clusters, and d dimensions, the stated running time is O(m*k*n*d). In simulated annealing, pure random steps may need many iterations; balancing small steps with occasional long-range updates offers another approach. section 12.2.3 section 17.1.4

How Advanced Algorithms and Data Structures covers it

How deep it goes
Quantifies k-means runtime by iteration count and discusses simulated-annealing step and cooling schedules.
Examples
Uses a maximum iteration count for K-means and interval-based temperature updates for simulated annealing.
What you can do after
Evaluate how iteration limits affect K-means runtime and how update choices affect simulated-annealing search.
How it connects
Connects iterations to K-means runtime and simulated annealing search and temperature updates.

Also explained in

Compare how 30 books explain continuous improvement →

Related concepts

This explainer was generated by Manning's knowledge graph from the text of Advanced Algorithms and Data Structures. The section links point to the parts of the book it draws on.