Algorithm Library

Linnaeus includes an algorithm library to serve as a reference. Users can check the potential relations between the input algorithm and reference algorithms in the library. The algorithms can be accessed through name abbreviations. Currently, the algorithm library includes:

The whole library is accessed by algo_library.library.

The following code checks equivalence between Gradient descent method and Triple momentum method in the library.

import linnaeus as lin
lin.is_equivalent(lin.Gr, lin.Tm)

The results are the same as the previous example.

Further, the next example checks equivalence of Gradient descent method among all the algorithms in the library.

lin.is_equivalent(lin.Gr, lin.algo_library.library)