ivanjaenm commited on
Commit
aa0fa8e
·
verified ·
1 Parent(s): 54892f9

Dataset card: license, code link, cost types

Browse files
Files changed (1) hide show
  1. README.md +18 -2
README.md CHANGED
@@ -1,4 +1,6 @@
1
  ---
 
 
2
  dataset_info:
3
  features:
4
  - name: n
@@ -74,10 +76,10 @@ configs:
74
  path: data/test_ood-*
75
  ---
76
 
77
- # ToR-OT v2 synthetic optimal-transport corpus
78
 
79
  Discrete Kantorovich instances with exact sparse optimal plans, generated by
80
- `python -m torot.data.generate` from the ToR-OT code release
81
  ("Learning Optimal Transport Plans Via Autoregressive Token Regression", NeurIPS 2026).
82
 
83
  Each record is one instance:
@@ -96,6 +98,20 @@ Each record is one instance:
96
 
97
  The cost matrix is not stored; it is `torot.data.cost.cost_matrix(coords_src, coords_tgt, cost_type)`.
98
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
99
  ## Splits
100
 
101
  | split | instances |
 
1
  ---
2
+ license: mit
3
+ pretty_name: ToR-OT synthetic discrete OT instances
4
  dataset_info:
5
  features:
6
  - name: n
 
76
  path: data/test_ood-*
77
  ---
78
 
79
+ # ToR-OT synthetic optimal-transport corpus
80
 
81
  Discrete Kantorovich instances with exact sparse optimal plans, generated by
82
+ `python -m torot.data.generate` from the ToR-OT code release (https://github.com/vsingh-group/TOR-OT)
83
  ("Learning Optimal Transport Plans Via Autoregressive Token Regression", NeurIPS 2026).
84
 
85
  Each record is one instance:
 
98
 
99
  The cost matrix is not stored; it is `torot.data.cost.cost_matrix(coords_src, coords_tgt, cost_type)`.
100
 
101
+ ## Cost types
102
+
103
+ `cost_type` holds the code name; the paper writes the costs as below. L2^p is the Euclidean distance to the power p
104
+ (in 1D, L2 = |x - y|, which on a line also equals L1 and L∞). Each cost matrix is divided by its largest entry.
105
+
106
+ | `cost_type` | paper | c(x, y) |
107
+ |---|---|---|
108
+ | `euclidean` | L2 | ‖x − y‖₂ |
109
+ | `sqrt_euclidean` | L2^(1/2) | ‖x − y‖₂^(1/2) |
110
+ | `sqeuclidean` | L2^2 | ‖x − y‖₂² |
111
+ | `cubic_euclidean` | L2^3 | ‖x − y‖₂³ |
112
+ | `canberra` | Canberra | Σ_d \|x_d − y_d\| / (\|x_d\| + \|y_d\|) |
113
+ | `gaussian` | Gaussian | 1 − exp(−‖x − y‖₂² / 2σ²), σ = 0.2 |
114
+
115
  ## Splits
116
 
117
  | split | instances |