Update README.md
Browse files
README.md
CHANGED
|
@@ -2,12 +2,12 @@
|
|
| 2 |
license: cc-by-2.0
|
| 3 |
---
|
| 4 |
|
| 5 |
-
# Dataset Card for Weaving Patterns of Size, \\
|
| 6 |
|
| 7 |
-
Weaving patterns are \\(n \times n−1\\)-matrices with \\(\{1, 2,
|
| 8 |
entries introduced by \[1\] to study the number of reduced decompositions of the
|
| 9 |
-
permutation \\(
|
| 10 |
-
of such objects
|
| 11 |
networks, the number of rhombic tilings of regular polygons, and is connected to
|
| 12 |
the study of the higher Bruhat orders \[2\]. An \\(O(n^2)\\) algorithm for determining
|
| 13 |
if a given \\(\{1, 2, . . . , n\}\\)-matrix is a valid weaving pattern
|
|
@@ -21,21 +21,17 @@ ML models that can detect necessary or sufficient conditions
|
|
| 21 |
for a matrix to be a valid weaving pattern have the potential
|
| 22 |
to lead to substantial improvements in the upper bound.
|
| 23 |
|
| 24 |
-
|
| 25 |
-
non-weaving pattern matrices with \\(\{1, 2,
|
| 26 |
|
| 27 |
## Dataset Details
|
| 28 |
|
| 29 |
-
Weaving patterns of size \\(n \times n − 1\\) are a special type of matrix containing
|
| 30 |
-
entries in \\(\{1, 2, . . . , n\}\\). They correspond to representations of the
|
| 31 |
-
longest word permutation of \\(n\\) elements (the permutation that sends
|
| 32 |
-
\\(1 \mapsto n\\), \\(2 \mapsto n − 1\\), etc.). This
|
| 33 |
-
task involves trying to identify weaving patterns among matrices that look like weaving patterns but are not.
|
| 34 |
Each matrix is stored on a single line in row-major format. For instance,
|
| 35 |
|
| 36 |
-
`
|
|
|
|
|
|
|
| 37 |
|
| 38 |
-
The datasets can also be found [here](https://drive.google.com/file/d/1HsWuHpTkCOtpyTG2dFH49jzkKIZYwKG8/view?usp=sharing).
|
| 39 |
Data loaders can be found [here](https://github.com/pnnl/ML4AlgComb/tree/master/weaving_patterns).
|
| 40 |
|
| 41 |
**Statistics**
|
|
@@ -44,19 +40,16 @@ Data loaders can be found [here](https://github.com/pnnl/ML4AlgComb/tree/master/
|
|
| 44 |
| Train | 634 | 1,116 |
|
| 45 |
| Test | 275 | 467 |
|
| 46 |
|
| 47 |
-
This dataset is small, we encourage users to also look at
|
| 48 |
|
| 49 |
-
**Math question:** Find
|
| 50 |
-
weaving pattern matrices and non-weaving pattern matrices.
|
| 51 |
\\(O(n^2\\) algorithm that can be found in the references above.
|
| 52 |
|
| 53 |
-
**ML task:** Train a model to classify whether a \\(\{1, 2, . . . ,
|
| 54 |
matrix is a weaving pattern or not. This task is framed as
|
| 55 |
binary classification. Extract mathematical insights from a performant model.
|
| 56 |
|
| 57 |
-
If a successful model is trained, it would be interesting to understand whether the model has
|
| 58 |
-
learned an existing algorithm or whether it has discovered something new.
|
| 59 |
-
|
| 60 |
## Small model performance
|
| 61 |
|
| 62 |
We provide some basic baselines for this task. Benchmarking details can be found in the associated paper.
|
|
@@ -74,7 +67,7 @@ The \\(\pm\\) signs indicate 95% confidence intervals from random weight initial
|
|
| 74 |
|
| 75 |
### Dataset Sources
|
| 76 |
|
| 77 |
-
Data generation scripts can be found [here](https://github.com/pnnl/ML4AlgComb/tree/master/
|
| 78 |
|
| 79 |
- **Repository:** [ACD Repo](https://github.com/pnnl/ML4AlgComb/tree/master/weaving_patterns)
|
| 80 |
|
|
@@ -94,9 +87,7 @@ None.
|
|
| 94 |
|
| 95 |
## Dataset Structure
|
| 96 |
|
| 97 |
-
Each matrix is stored on a single line in row-major format
|
| 98 |
-
|
| 99 |
-
`(0, 1, 2, 3, 3, 2, 3, 4, 2, 3, 2, 1, 5, 4, 3, 2)`
|
| 100 |
|
| 101 |
## Dataset Creation
|
| 102 |
|
|
|
|
| 2 |
license: cc-by-2.0
|
| 3 |
---
|
| 4 |
|
| 5 |
+
# Dataset Card for Weaving Patterns of Size, \\6 \times 5\\)
|
| 6 |
|
| 7 |
+
*Weaving patterns* are \\((n \times n−1)\\)-matrices with \\(\{1, 2, \dots , n\}\\)-
|
| 8 |
entries introduced by \[1\] to study the number of reduced decompositions of the
|
| 9 |
+
permutation that swaps \\(n\\) and \\(1\\), \\(n\\) - \\(1\\) and \\(2\\), etc. up to commutation equivalence. The number
|
| 10 |
+
of such objects counts a wide range of combinatorial phenomena, including the number of parallel sorting
|
| 11 |
networks, the number of rhombic tilings of regular polygons, and is connected to
|
| 12 |
the study of the higher Bruhat orders \[2\]. An \\(O(n^2)\\) algorithm for determining
|
| 13 |
if a given \\(\{1, 2, . . . , n\}\\)-matrix is a valid weaving pattern
|
|
|
|
| 21 |
for a matrix to be a valid weaving pattern have the potential
|
| 22 |
to lead to substantial improvements in the upper bound.
|
| 23 |
|
| 24 |
+
This dataset is a mixture of enriched weaving patterns and
|
| 25 |
+
non-weaving pattern matrices with \\(\{1, 2, \dots, 6\}\\)-entries.
|
| 26 |
|
| 27 |
## Dataset Details
|
| 28 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 29 |
Each matrix is stored on a single line in row-major format. For instance,
|
| 30 |
|
| 31 |
+
`[ 5, 4, 3, 2, 1, 6, 2, 3, 4, 1, 6, 2, 3, 5, 1, 6, 2, 4, 5, 1, 6, 3, 4, 5, 1, 6, 5, 4, 3, 2 ]`.
|
| 32 |
+
|
| 33 |
+
Labels are `0` (not a weaving pattern) and `1` (a weaving pattern).
|
| 34 |
|
|
|
|
| 35 |
Data loaders can be found [here](https://github.com/pnnl/ML4AlgComb/tree/master/weaving_patterns).
|
| 36 |
|
| 37 |
**Statistics**
|
|
|
|
| 40 |
| Train | 634 | 1,116 |
|
| 41 |
| Test | 275 | 467 |
|
| 42 |
|
| 43 |
+
This dataset is small, we encourage users to also look at our dataset of weaving patterns of size \\(7 \times 6\\).
|
| 44 |
|
| 45 |
+
**Math question:** Find necessary or sufficient conditions to distinguish between
|
| 46 |
+
weaving pattern matrices and non-weaving pattern matrices. These should be more efficient than the
|
| 47 |
\\(O(n^2\\) algorithm that can be found in the references above.
|
| 48 |
|
| 49 |
+
**ML task:** Train a model to classify whether a \\(\{1, 2, . . . , 6\}\\)-
|
| 50 |
matrix is a weaving pattern or not. This task is framed as
|
| 51 |
binary classification. Extract mathematical insights from a performant model.
|
| 52 |
|
|
|
|
|
|
|
|
|
|
| 53 |
## Small model performance
|
| 54 |
|
| 55 |
We provide some basic baselines for this task. Benchmarking details can be found in the associated paper.
|
|
|
|
| 67 |
|
| 68 |
### Dataset Sources
|
| 69 |
|
| 70 |
+
Data generation scripts can be found [here](https://github.com/pnnl/ML4AlgComb/tree/master/weaving_patterns).
|
| 71 |
|
| 72 |
- **Repository:** [ACD Repo](https://github.com/pnnl/ML4AlgComb/tree/master/weaving_patterns)
|
| 73 |
|
|
|
|
| 87 |
|
| 88 |
## Dataset Structure
|
| 89 |
|
| 90 |
+
Each matrix is stored on a single line in row-major format (see example above).
|
|
|
|
|
|
|
| 91 |
|
| 92 |
## Dataset Creation
|
| 93 |
|