Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
R script for plotting rules distribution by collector
rules sb rules fraction sbrules collector
9978 4 0.000401 01c0cc19e1bf7911b52af8f79541850e
1 0 0.000000 4859024f7eea91d6ce27f63203b77643
474 0 0.000000 15bb6d3fc83d4f3666a896801139da9e
4365 0 0.000000 376bc0a017d37471e6f94bf928f6bd35
428 0 0.000000 51bb32f3d0756b435a70e40d482cb153
429 0 0.000000 190c513ebde4f5aef665b41e5bb3f160
428 0 0.000000 fcddb86198e7bae1ea221a925696ccaf
428 0 0.000000 102608a09b5e32c2025df41b8efcf836
428 0 0.000000 e29083820db31bd58053a9a5f140ae25
428 0 0.000000 f1c37971b26194d0fd2ce85ad7093d44
9148 0 0.000000 169900e6e9690268c0961e25a0bcfc1b
1033 1 0.000968 a4c4e46bb972f2df2531a89ba3d23a88
1041 1 0.000961 e1825509efc23e1b51e815b3f02b6cdb
1080 1 0.000926 3e4ba33ffcd74e9dff4e34388ac0fe72
136 0 0.000000 f458abf500566d871f210bebcc089a34
148 0 0.000000 886061d8bc1678d04ac48134e01d1b79
5 0 0.000000 92b5bc6ef1ee4e1291e095a8b8f6f4be
1 0 0.000000 ecaccf02bda39770c1108fda66ce7114
249999 0 0.000000 09c6dea81d1268dbfc28c5aa2ec9626a
2065 0 0.000000 afcd2cd73faf9e6d07a5f3a911695483
2068 0 0.000000 ef67a03f2a1b57aa44231d675119af00
2235 0 0.000000 37ecee951c6b2aa0e7b35cc9d38ad2cb
406 0 0.000000 2603fc86185cfee73fb5a6fe520f124c
2076 0 0.000000 c23af1dc59e689376abe1ff71ea2ef8e
2215 0 0.000000 8bc4f23d41fc8d69ec3d5c9b5bc11fb3
9148 0 0.000000 e4d24835a308da50d824c72d168bfeaa
1158 0 0.000000 a990993edc03a5f7e71a201ec89193c5
1156 0 0.000000 9177a9923e51ffe6ddf9a702f230ed74
1156 0 0.000000 1351b51b1bf6d9fbb58b0ca139eb724b
1091 0 0.000000 cd352f6ee9280cc27dc0f8aee1786e27
506 0 0.000000 2c107a67cbc491b31c4ff5b7f576ef58
489 0 0.000000 bcdf53eddb000a98408fec03526b6868
437 0 0.000000 f2666874d4a892a7a706eec248af82e7
1784 0 0.000000 4cf00ac4df845a9fb96ae758f4797dea
1784 0 0.000000 6e985ced3bb41ac4eebfa5db3c94e9f2
437 0 0.000000 00e4a2719f1b755f5a79a0f41ed468cf
429 0 0.000000 39c5de20efffd93f336322d667a007a1
25730 0 0.000000 858f92b6e089c2a9a88e1d1d483fd2a2
24 0 0.000000 e8d2eb482ad032284a5e8c5ceed2e112
183 0 0.000000 fd72c1e2e0aa94cebb84eb4e83925367
109 0 0.000000 2d7408c028a0519708f4ebe7e1f2eeb8
1823 0 0.000000 b641f02026004a92716949fcf29b3bc0
99 0 0.000000 aaff0c9532811cee4ca9fb2e32724738
1310 0 0.000000 212c25b52297f0eccaf63ef9c61f768e
5090 24 0.004715 1987ccfc8db0fe0bfd6630e3d03e860f
3978 24 0.006033 c63173b3a332c5c509b0683595f63c3c
4024 24 0.005964 33a32e9898a2e66228e024119b422724
3976 24 0.006036 99a844ed19c810d9f3a3ee739a90a0f2
4023 24 0.005966 40813f96ab5d998acd4bb0134965c75d
1658 24 0.014475 926bc9dfd7b6e9cf2b07ac78b91570b9
1097 1 0.000912 ae5e8b423a7ee2a818bded848b646600
3 0 0.000000 d0cb536a7eb3d7e928cdb15d6d2d5ae6
1 0 0.000000 a312d36c8bed7fd72abac320ac82761d
48 0 0.000000 471bb8b1a0f1bfadda770f04dc1acdea
25 0 0.000000 6661025927de0f3d0fae1b023d583cc9
2 0 0.000000 a53f00bace683bed346142a9dc85dbba
1851 0 0.000000 643b1ed5dd570bec75e797acdde61464
45 0 0.000000 2eed36edf0a9028be96f990540fc54ed
925 0 0.000000 c37c66ce4b1da8c5ea4620afe9269a0b
250000 0 0.000000 ecb77588c34ac45af833cdddb10705f3
277 0 0.000000 ea1fbe9116e51d2d75c8847aa14e78fd
21354 1 0.000047 3a122717b1594bddd4297c93c074b01b
103403 0 0.000000 ea17736b911fbb72c0587d3fe2a3a74f
396 0 0.000000 6efcd09741d48cc1865bbf504d5724f6
369 0 0.000000 2a4b98a7bfd6479dec326acc71da04b6
2 0 0.000000 e4a8dbf826f59842f6225e2adc291e8b
34 0 0.000000 2e4bf0235391aad234eb7b270bdba54f
22 0 0.000000 f0fff9bf733939883b15eb8b30edca42
23 0 0.000000 c2da908e3a100a7adb049657d9b3b266
1 0 0.000000 166dfd77859d2e4fdb18cb039b46676f
75 0 0.000000 c39a6dffd7af5571653a7a1b6e6e80f8
74 0 0.000000 610b1b2419a395c731141f5dd530ba69
1054 0 0.000000 65b62477bce02f9a001b45648da79e01
13214 1 0.000076 448595e1ebfb8e12c8e3cfa9c100536a
371 0 0.000000 9e6fbc44778c24a0380d2770a5fe01dd
504 0 0.000000 1b0ae2a2d3f5754d55034a6d924726a3
1918 0 0.000000 96aeab36804b675e3d82ba0781bfbe7c
3726 0 0.000000 8e385e3ed606bde2d6f2658caec2e4e3
10 0 0.000000 641c57b3466c49c412b8475496b2652e
193 0 0.000000 a93637c8900d009f327861274f9da42a
183 0 0.000000 8dc0b680a7041fc3b2a2cf5f6b94edaa
177 0 0.000000 b80a04a05c84bde65f61037cb560040b
175 0 0.000000 000e1de52177beca0b9bc4b15645686a
148 0 0.000000 3d2c990bd7bc80d391ff978e6a25762b
137979 28 0.000203 9d98d243b6890cfd7df34143a4bb4850
9 0 0.000000 85ba884f17f05b0978fab1b43a2fef52
19518 11 0.000564 4c2a6d2549b19983f3809ccb72d72d07
734 0 0.000000 f029986bf93ee1db0cf76741bfc6bd6b
25 0 0.000000 3c6fa99debcd1ad841081f98658ba8ea
1308 0 0.000000 2dcc80eeeb3b1cdda94558823d372acc
121 0 0.000000 35b1236b566a810320808e53f1771ec3
126 0 0.000000 96faae23433f2db97dca6231650991ca
3 0 0.000000 be3d6300b1ef936e81552b7081f68455
181 0 0.000000 e649fee7ae739f23ed63961dc5d2c5b0
2551 0 0.000000 f540f6622f4ff0195a297690757397db
32895 0 0.000000 02ae4f6f4cd52822f89372f7b3f4b8d7
569 0 0.000000 92c212fd4deb897511a6a54482b9cc81
61 0 0.000000 ad8b0d207a0f2dd31f2443e8e0e4b6c5
24119 0 0.000000 339ce72c0b74daa23368a4a816d12d2d
81 0 0.000000 aa0612e7dbe584db1ccc2341556c4c71
92 0 0.000000 c5c70c41fcc5534642dbbb1b579c74c3
93 0 0.000000 edd6b55415c80677fee2dcbfe7054cb9
55 0 0.000000 be47189888e308059b05ca03017be627
92 0 0.000000 b5e87a8c42f1c27770bfc812a95fce22
5 0 0.000000 297fc28705dc6007be0a1123489da6e4
203 0 0.000000 99785ac6b79f3d2627e956f3a89dac1b
127 0 0.000000 6991105c0a897303764f8cf8da82fe94
55 0 0.000000 82a9d75330127d2bac27a31ca318b78c
22 0 0.000000 b72e3c74dfb91c12f250af645e5c89ba
108 0 0.000000 5a27b5e18d71dc5eb6a274896360fbde
10 0 0.000000 f8955f6c0f2a263732cbc1a322c4e5da
1 0 0.000000 4c8d7785a320d038734b2b325e12b809
50 0 0.000000 0e04cc2de2499ab0f10723628b6885eb
984 0 0.000000 3c4965f1c9afffc23cc4a5082b5e6422
102 0 0.000000 1a044460ff22675510cc3550af15c786
85 0 0.000000 ff3a164bfd3feebe9fda386d3af5c2af
36808 0 0.000000 cf4fa2120e0b722d340508fde235347c
249847 0 0.000000 52fe2d9f8d0157677b3e0a7b747690c7
479 0 0.000000 5223e4b002a20c9779a45a474e93d8ad
149 0 0.000000 de3903d2793e0895343a535022a147fb
149 0 0.000000 75153ac03cc3446ae2402c9810099fd9
149 0 0.000000 626ad1865a63ca8df30363cb54640a9f
59 0 0.000000 ff98c4e94ff005108cc8067d13e68a64
91 0 0.000000 a939f785a570e5138b76261b75f73ccb
249999 0 0.000000 76304f9450191208368ac4c4e9e0d91e
510 0 0.000000 5c3448863968f6523ba5a16939dd9aad
509 0 0.000000 6ed0c90aa304e320e18e8dd05ffc8eaa
209 0 0.000000 c30621c6aad6cfb0d04710bdf532c43b
262 3 0.011450 52b67aec10b5f0572ea0b79be94afcf8
1749 0 0.000000 54ce9bef17d1e8bd94d577f2d11ccb5c
52 0 0.000000 d6220d7b075f0830a04d81081385bb1c
106 0 0.000000 270663e5c12a196dab62463f747afcf1
310 0 0.000000 4e05e214257411b6b4ab2e37317e43c1
7315 0 0.000000 f874c7e195f8023201ec05c503d467c9
3 0 0.000000 49460be77e8c95ad3f651832eb8b185e
170224 4 0.000023 9c492942ca9526a64b710531e679102d
2 0 0.000000 a503d473a9c9ab8c0165b4a95a527772
1293 0 0.000000 fb3fdcae191b61edfcd2fb3eab13806c
31 0 0.000000 1b7c81db7d6ed978aa3c07e768108aba
30 0 0.000000 ee2e7dbefb13c3befa963d1f00818727
34 0 0.000000 37f135d2a0ae8de0c8a27a7f64d878b4
3356 6 0.001788 9490dd718de799a27b8717258a9d7f16
2 0 0.000000 be05ee03234e19ce89b7dcff2de9e718
19 0 0.000000 da12e1f8e5fd9257a299a109dac3b70a
13576 0 0.000000 8c9e2c72ce8f506ef37eb228718626e3
13579 0 0.000000 dfce13e9d7a9f8c05b57535bd6bf7fbd
13579 0 0.000000 3de82d050ebda7eed3a19bee35a25c91
2148 4 0.001862 d9ebdcdb2a722227b68dead7aa531500
1409 4 0.002839 d46247fe97198bc5fcb5998b3f85a79b
2148 4 0.001862 3d0219c4943f01cfa09702612e1f551d
2148 4 0.001862 2d7ce8af7145fba5fb9431fdc9ffe90b
594 0 0.000000 3a021a92ca90070caf76fc625cbbec18
2149 4 0.001861 bb328610a35082303bf3c99e451e10ff
4831 0 0.000000 31e64a2d9b8cb9ef467d8008f6ff8ba7
4831 0 0.000000 5b1f80d1d8d53ea1e21f78fef49033fc
4831 0 0.000000 486e5350e019d967c5b6ec525ceaee23
141 0 0.000000 d5419f69dae7697844282a16860ddc7e
617 0 0.000000 c671c9d82b97fd5652bff6df45d0fc3e
617 0 0.000000 e04def18442d5bf09a86697062dfc8df
463 0 0.000000 7bc1842a8f72b1d0c49695890c6d6bc0
467 0 0.000000 3d3555066dd055dc7dbd057a2a46a6b0
482 0 0.000000 8384d3b9abe6d522722be05a99dbf6cb
482 0 0.000000 8cfc13b76dead5612d05de0eb1eb0fdb
482 0 0.000000 f4cc07c4f50a903064156514b26e6816
69857 0 0.000000 39b269d5dbaf52bd7dff9eaf49796d42
2025 0 0.000000 0dbbe3f34766e7b20d4b15bd372c3adb
77 0 0.000000 742f197db680480a2ee710d31d385276
77 0 0.000000 6e3da4c699bb62fb45d23ad976846bd5
37 0 0.000000 541bde5b0fc0f32f0b812dd3e1f0352c
37 0 0.000000 bdc3e63e234a34d45d69e7f5d26e450a
249900 0 0.000000 0bc028f37d94abf7e2322870b9ea1c8a
249900 0 0.000000 b67375fe8abced16233352b4bf0561a5
249900 0 0.000000 2cd0c15d33b25bfdc0d17fea89d932db
14 0 0.000000 99ae27979ab587e3c34ce24653d45dae
14 0 0.000000 100b1c1e1d2283ca501dd293f5a6c451
571 0 0.000000 38831aeaaecc925895cf11941c05100a
567 0 0.000000 ba2d1cf90d8ff9a8b440263d4d2cdc01
29754 0 0.000000 e0dd117f5ff13f512de91a2c48a492eb
90 0 0.000000 f0ab594e3e77fbb949357c315caeefd5
8 0 0.000000 0e35f94454040d3f1fd7fc979c935c88
29 0 0.000000 3508e69234f1a978fa34cfe8272617d8
9 0 0.000000 a9831647ef6a85f9f9901f6770476ecc
2991 574 0.191909 b6c90b07e26ee4c13d2f69fad9faf98a
711 0 0.000000 436e2aeca0462fb40c27804fbacee4a4
10 0 0.000000 2d62fa93dfb2ec9976c1cb3fbb1d0d94
5764 21 0.003643 ec9f68c92f984f4115510c5713e1ef39
449 0 0.000000 3154026fb46e9adcfa5fb71a6eff0499
159027 31 0.000195 d50a65e10950e790b8819ccd31f3d825
1301 0 0.000000 68bd015f51c6e971809adfd3e55f7d9d
1302 0 0.000000 e932faef98a440676450c6be35f26863
1305 0 0.000000 917578cc5d52c86d4fc833f88134b471
1222 9 0.007365 7fa4668805f4d0edbbbd57d8e3be096b
540 0 0.000000 67e5332670bf3874012f6204f7aee079
4095 0 0.000000 4f639506b33db072b3e0dea8933ebd49
70728 0 0.000000 738e5d738da54b4e12064fa01bf00478
59081 0 0.000000 06f2639c1e9d98fb988c9bd152a6774d
59081 0 0.000000 3235cd8f9fc69b0831363a2913da2c33
13 0 0.000000 f7b4b7185025b3524b27412700d8cd58
60 0 0.000000 e8a5d9ba970cd32a4263baf7001130b9
828 0 0.000000 2dd2a325041410f549170ab6a348aa93
7 0 0.000000 3dec706e756cbfcd14a4b9ec1f19782d
27 0 0.000000 31f6d7274e7f2f6d3f91e569784fc2d8
6322 0 0.000000 9c33d4863da874534e85b314e28720d8
6953 0 0.000000 33998b27c6ca06e2510bc5187c1ee2e8
179 0 0.000000 1a3a6ac9e3b2234d73886c982a08021e
1950 107 0.054872 75aee73383e7d4f8a04a6d517aecc77a
329 0 0.000000 d7b8d4fa86cc6be4faa59e5873242f0f
2394 2 0.000835 5554857be8d123f5869d7f4999fe3303
23 0 0.000000 2621839983a7ea73c35322086dfde336
27 0 0.000000 b59b3008662554dc124b6d989278408f
3 0 0.000000 338e15918bcb991db4b873eb7620b928
50 0 0.000000 d0a7837a7093afe558e4810b57b5fa99
51 0 0.000000 4c67e668e2eb57c1240aaac3e0518053
8361 0 0.000000 c7f063c8649c62e3b01e239719ad75eb
1026 2 0.001949 aa1e85b5368a0909917cbacc9c7af161
47 0 0.000000 54725acffdc4ed37008e28ca0ce6bb38
36 0 0.000000 9383a0e9bb7bcd556788335066cec47d
8321 0 0.000000 bf5fb08b1e11e11d2aa7c65c6e5bf42d
173 0 0.000000 b6992bc2f3215c6a5334a8193b20f298
2 0 0.000000 7830aec5b7210e8fedc704e10ea0bbec
77 0 0.000000 a9c94e8fea5a11b38111dc3084d5f1ee
1980 0 0.000000 52db0519bb61f5792b2e8efa81f49339
1 0 0.000000 54985944aca8ce945207fe20af9733e2
1167 0 0.000000 1063524105e62ec63b3297ce7b1b69ec
8 0 0.000000 acf0b6b00d4a0d6885aa68207b9b5e5d
17 0 0.000000 07e62d65aa8ee8819bb9b34bdff5f344
3 0 0.000000 7cb1341f40f8c9b6de2fc8d29507a5fe
3 0 0.000000 e17bb476f177b993b567cc8ea77d2ce4
23 0 0.000000 a13614e06d6f79485b0302856df91628
1450 0 0.000000 f31fff95d3850e9bc74a4f2eb0cedcab
705 0 0.000000 fcb0a40b12a963b194bad229f4087cc8
4459 0 0.000000 39e5694f028c2752cce9c3d968d10cb1
4459 0 0.000000 7ff8479bac78105a320f46745c4d758c
4459 0 0.000000 a8f43e4bd2196502d966747b9e383645
4459 0 0.000000 92365ddf42a903171c6a99e6645d8866
3467 0 0.000000 d27a14ddac8e85eb6df77d9d96572a6c
60 0 0.000000 b65e7d54a4ab4b6549a16c08e6373e75
55 0 0.000000 12954b286399c05fff8fb166e66f8b5c
55 0 0.000000 d435e86b66c8a2dc01e60e31d7b2c887
55 0 0.000000 51bf9be3f42c366b841bedbae51ae656
56 0 0.000000 65556f9b47edda3ff17ac411967e7dee
7 0 0.000000 3a42946ec5580263f99f5c33fa69da1b
176 0 0.000000 085d6a97c2392437fb4f358f77a083fd
279 0 0.000000 2accb507511bbd2784e16780d43e16d3
2314 0 0.000000 78dfca0fa8cd0a8302ccf29d720a16e1
3743 0 0.000000 1406f3245126fcf6315a124ea4cb7b68
27259 24 0.000880 83c8cc9ed40343b18ff1b535d374ac49
395 0 0.000000 5dec1952b7eb28589f8ef4e0242c49db
105 0 0.000000 9b6c49c08ec9c502dbd0803938a456fa
233 0 0.000000 a71533390100cb88396e3086b59e4235
2 0 0.000000 d1d1cb0e67a0db090b41b45b9c3d7b69
1 0 0.000000 e730f53edfd61137a0bd3118c6131a84
1 0 0.000000 2443f8469b84c5577bdb8141c2d1952b
1 0 0.000000 fad0879e785d047e32ad22f47e1886d1
45 0 0.000000 897ea4cba2b34949ea827bdf998ae460
45 0 0.000000 9d2ab688c4c5e49c4b98fafae4be5ab3
45 0 0.000000 8b0a08ad46782f7de4d2ce2f0516bf0f
14 0 0.000000 faeb8898a59ccdebcabe5142da052ee5
45 0 0.000000 8d1e88b8fe2935e6eb88724cc1990e10
3 0 0.000000 5d54048fdd47e2b17c3bbb8a3baa3d13
10 0 0.000000 5e34a57d49a899696a75acbcde099911
161 0 0.000000 e5ea271fd2a73b0f58ce760d30c73915
62 0 0.000000 a2af688a5be96a4c5ebe71c90a5f99ae
62 0 0.000000 430f427ed9d62854c149d0f5613c3844
6 0 0.000000 5436f9cbe3bddabb9b45dcd328e9052a
62 0 0.000000 4ff830b2da58cf41287c530c8099eaa2
1 0 0.000000 e6493f6a0063e558d0b6b43158737b32
396 0 0.000000 4e0f1096c372c38482afe8d917303110
791 0 0.000000 0b282be2851f92abfbfd85a04f1c1ddc
45 0 0.000000 ee332282440918a8c6b48f6d456d98e9
92 0 0.000000 3bf3aa304025819c1cfc7957a56bfac9
3 0 0.000000 9317092365451efad4281abe05ea6ffc
2 0 0.000000 b532bf831a714ac2723218298b3120ff
14494 0 0.000000 277f4b6cbad7e6b056c7db372bbe0175
14494 0 0.000000 1e2cd4933b47ebe1f87fbec2971ae525
14494 0 0.000000 cdc9d245cd9855ca18aee57c5c511a0b
14494 0 0.000000 534d222f925ae0d7455de752cafe3663
13 0 0.000000 24b19c61f0a5da2f983df6134cbff95d
337 0 0.000000 9f2ac9472ac6f2674cfce3dd4aeb0c27
3309 0 0.000000 319394205966b49cb805b224798d132f
1 0 0.000000 6ae16789b06916c4fd418efd47737f2a
1590 0 0.000000 fb4799ef35ae3ec6bb4389383352fab3
1 0 0.000000 6f267821abd0292ce2833e060bcab259
1 0 0.000000 15efa66e0d61aa97ebb8d97d0d46c6a9
44759 0 0.000000 a41ea9ba3d28c3932c9fd9fc83667c30
3743 0 0.000000 aad0214be79cb7d931bf6bb3571aca8f
3743 0 0.000000 cd7869920a86a638d00bc4d9ff78bcd7
3745 0 0.000000 7a850bb98bc51ec7bfd0823ef596b236
8320 0 0.000000 2f16d7d1060d48a4804e20d2fa0b3b78
317 0 0.000000 db48c3f20c6a684103c9a0ee5259dc31
624 0 0.000000 fc73a3c19d2c691b69b3f73a13976b29
1441 0 0.000000 eac3e1a91b933375125926a4a512b8cb
1441 0 0.000000 9b3492cb44f909340f903af9f7a2dada
1441 0 0.000000 9ff8a129c9257599f9562c64b3890d09
29 0 0.000000 8c2e5d25f9f3cba9a340658a031312ba
11 0 0.000000 e0b94d0357f35c2ce0ac5eb3a63860fa
50 0 0.000000 64dfa079f53d158aaa16595d3c65dfeb
41426 4 0.000097 744d833d5471c5de8377d8282f9ff9ec
41420 4 0.000097 9cc0d7269a8eb70182316d9bd7267caf
41420 4 0.000097 33b80a494fc3a34d769831d6af7bcd6b
3143 0 0.000000 8bdc4c63be1326bb3a3e9abbe6935298
4331 0 0.000000 01b35ba13e5dcf2c6c68abfe2879d9ee
4365 0 0.000000 484355d5cbac2152c94d1dc6f972d202
3 0 0.000000 cae099d2d0c4e51e922de8681bf8c803
3309 0 0.000000 ae14808041488dedac253acc49d6fc6d
1 0 0.000000 d863106d6001445a279786e0f76c4098
1907 0 0.000000 cf5fe001ea3d00db5f7b4870ae3d22d6
187 0 0.000000 1e34df4d32c2a58f693c49963f014db6
187 0 0.000000 72afd43f30842b7ba99d6fc39a4f52ac
28 0 0.000000 da35539c07c1385546f7048e4a1bed9e
3 0 0.000000 f5a7aa58e6fe5acaacd4a12ce7c125c3
10 0 0.000000 535a07bedb5164f1fa0ffabd5d9ff0ab
#!/usr/bin/env Rscript
library(ggplot2)
library(gridExtra)
#
mydat <- read.csv(file="./hashed_rulestats.csv", header=TRUE, sep=",")
mydat$collector <- reorder(mydat$collector, mydat$rules)
summary(mydat)
#mydat[1:12,]
png(filename = "./rules.png", width = 700, height = 2800, units = 'px')
ggplot(data=mydat, aes(x=collector,y=rules, color=sb.rules)) +
geom_point() +
scale_y_log10() +
coord_flip()
dev.off()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment