Rob Rix
|
8d164480ee
|
Extract the root stem assignment into a setRootStem function.
|
2016-06-23 09:39:08 -04:00 |
|
Rob Rix
|
2faf708435
|
Extract the root base assignment into a setRootBase function.
|
2016-06-23 09:37:43 -04:00 |
|
Rob Rix
|
167386fcfb
|
Produce correct diffs in the general case.
|
2016-06-23 09:28:35 -04:00 |
|
Rob Rix
|
fc7dfe4f0f
|
Diff all-inserted and all-deleted cases correctly.
|
2016-06-22 18:09:30 -04:00 |
|
Rob Rix
|
2d709e1fc7
|
Add RWS operations.
|
2016-06-22 18:09:11 -04:00 |
|
Rob Rix
|
7b3cb50165
|
Stub in an rws function.
|
2016-06-22 18:01:43 -04:00 |
|
Rob Rix
|
1170bfdcb2
|
Rename Data.Gram to Data.RandomWalkSimilarity.
|
2016-06-22 17:59:28 -04:00 |
|
Rob Rix
|
108decbcaa
|
Reformatting.
|
2016-06-22 17:48:56 -04:00 |
|
Rob Rix
|
bc21d2f3b2
|
Find the nearest neighbour in the worst possible way.
|
2016-06-22 17:33:40 -04:00 |
|
Rob Rix
|
5684017e80
|
Extract magnitude to the top level.
|
2016-06-22 17:33:27 -04:00 |
|
Rob Rix
|
186c751d8d
|
Set bases through key/value pairs.
|
2016-06-22 16:51:17 -04:00 |
|
Rob Rix
|
1273f1bce9
|
Assign sibling labels, padding out to q.
|
2016-06-22 16:46:56 -04:00 |
|
Rob Rix
|
4292d7d94e
|
Provide each element to the windowed combining function.
|
2016-06-22 16:25:27 -04:00 |
|
Rob Rix
|
9877b71f96
|
Produce a single gram per child.
|
2016-06-22 16:24:54 -04:00 |
|
Rob Rix
|
f553cac094
|
Specialize pqGrams to Cofree of Syntax.
|
2016-06-22 16:17:54 -04:00 |
|
Rob Rix
|
5bdbf3eb7d
|
🔥 a type signature.
|
2016-06-22 16:09:59 -04:00 |
|
Rob Rix
|
ff5059dff1
|
Add a windowed fold operator.
|
2016-06-22 15:55:54 -04:00 |
|
Rob Rix
|
ea717c6582
|
Test that we produce grams with bases of length q.
|
2016-06-22 15:55:39 -04:00 |
|
Rob Rix
|
e15af19835
|
🔥 a redundant import.
|
2016-06-22 15:55:15 -04:00 |
|
Rob Rix
|
0092655cb6
|
Clean up the tests.
|
2016-06-22 15:55:11 -04:00 |
|
Rob Rix
|
a5f1926b63
|
Tidying.
|
2016-06-22 15:21:54 -04:00 |
|
Rob Rix
|
fa64af054d
|
Merge branch 'master' into random-walk-similarity
|
2016-06-22 15:19:32 -04:00 |
|
Rob Rix
|
f1d190326c
|
Remove children from the unpacking function.
|
2016-06-22 15:18:37 -04:00 |
|
Rob Rix
|
dac5431c1b
|
Fold instead of unpacking children.
|
2016-06-22 15:17:39 -04:00 |
|
Rob Rix
|
6e3c9ddd00
|
Flesh out stems from the root.
|
2016-06-22 15:15:44 -04:00 |
|
Rob Rix
|
6c36e80602
|
Try to define pqGrams as a hylomorphism.
|
2016-06-22 15:13:15 -04:00 |
|
Rob Rix
|
ad380bf08d
|
Limit the p,q-gram test to p > 0 & q > 0.
|
2016-06-22 15:02:10 -04:00 |
|
Rob Rix
|
7ff1fb0021
|
Assign placeholder parents at the root.
|
2016-06-22 13:46:31 -04:00 |
|
Rob Rix
|
f2c5dd3d8c
|
Test that the stems are of length p.
|
2016-06-22 13:46:06 -04:00 |
|
Rob Rix
|
4d2af0684d
|
Represent Gram labels in Maybe.
|
2016-06-22 11:52:50 -04:00 |
|
Rob Rix
|
7da6fde412
|
Test that pqGrams produces grams with stems of length p.
|
2016-06-22 11:27:30 -04:00 |
|
Rob Rix
|
4cb3261069
|
Correct the property by limiting it to d > 0.
|
2016-06-22 11:07:43 -04:00 |
|
Rob Rix
|
0bef12d722
|
Test that featureVector produces d-vectors.
|
2016-06-22 11:04:27 -04:00 |
|
Rob Rix
|
dbcf4a2da0
|
Derive Eq & Show instances.
|
2016-06-22 11:01:52 -04:00 |
|
Rob Rix
|
e8428446e2
|
Shrink Grams.
|
2016-06-22 10:59:16 -04:00 |
|
Rob Rix
|
5bfd65b665
|
Use gramWithPQ for the Arbitrary instance.
|
2016-06-22 10:57:43 -04:00 |
|
Rob Rix
|
1d848e6dc3
|
Generate arbitrary p,q-grams.
|
2016-06-22 10:54:48 -04:00 |
|
Rob Rix
|
b85e2f27ce
|
Add an Arbitrary instance over Grams.
|
2016-06-22 10:53:50 -04:00 |
|
Rob Rix
|
9a976869b2
|
Stub in a module for arbitrary grams.
|
2016-06-22 10:53:29 -04:00 |
|
Rob Rix
|
cc8fcb926e
|
Include the Gram spec.
|
2016-06-22 10:45:43 -04:00 |
|
Rob Rix
|
52e274b57d
|
Stub in the spec itself.
|
2016-06-22 10:45:31 -04:00 |
|
Rob Rix
|
d5e807257e
|
Hush, hlint.
|
2016-06-22 10:43:02 -04:00 |
|
Rob Rix
|
51392382ef
|
Stub in a spec for Data.Gram.
|
2016-06-22 10:41:13 -04:00 |
|
Rob Rix
|
ae08777c52
|
Prepend p parent labels.
|
2016-06-22 10:21:37 -04:00 |
|
Rob Rix
|
fa760d7ae1
|
Assign parents.
|
2016-06-22 10:13:25 -04:00 |
|
Rob Rix
|
c1f1fb71c9
|
Unpack lists of children.
|
2016-06-22 10:12:59 -04:00 |
|
Rob Rix
|
f8f1a073f6
|
Produce the label at each node.
|
2016-06-22 10:02:44 -04:00 |
|
Rob Rix
|
2edbff580c
|
Abstract the unpacking function universally.
|
2016-06-22 10:02:01 -04:00 |
|
Rob Rix
|
228f5212ee
|
Unpack the label and children at each level.
|
2016-06-22 09:56:10 -04:00 |
|
Rob Rix
|
dda39902b2
|
Specialize the unpacking function type.
|
2016-06-22 09:56:01 -04:00 |
|