Skip to content

Commit

Permalink
Updated Template
Browse files Browse the repository at this point in the history
  • Loading branch information
antongiacomo committed May 15, 2024
1 parent 06c145a commit c5932f7
Show file tree
Hide file tree
Showing 33 changed files with 645 additions and 596 deletions.
74 changes: 48 additions & 26 deletions Images/graphs/Data Aggegation.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"cells": [
{
"cell_type": "code",
"execution_count": 1,
"execution_count": 3,
"metadata": {
"ExecuteTime": {
"end_time": "2024-02-16T16:52:56.556745Z",
Expand Down Expand Up @@ -48,7 +48,7 @@
},
{
"cell_type": "code",
"execution_count": 1,
"execution_count": 4,
"metadata": {},
"outputs": [],
"source": [
Expand Down Expand Up @@ -479,7 +479,7 @@
},
{
"cell_type": "code",
"execution_count": 2,
"execution_count": 6,
"metadata": {},
"outputs": [
{
Expand All @@ -492,168 +492,182 @@
" GROUP BY number_of_nodes, number_of_services,window_size\n",
" ORDER BY number_of_services\n",
" \n",
"{2.0: 0.99428, 3.0: 0.98974, 4.0: 0.9871, 5.0: 0.98843, 6.0: 0.99797}\n",
"{2.0: 0.99428, 3.0: 0.98974, 4.0: 0.9871, 5.0: 0.98843, 6.0: 0.99797, 7.0: 0.98948}\n",
"2.0 0.99428\n",
"3.0 0.98974\n",
"4.0 0.9871\n",
"5.0 0.98843\n",
"6.0 0.99797\n",
"7.0 0.98948\n",
"SELECT number_of_services, number_of_nodes, avg(metric_distance)\n",
" FROM diff_qual_n7_s7_50_80\n",
" WHERE number_of_nodes = 3 AND window_size = 2\n",
" GROUP BY number_of_nodes, number_of_services,window_size\n",
" ORDER BY number_of_services\n",
" \n",
"{2.0: 1.0, 3.0: 1.0, 4.0: 0.99918, 5.0: 0.99718, 6.0: 0.99888}\n",
"{2.0: 1.0, 3.0: 1.0, 4.0: 0.99918, 5.0: 0.99718, 6.0: 0.99888, 7.0: 0.9963}\n",
"2.0 1.0\n",
"3.0 1.0\n",
"4.0 0.99918\n",
"5.0 0.99718\n",
"6.0 0.99888\n",
"7.0 0.9963\n",
"SELECT number_of_services, number_of_nodes, avg(metric_distance)\n",
" FROM diff_qual_n7_s7_50_80\n",
" WHERE number_of_nodes = 3 AND window_size = 3\n",
" GROUP BY number_of_nodes, number_of_services,window_size\n",
" ORDER BY number_of_services\n",
" \n",
"{2.0: 1.0, 3.0: 1.0, 4.0: 1.0, 5.0: 1.0, 6.0: 1.0}\n",
"{2.0: 1.0, 3.0: 1.0, 4.0: 1.0, 5.0: 1.0, 6.0: 1.0, 7.0: 1.0}\n",
"2.0 1.0\n",
"3.0 1.0\n",
"4.0 1.0\n",
"5.0 1.0\n",
"6.0 1.0\n",
"7.0 1.0\n",
"SELECT number_of_services, number_of_nodes, avg(metric_distance)\n",
" FROM diff_qual_n7_s7_50_80\n",
" WHERE number_of_nodes = 4 AND window_size = 1\n",
" GROUP BY number_of_nodes, number_of_services,window_size\n",
" ORDER BY number_of_services\n",
" \n",
"{2.0: 0.99049, 3.0: 0.99348, 4.0: 0.98364, 5.0: 0.99236, 6.0: 0.99051}\n",
"{2.0: 0.99049, 3.0: 0.99348, 4.0: 0.98364, 5.0: 0.99236, 6.0: 0.99051, 7.0: 0.99104}\n",
"2.0 0.99049\n",
"3.0 0.99348\n",
"4.0 0.98364\n",
"5.0 0.99236\n",
"6.0 0.99051\n",
"7.0 0.99104\n",
"SELECT number_of_services, number_of_nodes, avg(metric_distance)\n",
" FROM diff_qual_n7_s7_50_80\n",
" WHERE number_of_nodes = 4 AND window_size = 2\n",
" GROUP BY number_of_nodes, number_of_services,window_size\n",
" ORDER BY number_of_services\n",
" \n",
"{2.0: 1.0, 3.0: 0.99763, 4.0: 0.99755, 5.0: 0.9975, 6.0: 0.99729}\n",
"{2.0: 1.0, 3.0: 0.99763, 4.0: 0.99755, 5.0: 0.9975, 6.0: 0.99729, 7.0: 0.99817}\n",
"2.0 1.0\n",
"3.0 0.99763\n",
"4.0 0.99755\n",
"5.0 0.9975\n",
"6.0 0.99729\n",
"7.0 0.99817\n",
"SELECT number_of_services, number_of_nodes, avg(metric_distance)\n",
" FROM diff_qual_n7_s7_50_80\n",
" WHERE number_of_nodes = 4 AND window_size = 3\n",
" GROUP BY number_of_nodes, number_of_services,window_size\n",
" ORDER BY number_of_services\n",
" \n",
"{2.0: 1.0, 3.0: 0.99898, 4.0: 1.0, 5.0: 0.99894, 6.0: 1.0}\n",
"{2.0: 1.0, 3.0: 0.99898, 4.0: 1.0, 5.0: 0.99894, 6.0: 1.0, 7.0: 0.99954}\n",
"2.0 1.0\n",
"3.0 0.99898\n",
"4.0 1.0\n",
"5.0 0.99894\n",
"6.0 1.0\n",
"7.0 0.99954\n",
"SELECT number_of_services, number_of_nodes, avg(metric_distance)\n",
" FROM diff_qual_n7_s7_50_80\n",
" WHERE number_of_nodes = 4 AND window_size = 4\n",
" GROUP BY number_of_nodes, number_of_services,window_size\n",
" ORDER BY number_of_services\n",
" \n",
"{2.0: 1.0, 3.0: 1.0, 4.0: 1.0, 5.0: 1.0, 6.0: 1.0}\n",
"{2.0: 1.0, 3.0: 1.0, 4.0: 1.0, 5.0: 1.0, 6.0: 1.0, 7.0: 1.0}\n",
"2.0 1.0\n",
"3.0 1.0\n",
"4.0 1.0\n",
"5.0 1.0\n",
"6.0 1.0\n",
"7.0 1.0\n",
"SELECT number_of_services, number_of_nodes, avg(metric_distance)\n",
" FROM diff_qual_n7_s7_50_80\n",
" WHERE number_of_nodes = 5 AND window_size = 1\n",
" GROUP BY number_of_nodes, number_of_services,window_size\n",
" ORDER BY number_of_services\n",
" \n",
"{2.0: 0.97113, 3.0: 0.97909, 4.0: 0.95939, 5.0: 0.97962, 6.0: 0.98181}\n",
"{2.0: 0.97113, 3.0: 0.97909, 4.0: 0.95939, 5.0: 0.97962, 6.0: 0.98181, 7.0: 0.98676}\n",
"2.0 0.97113\n",
"3.0 0.97909\n",
"4.0 0.95939\n",
"5.0 0.97962\n",
"6.0 0.98181\n",
"7.0 0.98676\n",
"SELECT number_of_services, number_of_nodes, avg(metric_distance)\n",
" FROM diff_qual_n7_s7_50_80\n",
" WHERE number_of_nodes = 5 AND window_size = 2\n",
" GROUP BY number_of_nodes, number_of_services,window_size\n",
" ORDER BY number_of_services\n",
" \n",
"{2.0: 0.98949, 3.0: 0.98135, 4.0: 0.9851, 5.0: 0.99424, 6.0: 0.99038}\n",
"{2.0: 0.98949, 3.0: 0.98135, 4.0: 0.9851, 5.0: 0.99424, 6.0: 0.99038, 7.0: 0.99467}\n",
"2.0 0.98949\n",
"3.0 0.98135\n",
"4.0 0.9851\n",
"5.0 0.99424\n",
"6.0 0.99038\n",
"7.0 0.99467\n",
"SELECT number_of_services, number_of_nodes, avg(metric_distance)\n",
" FROM diff_qual_n7_s7_50_80\n",
" WHERE number_of_nodes = 5 AND window_size = 3\n",
" GROUP BY number_of_nodes, number_of_services,window_size\n",
" ORDER BY number_of_services\n",
" \n",
"{2.0: 0.99821, 3.0: 0.99613, 4.0: 0.99903, 5.0: 0.99646, 6.0: 0.997}\n",
"{2.0: 0.99821, 3.0: 0.99613, 4.0: 0.99903, 5.0: 0.99646, 6.0: 0.997, 7.0: 0.99803}\n",
"2.0 0.99821\n",
"3.0 0.99613\n",
"4.0 0.99903\n",
"5.0 0.99646\n",
"6.0 0.997\n",
"7.0 0.99803\n",
"SELECT number_of_services, number_of_nodes, avg(metric_distance)\n",
" FROM diff_qual_n7_s7_50_80\n",
" WHERE number_of_nodes = 5 AND window_size = 4\n",
" GROUP BY number_of_nodes, number_of_services,window_size\n",
" ORDER BY number_of_services\n",
" \n",
"{2.0: 0.99715, 3.0: 1.0, 4.0: 0.99836, 5.0: 0.99776, 6.0: 0.99887}\n",
"{2.0: 0.99715, 3.0: 1.0, 4.0: 0.99836, 5.0: 0.99776, 6.0: 0.99887, 7.0: 0.99975}\n",
"2.0 0.99715\n",
"3.0 1.0\n",
"4.0 0.99836\n",
"5.0 0.99776\n",
"6.0 0.99887\n",
"7.0 0.99975\n",
"SELECT number_of_services, number_of_nodes, avg(metric_distance)\n",
" FROM diff_qual_n7_s7_50_80\n",
" WHERE number_of_nodes = 5 AND window_size = 5\n",
" GROUP BY number_of_nodes, number_of_services,window_size\n",
" ORDER BY number_of_services\n",
" \n",
"{2.0: 1.0, 3.0: 1.0, 4.0: 1.0, 5.0: 1.0, 6.0: 1.0}\n",
"{2.0: 1.0, 3.0: 1.0, 4.0: 1.0, 5.0: 1.0, 6.0: 1.0, 7.0: 1.0}\n",
"2.0 1.0\n",
"3.0 1.0\n",
"4.0 1.0\n",
"5.0 1.0\n",
"6.0 1.0\n",
"7.0 1.0\n",
"SELECT number_of_services, number_of_nodes, avg(metric_distance)\n",
" FROM diff_qual_n7_s7_50_80\n",
" WHERE number_of_nodes = 6 AND window_size = 1\n",
" GROUP BY number_of_nodes, number_of_services,window_size\n",
" ORDER BY number_of_services\n",
" \n",
"{2.0: 0.95427, 3.0: 0.96642, 4.0: 0.97464, 5.0: 0.9805, 6.0: 0.96565}\n",
"{2.0: 0.95427, 3.0: 0.96642, 4.0: 0.97464, 5.0: 0.9805, 6.0: 0.96565, 7.0: 0.98429}\n",
"2.0 0.95427\n",
"3.0 0.96642\n",
"4.0 0.97464\n",
"5.0 0.9805\n",
"6.0 0.96565\n",
"7.0 0.98429\n",
"SELECT number_of_services, number_of_nodes, avg(metric_distance)\n",
" FROM diff_qual_n7_s7_50_80\n",
" WHERE number_of_nodes = 6 AND window_size = 2\n",
" GROUP BY number_of_nodes, number_of_services,window_size\n",
" ORDER BY number_of_services\n",
" \n",
"{2.0: 0.9731, 3.0: 0.98617, 4.0: 0.98025, 5.0: 0.99029, 6.0: 0.99196}\n",
"{2.0: 0.9731, 3.0: 0.98617, 4.0: 0.98025, 5.0: 0.99029, 6.0: 0.99196, 7.0: 0.99707}\n",
"2.0 0.9731\n",
"3.0 0.98617\n",
"4.0 0.98025\n",
"5.0 0.99029\n",
"6.0 0.99196\n",
"7.0 0.99707\n",
"SELECT number_of_services, number_of_nodes, avg(metric_distance)\n",
" FROM diff_qual_n7_s7_50_80\n",
" WHERE number_of_nodes = 6 AND window_size = 3\n",
Expand Down Expand Up @@ -696,89 +710,97 @@
" GROUP BY number_of_nodes, number_of_services,window_size\n",
" ORDER BY number_of_services\n",
" \n",
"{2.0: 1.0, 3.0: 1.0, 4.0: 1.0, 5.0: 1.0, 6.0: 1.0}\n",
"{2.0: 1.0, 3.0: 1.0, 4.0: 1.0, 5.0: 1.0, 6.0: 1.0, 7.0: 1.0}\n",
"2.0 1.0\n",
"3.0 1.0\n",
"4.0 1.0\n",
"5.0 1.0\n",
"6.0 1.0\n",
"7.0 1.0\n",
"SELECT number_of_services, number_of_nodes, avg(metric_distance)\n",
" FROM diff_qual_n7_s7_50_80\n",
" WHERE number_of_nodes = 7 AND window_size = 1\n",
" GROUP BY number_of_nodes, number_of_services,window_size\n",
" ORDER BY number_of_services\n",
" \n",
"{2.0: 0.934, 3.0: 0.94717, 4.0: 0.95858, 5.0: 0.95602}\n",
"{2.0: 0.934, 3.0: 0.94717, 4.0: 0.95858, 5.0: 0.95602, 6.0: 0.97366}\n",
"2.0 0.934\n",
"3.0 0.94717\n",
"4.0 0.95858\n",
"5.0 0.95602\n",
"6.0 0.97366\n",
"SELECT number_of_services, number_of_nodes, avg(metric_distance)\n",
" FROM diff_qual_n7_s7_50_80\n",
" WHERE number_of_nodes = 7 AND window_size = 2\n",
" GROUP BY number_of_nodes, number_of_services,window_size\n",
" ORDER BY number_of_services\n",
" \n",
"{2.0: 0.97042, 3.0: 0.97737, 4.0: 0.98192, 5.0: 0.9848}\n",
"{2.0: 0.97042, 3.0: 0.97737, 4.0: 0.98192, 5.0: 0.9848, 6.0: 0.98577}\n",
"2.0 0.97042\n",
"3.0 0.97737\n",
"4.0 0.98192\n",
"5.0 0.9848\n",
"6.0 0.98577\n",
"SELECT number_of_services, number_of_nodes, avg(metric_distance)\n",
" FROM diff_qual_n7_s7_50_80\n",
" WHERE number_of_nodes = 7 AND window_size = 3\n",
" GROUP BY number_of_nodes, number_of_services,window_size\n",
" ORDER BY number_of_services\n",
" \n",
"{2.0: 0.98533, 3.0: 0.99254, 4.0: 0.99305, 5.0: 0.99356}\n",
"{2.0: 0.98533, 3.0: 0.99254, 4.0: 0.99305, 5.0: 0.99356, 6.0: 0.99665}\n",
"2.0 0.98533\n",
"3.0 0.99254\n",
"4.0 0.99305\n",
"5.0 0.99356\n",
"6.0 0.99665\n",
"SELECT number_of_services, number_of_nodes, avg(metric_distance)\n",
" FROM diff_qual_n7_s7_50_80\n",
" WHERE number_of_nodes = 7 AND window_size = 4\n",
" GROUP BY number_of_nodes, number_of_services,window_size\n",
" ORDER BY number_of_services\n",
" \n",
"{2.0: 0.98888, 3.0: 0.9952, 4.0: 0.99404, 5.0: 0.99441}\n",
"{2.0: 0.98888, 3.0: 0.9952, 4.0: 0.99404, 5.0: 0.99441, 6.0: 0.99691}\n",
"2.0 0.98888\n",
"3.0 0.9952\n",
"4.0 0.99404\n",
"5.0 0.99441\n",
"6.0 0.99691\n",
"SELECT number_of_services, number_of_nodes, avg(metric_distance)\n",
" FROM diff_qual_n7_s7_50_80\n",
" WHERE number_of_nodes = 7 AND window_size = 5\n",
" GROUP BY number_of_nodes, number_of_services,window_size\n",
" ORDER BY number_of_services\n",
" \n",
"{2.0: 1.0, 3.0: 0.99408, 4.0: 0.99827, 5.0: 0.99559}\n",
"{2.0: 1.0, 3.0: 0.99408, 4.0: 0.99827, 5.0: 0.99559, 6.0: 0.99796}\n",
"2.0 1.0\n",
"3.0 0.99408\n",
"4.0 0.99827\n",
"5.0 0.99559\n",
"6.0 0.99796\n",
"SELECT number_of_services, number_of_nodes, avg(metric_distance)\n",
" FROM diff_qual_n7_s7_50_80\n",
" WHERE number_of_nodes = 7 AND window_size = 6\n",
" GROUP BY number_of_nodes, number_of_services,window_size\n",
" ORDER BY number_of_services\n",
" \n",
"{2.0: 0.99791, 3.0: 0.99527, 4.0: 0.99897, 5.0: 0.99966}\n",
"{2.0: 0.99791, 3.0: 0.99527, 4.0: 0.99897, 5.0: 0.99966, 6.0: 0.99992}\n",
"2.0 0.99791\n",
"3.0 0.99527\n",
"4.0 0.99897\n",
"5.0 0.99966\n",
"6.0 0.99992\n",
"SELECT number_of_services, number_of_nodes, avg(metric_distance)\n",
" FROM diff_qual_n7_s7_50_80\n",
" WHERE number_of_nodes = 7 AND window_size = 7\n",
" GROUP BY number_of_nodes, number_of_services,window_size\n",
" ORDER BY number_of_services\n",
" \n",
"{2.0: 1.0, 3.0: 1.0, 4.0: 1.0, 5.0: 1.0}\n",
"{2.0: 1.0, 3.0: 1.0, 4.0: 1.0, 5.0: 1.0, 6.0: 1.0}\n",
"2.0 1.0\n",
"3.0 1.0\n",
"4.0 1.0\n",
"5.0 1.0\n"
"5.0 1.0\n",
"6.0 1.0\n"
]
}
],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,4 @@
4.0 0.9871
5.0 0.98843
6.0 0.99797
7.0 0.98948
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,4 @@
4.0 0.99918
5.0 0.99718
6.0 0.99888
7.0 0.9963
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,4 @@
4.0 1.0
5.0 1.0
6.0 1.0
7.0 1.0
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,4 @@
4.0 0.98364
5.0 0.99236
6.0 0.99051
7.0 0.99104
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,4 @@
4.0 0.99755
5.0 0.9975
6.0 0.99729
7.0 0.99817
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,4 @@
4.0 1.0
5.0 0.99894
6.0 1.0
7.0 0.99954
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,4 @@
4.0 1.0
5.0 1.0
6.0 1.0
7.0 1.0
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,4 @@
4.0 0.95939
5.0 0.97962
6.0 0.98181
7.0 0.98676
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,4 @@
4.0 0.9851
5.0 0.99424
6.0 0.99038
7.0 0.99467
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,4 @@
4.0 0.99903
5.0 0.99646
6.0 0.997
7.0 0.99803
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,4 @@
4.0 0.99836
5.0 0.99776
6.0 0.99887
7.0 0.99975
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,4 @@
4.0 1.0
5.0 1.0
6.0 1.0
7.0 1.0
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,4 @@
4.0 0.97464
5.0 0.9805
6.0 0.96565
7.0 0.98429
Loading

0 comments on commit c5932f7

Please sign in to comment.