TallKite
Joined 19 September 2018
Cmloegcmluin (talk | contribs) unhyphenate "comma basis" |
Cmloegcmluin (talk | contribs) →Chessboard distance: new section |
||
Line 415: | Line 415: | ||
::: I would love to show you! --[[User:TallKite|TallKite]] ([[User talk:TallKite|talk]]) 05:57, 5 October 2021 (UTC) | ::: I would love to show you! --[[User:TallKite|TallKite]] ([[User talk:TallKite|talk]]) 05:57, 5 October 2021 (UTC) | ||
== Chessboard distance == | |||
I noticed this bit just now: https://en.xen.wiki/w/Commas_by_taxicab_distance#Triangularizing_proposal | |||
FYI, "triangularized taxicab" distance like this has an established name. It's [[Wikipedia:Chebyshev_distance|Chebyshev distance]], AKA "chessboard distance," because if a 2D lattice was like a chessboard, then it's the number of moves the king piece would need to take to reach from point A to point B. I made this chart, in case it helps: | |||
{| class="wikitable" | |||
|+ | |||
!L-norm | |||
!eponym | |||
!locale | |||
!agent | |||
|- | |||
|1 | |||
|Minkowsky | |||
|Manhattan | |||
|taxicab | |||
|- | |||
|2 | |||
|Euclid | |||
|space | |||
|crow | |||
|- | |||
|∞ | |||
|Chebyshev | |||
|chessboard | |||
|king | |||
|} | |||
You can see these distances are associated with different L norms. The L₁ norm and L∞ norms are each others' duals and the L₂ norm is self-dual. Here's one way to see that relationship: the L₁ norms times the L∞ norms give the same answer as the L₂ norms times themselves. | |||
{| class="wikitable" | |||
|+L₁ (taxicab) | |||
|2 | |||
|1 | |||
|2 | |||
|- | |||
|1 | |||
|0 | |||
|1 | |||
|- | |||
|2 | |||
|1 | |||
|2 | |||
|} | |||
{| class="wikitable" | |||
|+L₂ (crow) | |||
|√2 | |||
|1 | |||
|√2 | |||
|- | |||
|1 | |||
|0 | |||
|1 | |||
|- | |||
|√2 | |||
|1 | |||
|√2 | |||
|} | |||
{| class="wikitable" | |||
|+L∞ (king) | |||
|1 | |||
|1 | |||
|1 | |||
|- | |||
|1 | |||
|0 | |||
|1 | |||
|- | |||
|1 | |||
|1 | |||
|1 | |||
|} | |||
{| class="wikitable" | |||
|+L₁ × L∞, or L₂² | |||
|2 | |||
|1 | |||
|2 | |||
|- | |||
|1 | |||
|0 | |||
|1 | |||
|- | |||
|2 | |||
|1 | |||
|2 | |||
|} | |||
These come up in tuning. When you minimize the L∞ norm on the prime error, this causes a minimization of the L1 norm on interval error (that's Paul's "minimax", because the L∞ norm of a vector is simply the max value of any of its entries; I understand it that way because your "king" can move as diagonally as necessary, and so he'll just move diagonally in every dimension until he runs out of dimensions he needs to go except for one, at which point he continues straight along that dimension). And if you minimize the L1 norm on the prime error, this causes a minimization of the L∞ norm on interval error. So if you wanted to use L∞ norm for interval error, you'd set your tuning optimizer to minimize the sum of the absolute values of errors per prime. If you have any questions, let me know -- I'm not rock solid on this stuff yet, but I think it's pretty interesting. Dave and I have attempted to improve our geometric intuition for dual norms' effects on tuning, but it's been a while since I looked at it. | |||
Anyway, just thought you might like to revise that original paragraph to use established nomenclature, or at least reference it! You may not have been aware of it; I only just learned it myself a few months back. --[[User:Cmloegcmluin|Cmloegcmluin]] ([[User talk:Cmloegcmluin|talk]]) 22:04, 19 January 2022 (UTC) |