# Nov 11 Adaptive Algorithm

An adaptive algorithm is an algorithm that changes its behaviour at the time it is run, based on information available and on a priori defined reward mechanism (or criterion). Such information could be the story of recently received data, information on the available computational resources or other run-time acquired (or a priori known) information related to the environment in which it operates.

Among the most used adaptive algorithms is the Widrow-Hoff’s least mean squares (LMS), which represents a class of stochastic gradient-descent algorithms used in adaptive filtering and machine learning. In adaptive filtering, the LMS is used to mimic a desired filter by finding the filter coefficients that relate to producing the least mean square of the error signal ( the difference between the desired and the actual signal).

For example, stable partition, using no additional memory is O(n lg n) but given O(n) memory, it can be O(n) in time. As implemented by the C++ Standard Library, stable_partition is adaptive and so it acquires as much memory as it can get (up to what it would need at most) and applies the algorithm using that available memory. Another example is adaptive sort, whose behaviour changes upon the presortedness of its input.

An example of an adaptive algorithm in radar systems is the constant false alarm rate (CFAR) detector.

In machine learning and optimization, many algorithms are adaptive or have adaptive variants, which usually means that the algorithm parameters are automatically adjusted according to statistics about the optimisation thus far (e.g. the rate of convergence). Examples include adaptive simulated annealing, adaptive coordinate descent, AdaBoost, and adaptive quadrature.

In data compression, adaptive coding algorithms such as Adaptive Huffman coding or Prediction by partial matching can take a stream of data as input, and adapt their compression technique based on the symbols that they have already encountered.

In signal processing, the Adaptive Transform Acoustic Coding (ATRAC) codec used in MiniDisc recorders is called "adaptive" because the window length (the size of an audio "chunk") can change according to the nature of the sound being compressed, to try and achieve the best-sounding compression strategy.

*Adaptive Algorithm*
https://www.artificial-intelligence.blog/terminology/adaptive-algorithm

An adaptive algorithm is an algorithm that changes its behaviour at the time it is run, based on information available and on a priori defined reward mechanism

#ai #ArtificialIntelligence