ACDRepo commited on
Commit
257afc1
·
verified ·
1 Parent(s): 0f219b0

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +11 -67
README.md CHANGED
@@ -1,25 +1,23 @@
1
  ---
2
  license: cc-by-2.0
3
- pretty_name: Partial orders on lattice paths
4
  ---
5
 
6
- # Dataset Card for Partial Orders on Lattice Paths, \\((0,0)\\) to \\((10 \times 9)\\)
7
 
8
  Consider northeast lattice paths that travel along the edges
9
  of a grid from \\((0, 0)\\) to \\((a, b)\\), only taking steps north and
10
  east and never passing through the diagonal \\(y = \frac{b}{a}x\\), where
11
  \\(a\\) and \\(b\\) are relatively prime. \[1\] defines two
12
- order relations on such paths called the matching ordering
13
- (\\(\leq_M\\)) and the Lagrange ordering (\\(\leq_L\\)), motivated by questions in
14
  number theory. The matching ordering assigns a
15
  number to each lattice path based on the number of perfect
16
  matchings of an associated snake graph, while the Lagrange
17
  ordering assigns a number to each lattice path equal to the
18
  Lagrange number of a certain continued fraction. These
19
- numbers each define the respective partial order. Mathematicians would be interested to
20
- better understand the relationship between these orders \[2\].
21
- We provide datasets for lattice paths from \\((0,0)\\) to \\((10, 9)\\),
22
- \\((11, 10)\\), \\((12, 11)\\), and \\((13, 12)\\).
23
 
24
  ## Background on Posets
25
 
@@ -41,22 +39,13 @@ example, \\(\{1, 2, 4\}\\) covers \\(\{1, 2\}\\), \\(\{2, 4\}\\), and \\(\{1, 4\
41
 
42
  ## Dataset Details
43
 
44
- This dataset contains pairs of lattice paths starting at \\((0, 0)\\) and ending at \\((n, n − 1)\\)
45
- that are only allowed to take one unit steps either north or east, and must stay below the line \\(y =
46
- \frac{n}{n−1}x\\). They are thus encoded by a sequence of \\(1\\)’s (for steps
47
- east) and \\(0\\)’s (for steps north) of length \\((n + 1) + n = 2n + 1\\). Each pair of lattice paths
48
  is a covering pair in exactly one of the two partial orders, the Lagrange order or the matching order
49
  (pairs that are covers in both are few and were removed).
50
  The task is to predict which partial order a covering pair belongs to.
51
 
52
- Each line in a file is the concatenation of two \\(0\\)-\\(1\\) sequences (one for each path) for a length \\(4n + 2\\) row of \\(0\\)’s and \\(1\\)’s. The
53
- lattice paths are separated by ‘;’. For an 3 × 2 grid, the sequence:
54
- `1, 1, 1, 0, 0; 1, 1, 0, 1, 0`
55
- corresponds to the two lattice paths. The first moves right three steps and then up two.
56
- The second moves right two steps, up one, right one, and up one.
57
-
58
- The datasets can also be found [here](https://drive.google.com/file/d/1Wm9mtZQjXXQ4rl0TU9KtJ1T4RQaGsJNz/view?usp=sharing).
59
- Data loaders can be found [here](https://github.com/pnnl/ML4AlgComb/tree/master/lattice_path_posets).
60
 
61
  **Statistics**
62
  | | Lagrange order | Matching order |
@@ -64,17 +53,13 @@ Data loaders can be found [here](https://github.com/pnnl/ML4AlgComb/tree/master/
64
  | Train | 7,589 | 3,875 |
65
  | Test | 1,895 | 968 |
66
 
67
- **Math question:** Find an algorithm or set of rules that can efficiently distinguish between
68
- weaving pattern matrices and non-weaving pattern matrices. This should be more efficient than the
69
- \\(O(n^2\\) algorithm that can be found in the references above.
70
 
71
  **ML task:** Given a pair of lattice paths \\((w, w′)\\), train a
72
  model that can predict whether \\(w′\\) covers \\(w\\)
73
  in either the matching or Lagrange order.
74
 
75
- If a successful model is trained, it would be interesting to understand whether the model has
76
- learned an existing algorithm or whether it has discovered something new.
77
-
78
  ## Small model performance
79
 
80
  We provide some basic baselines for this task. Benchmarking details can be found in the associated paper.
@@ -95,47 +80,6 @@ The \\(\pm\\) signs indicate 95% confidence intervals from random weight initial
95
  Data generation scripts can be found [here](https://github.com/pnnl/ML4AlgComb/tree/master/lattice_path_posets).
96
 
97
  - **Repository:** [ACD Repo](https://github.com/pnnl/ML4AlgComb/tree/master/lattice_path_posets)
98
-
99
- ## Uses
100
-
101
- This dataset was generated to study ML model's ability yield insight on an open
102
- problem in algebraic combinatorics, specifically, a characterization of Lagrange and partial orders
103
- of lattice paths.
104
-
105
- ### Direct Use
106
-
107
- We use this dataset for a classification task distinguishing between covers in the Lagrange and partial orders.
108
-
109
- ### Out-of-Scope Use
110
-
111
- None.
112
-
113
- ## Dataset Structure
114
-
115
- Each line in a file is the concatenation of two \\(0\\)-\\(1\\) sequences (one for each path) for a length \\(4n + 2\\) row of \\(0\\)’s and \\(1\\)’s. The
116
- lattice paths are separated by ‘;’. For an 3 × 2 grid, the sequence:
117
- `1, 1, 1, 0, 0; 1, 1, 0, 1, 0`
118
- corresponds to the two lattice paths. The first moves right three steps and then up two.
119
- The second moves right two steps, up one, right one, and up one.
120
-
121
- ## Dataset Creation
122
-
123
- Data generation scripts can be found
124
- [here](https://github.com/pnnl/ML4AlgComb/tree/master/lattice_path_posets).
125
-
126
- ### Curation Rationale
127
-
128
- This dataset was generated as a test of current AI system's ability to advance
129
- research mathematics.
130
-
131
- #### Who are the source data producers?
132
-
133
- Helen Jenne wrote code to generate this dataset using [SageMath](https://www.sagemath.org/).
134
-
135
- ## Bias, Risks, and Limitations
136
-
137
- We only provide data for lattice paths from \\(10 \times 9\\), \\(11 \times 10\\), and \\(12 \times 11\\) in this repository.
138
- We are happy to generate (subsets) of datasets for larger values of \\(n \times n-1\)).
139
 
140
  ## Citation
141
 
 
1
  ---
2
  license: cc-by-2.0
3
+ pretty_name: Partial orders on lattice paths from (0,0) to (10,9)
4
  ---
5
 
6
+ # Dataset Card for Partial Orders on Lattice Paths from \\((0,0)\\) to \\((10,9)\\)
7
 
8
  Consider northeast lattice paths that travel along the edges
9
  of a grid from \\((0, 0)\\) to \\((a, b)\\), only taking steps north and
10
  east and never passing through the diagonal \\(y = \frac{b}{a}x\\), where
11
  \\(a\\) and \\(b\\) are relatively prime. \[1\] defines two
12
+ order relations on such paths called the *matching ordering*
13
+ \\((\leq_M)\\) and the *Lagrange ordering* \\((\leq_L)\\), motivated by questions in
14
  number theory. The matching ordering assigns a
15
  number to each lattice path based on the number of perfect
16
  matchings of an associated snake graph, while the Lagrange
17
  ordering assigns a number to each lattice path equal to the
18
  Lagrange number of a certain continued fraction. These
19
+ numbers each define a partial order. Mathematicians are interested in
20
+ better understanding the relationship between these orders \[2\].
 
 
21
 
22
  ## Background on Posets
23
 
 
39
 
40
  ## Dataset Details
41
 
42
+ This dataset contains pairs of lattice paths encoded by a sequence of \\(1\\)’s (for steps
43
+ east) and \\(0\\)’s (for steps north). Each pair of lattice paths
 
 
44
  is a covering pair in exactly one of the two partial orders, the Lagrange order or the matching order
45
  (pairs that are covers in both are few and were removed).
46
  The task is to predict which partial order a covering pair belongs to.
47
 
48
+ Data loaders can be found [here](https://github.com/pnnl/ML4AlgComb/tree/master).
 
 
 
 
 
 
 
49
 
50
  **Statistics**
51
  | | Lagrange order | Matching order |
 
53
  | Train | 7,589 | 3,875 |
54
  | Test | 1,895 | 968 |
55
 
56
+ **Math question:** Characterize the relationship between the matching
57
+ and Lagrange orders.
 
58
 
59
  **ML task:** Given a pair of lattice paths \\((w, w′)\\), train a
60
  model that can predict whether \\(w′\\) covers \\(w\\)
61
  in either the matching or Lagrange order.
62
 
 
 
 
63
  ## Small model performance
64
 
65
  We provide some basic baselines for this task. Benchmarking details can be found in the associated paper.
 
80
  Data generation scripts can be found [here](https://github.com/pnnl/ML4AlgComb/tree/master/lattice_path_posets).
81
 
82
  - **Repository:** [ACD Repo](https://github.com/pnnl/ML4AlgComb/tree/master/lattice_path_posets)
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
83
 
84
  ## Citation
85