py311-seriate
1.1.2_2Optimal ordering of elements in a set given their distance matrix
This is a Python implementation of Seriation algorithm. Seriation is an approach for ordering elements in a set so that the sum of the sequential pairwise distances is minimal. We state this task as a Travelling Salesman Problem (TSP) and leverage the powerful Google's or-tools to do heavy-lifting. Since TSP is NP-hard, it is not possible to calculate the precise solution for a big number of elements. However, the or-tools' heuristics work very well in practice, and they are used in e.g. Google Maps.
Origin: math/py-seriate
Category: math
Size: 37.8KiB
License: APACHE20
Maintainer: yuri@FreeBSD.org
Dependencies: 5 packages
Required by: 0 packages
Website: github.com/src-d/seriate
$
pkg install py311-seriateDependencies (5)
More in math
py311-numpy1.26.4_11,1
The New Numeric Extension to PythonR4.5.2
Language for statistical computing and graphicsgmp6.3.0
Free library for arbitrary precision arithmeticopenblas0.3.30,2
Optimized BLAS library based on GotoBLAS2fftw33.3.10_5
Fast C routines to compute the Discrete Fourier Transformpy311-matplotlib3.8.0_2
Plotting library uses a syntax familiar to MATLAB userspy311-pandas2.3.3,1
Flexible, high-performance data analysis in Pythonmpfr4.2.2,1
Library for multiple-precision floating-point computationsoctave10.3.0_2
High-level interactive language for numerical computationsoctave-forge-base1.9_1
Octave-forge baseport for all packages