-
Notifications
You must be signed in to change notification settings - Fork 70
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add script for testing examples (without gfd). Bindings now return sorted list of fds (only for algos inherited from FDAlgorithm). Update README to the current output
- Loading branch information
1 parent
24d5d46
commit 9b7fad7
Showing
32 changed files
with
1,104 additions
and
41 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
0 | ||
1 2 3 4 5 6 | ||
4 | ||
merge 7 8 9 | ||
0 | ||
0 | ||
1 | ||
keepall | ||
keepall | ||
merge 52 53 | ||
0 | ||
1 | ||
keepall |
4 changes: 4 additions & 0 deletions
4
examples/testing/outputs/afd_multiple_error_thresholds_output.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
[[0 1 2] -> 4, [0 1 3] -> 4, [0 2 3] -> 4, [1 2 3] -> 4] | ||
[[0] -> 1, [0] -> 2, [0] -> 3, [0] -> 4, [1] -> 0, [1] -> 2, [1] -> 3, [1] -> 4, [2] -> 0, [2] -> 1, [2] -> 3, [2] -> 4, [3] -> 0, [3] -> 1, [3] -> 2, [3] -> 4] | ||
[[0] -> 1, [0] -> 2, [0] -> 3, [0] -> 4, [1] -> 0, [1] -> 2, [1] -> 3, [1] -> 4, [2] -> 0, [2] -> 1, [2] -> 3, [2] -> 4, [3] -> 0, [3] -> 1, [3] -> 2, [3] -> 4] | ||
[[0] -> 1, [0] -> 2, [0] -> 3, [0] -> 4, [1] -> 0, [1] -> 2, [1] -> 3, [1] -> 4, [2] -> 0, [2] -> 1, [2] -> 3, [2] -> 4, [3] -> 0, [3] -> 1, [3] -> 2, [3] -> 4, [4] -> 1, [4] -> 2, [4] -> 3] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
Discovered ranges for (Delivery date - Dispatch date) are: | ||
[(2.0, 7.0), (15.0, 22.0)] | ||
|
||
Rows in which the result of the chosen operation (-) is outside of discovered ranges: | ||
id: 7 | ||
Dispatch date: 1 | ||
Delivery date: 30 | ||
Difference: 29 | ||
|
||
id: 26 | ||
Dispatch date: 7 | ||
Delivery date: 18 | ||
Difference: 11 | ||
|
||
id: 30 | ||
Dispatch date: 11 | ||
Delivery date: 22 | ||
Difference: 11 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
FDs found for dataset 1: | ||
[item_id] -> item_weight | ||
[item_weight] -> item_id | ||
[record_id] -> cargo_id | ||
[record_id] -> item_id | ||
[record_id] -> item_weight | ||
[record_id] -> timestamp | ||
[timestamp] -> cargo_id | ||
[timestamp] -> item_id | ||
[timestamp] -> item_weight | ||
[timestamp] -> record_id | ||
FDs found for dataset 2: | ||
[item_id] -> item_weight | ||
[item_weight] -> item_id | ||
[record_id] -> cargo_id | ||
[record_id] -> item_id | ||
[record_id] -> item_weight | ||
[record_id] -> timestamp | ||
[timestamp] -> cargo_id | ||
[timestamp] -> item_id | ||
[timestamp] -> item_weight | ||
[timestamp] -> record_id | ||
FDs found for dataset 3: | ||
[item_weight] -> item_id | ||
[record_id] -> cargo_id | ||
[record_id] -> item_id | ||
[record_id] -> item_weight | ||
[record_id] -> timestamp | ||
[timestamp] -> cargo_id | ||
[timestamp] -> item_id | ||
[timestamp] -> item_weight | ||
[timestamp] -> record_id | ||
AFDs found for dataset 3: | ||
[item_id cargo_id] -> item_weight | ||
[item_weight] -> item_id | ||
[record_id] -> cargo_id | ||
[record_id] -> item_id | ||
[record_id] -> item_weight | ||
[record_id] -> timestamp | ||
[timestamp] -> cargo_id | ||
[timestamp] -> item_id | ||
[timestamp] -> item_weight | ||
[timestamp] -> record_id | ||
MFD holds. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
pFDs \ AFDs = OrderedSet(['[DeviceId] -> Data']) | ||
AFDs \ pFDs = OrderedSet() | ||
AFDs ∩ pFDs = OrderedSet(['[Id] -> DeviceId', '[Id] -> Data', '[Data] -> Id', '[Data] -> DeviceId']) | ||
1 - PerValue([DeviceId] -> Data) = 0.1714285714 | ||
e([DeviceId] -> Data) = 0.23076923076923078 | ||
In case of PerValue error measure, violations on data from the single "glitchy" | ||
sensor device among many do not prevent dependecy from being found |
Oops, something went wrong.