https://epfml.github.io/attention-cnn
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| """Numerical parity with Li and Hoi's original OLPS MATLAB/Octave toolbox. | |
| Run with the online estimator branch installed and GNU Octave on PATH:: | |
| OLPS_ROOT=/path/to/OLPS python -m pytest -n 0 \ | |
| tests/test_optimization/test_online_correctness_matlab.py | |
| Use ``-k cost`` for the cost/fee checks, or ``-k "cost and synthetic"`` | |
| for a quick operation-order diagnostic. Cost/fee checks use the full datasets | |
| and call fit_predict, so they take longer than the baseline fit comparisons. |
I hereby claim:
- I am carlonicolini on github.
- I am cnicolini (https://keybase.io/cnicolini) on keybase.
- I have a public key ASBrTOueaGtqmOEC05vqvPauFQ7tO6pXCfu7Bv_D3YH42Ao
To claim this, I am signing this object:
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| """ | |
| RALIGN - Rigid alignment of two sets of points in k-dimensional | |
| Euclidean space. Given two sets of points in | |
| correspondence, this function computes the scaling, | |
| rotation, and translation that define the transform TR | |
| that minimizes the sum of squared errors between TR(X) | |
| and its corresponding points in Y. This routine takes | |
| O(n k^3)-time. | |
| Inputs: |