Update README.md
Browse files
README.md
CHANGED
|
@@ -5,10 +5,10 @@ pretty_name: Characterizing weaving patterns of size 7 x 6
|
|
| 5 |
|
| 6 |
# Dataset Card for Weaving Patterns of Size \\(7 \times 6\\)
|
| 7 |
|
| 8 |
-
Weaving patterns are \\(n \times n−1\\)-matrices with \\(\{1, 2,
|
| 9 |
entries introduced by \[1\] to study the number of reduced decompositions of the
|
| 10 |
-
permutation \\(
|
| 11 |
-
of such objects
|
| 12 |
networks, the number of rhombic tilings of regular polygons, and is connected to
|
| 13 |
the study of the higher Bruhat orders \[2\]. An \\(O(n^2)\\) algorithm for determining
|
| 14 |
if a given \\(\{1, 2, . . . , n\}\\)-matrix is a valid weaving pattern
|
|
@@ -22,21 +22,17 @@ ML models that can detect necessary or sufficient conditions
|
|
| 22 |
for a matrix to be a valid weaving pattern have the potential
|
| 23 |
to lead to substantial improvements in the upper bound.
|
| 24 |
|
| 25 |
-
|
| 26 |
-
non-weaving pattern matrices with \\(\{1, 2,
|
| 27 |
|
| 28 |
## Dataset Details
|
| 29 |
|
| 30 |
-
Weaving patterns of size \\(n \times n − 1\\) are a special type of matrix containing
|
| 31 |
-
entries in \\(\{1, 2, . . . , n\}\\). They correspond to representations of the
|
| 32 |
-
longest word permutation of \\(n\\) elements (the permutation that sends
|
| 33 |
-
\\(1 \mapsto n\\), \\(2 \mapsto n − 1\\), etc.). This
|
| 34 |
-
task involves trying to identify weaving patterns among matrices that look like weaving patterns but are not.
|
| 35 |
Each matrix is stored on a single line in row-major format. For instance,
|
| 36 |
|
| 37 |
-
`(0, 1, 2, 3, 3, 2, 3, 4, 2, 3, 2, 1, 5, 4, 3, 2)
|
|
|
|
|
|
|
| 38 |
|
| 39 |
-
The datasets can also be found [here](https://drive.google.com/file/d/1HsWuHpTkCOtpyTG2dFH49jzkKIZYwKG8/view?usp=sharing).
|
| 40 |
Data loaders can be found [here](https://github.com/pnnl/ML4AlgComb/tree/master/weaving_patterns).
|
| 41 |
|
| 42 |
**Statistics**
|
|
@@ -45,19 +41,14 @@ Data loaders can be found [here](https://github.com/pnnl/ML4AlgComb/tree/master/
|
|
| 45 |
| Train | 17,388 | 96,012 |
|
| 46 |
| Test | 7,310 | 41,290 |
|
| 47 |
|
| 48 |
-
|
| 49 |
-
|
| 50 |
-
**Math question:** Find an algorithm or set of rules that can efficiently distinguish between
|
| 51 |
-
weaving pattern matrices and non-weaving pattern matrices. This should be more efficient than the
|
| 52 |
\\(O(n^2\\) algorithm that can be found in the references above.
|
| 53 |
|
| 54 |
**ML task:** Train a model to classify whether a \\(\{1, 2, . . . , n\}\\)-
|
| 55 |
matrix is a weaving pattern or not. This task is framed as
|
| 56 |
binary classification. Extract mathematical insights from a performant model.
|
| 57 |
|
| 58 |
-
If a successful model is trained, it would be interesting to understand whether the model has
|
| 59 |
-
learned an existing algorithm or whether it has discovered something new.
|
| 60 |
-
|
| 61 |
## Small model performance
|
| 62 |
|
| 63 |
We provide some basic baselines for this task. Benchmarking details can be found in the associated paper.
|
|
|
|
| 5 |
|
| 6 |
# Dataset Card for Weaving Patterns of Size \\(7 \times 6\\)
|
| 7 |
|
| 8 |
+
*Weaving patterns* are \\((n \times n−1)\\)-matrices with \\(\{1, 2, \dots , n\}\\)-
|
| 9 |
entries introduced by \[1\] to study the number of reduced decompositions of the
|
| 10 |
+
permutation that swaps \\(n\\) and \\(1\\), \\(n\\) - \\(1\\) and \\(2\\), etc. up to commutation equivalence. The number
|
| 11 |
+
of such objects counts a wide range of combinatorial phenomena, including the number of parallel sorting
|
| 12 |
networks, the number of rhombic tilings of regular polygons, and is connected to
|
| 13 |
the study of the higher Bruhat orders \[2\]. An \\(O(n^2)\\) algorithm for determining
|
| 14 |
if a given \\(\{1, 2, . . . , n\}\\)-matrix is a valid weaving pattern
|
|
|
|
| 22 |
for a matrix to be a valid weaving pattern have the potential
|
| 23 |
to lead to substantial improvements in the upper bound.
|
| 24 |
|
| 25 |
+
This dataset is a mixture of enriched weaving patterns and
|
| 26 |
+
non-weaving pattern matrices with \\(\{1, 2, \dots, 7\}\\)-entries.
|
| 27 |
|
| 28 |
## Dataset Details
|
| 29 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 30 |
Each matrix is stored on a single line in row-major format. For instance,
|
| 31 |
|
| 32 |
+
`(0, 1, 2, 3, 3, 2, 3, 4, 2, 3, 2, 1, 5, 4, 3, 2)`.
|
| 33 |
+
|
| 34 |
+
Labels are `0` (not a weaving pattern) and `1` (a weaving pattern).
|
| 35 |
|
|
|
|
| 36 |
Data loaders can be found [here](https://github.com/pnnl/ML4AlgComb/tree/master/weaving_patterns).
|
| 37 |
|
| 38 |
**Statistics**
|
|
|
|
| 41 |
| Train | 17,388 | 96,012 |
|
| 42 |
| Test | 7,310 | 41,290 |
|
| 43 |
|
| 44 |
+
**Math question:** Find necessary or sufficient conditions to distinguish between
|
| 45 |
+
weaving pattern matrices and non-weaving pattern matrices. These should be more efficient than the
|
|
|
|
|
|
|
| 46 |
\\(O(n^2\\) algorithm that can be found in the references above.
|
| 47 |
|
| 48 |
**ML task:** Train a model to classify whether a \\(\{1, 2, . . . , n\}\\)-
|
| 49 |
matrix is a weaving pattern or not. This task is framed as
|
| 50 |
binary classification. Extract mathematical insights from a performant model.
|
| 51 |
|
|
|
|
|
|
|
|
|
|
| 52 |
## Small model performance
|
| 53 |
|
| 54 |
We provide some basic baselines for this task. Benchmarking details can be found in the associated paper.
|