iui-group-l-name-zensiert/1-first-project/ies/NeuralNetwork.ipynb

1022 lines
190 KiB
Plaintext
Raw Normal View History

{
"cells": [
{
"cell_type": "code",
"execution_count": 1,
"id": "9f0ddabb",
"metadata": {},
"outputs": [],
"source": [
"import pandas as pd\n",
"import numpy as np\n",
"import os\n",
"import pickle\n"
]
},
{
"cell_type": "code",
"execution_count": 2,
"id": "1e8e6ffb",
"metadata": {},
"outputs": [],
"source": [
"delim = ';'\n",
"\n",
"base_path = '/opt/iui-datarelease1-sose2021/'\n",
"\n",
"Xpickle_file = './X.pickle'\n",
"\n",
"ypickle_file = './y.pickle'"
]
},
{
"cell_type": "code",
"execution_count": 3,
"id": "39cf526d",
"metadata": {},
"outputs": [],
"source": [
"def shorten(npList):\n",
" temp = npList['Force']\n",
" thresh = 100\n",
" leeway = 5\n",
" \n",
" temps_over_T = np.where(temp > thresh)[0]\n",
" return npList[max(temps_over_T[0]-leeway,0):temps_over_T[-1]+leeway]"
]
},
{
"cell_type": "code",
"execution_count": 4,
"id": "2b169e1f",
"metadata": {},
"outputs": [],
"source": [
"def load_pickles():\n",
" _p = open(Xpickle_file, 'rb')\n",
" X = pickle.load(_p)\n",
" _p.close()\n",
" \n",
" _p = open(ypickle_file, 'rb')\n",
" y = pickle.load(_p)\n",
" _p.close()\n",
" \n",
" return (np.asarray(X, dtype=pd.DataFrame), np.asarray(y, dtype=str))"
]
},
{
"cell_type": "code",
"execution_count": 5,
"id": "9a507393",
"metadata": {},
"outputs": [],
"source": [
"def load_data():\n",
" if os.path.isfile(Xpickle_file) and os.path.isfile(ypickle_file):\n",
" return load_pickles()\n",
" data = []\n",
" label = []\n",
" for user in range(0, user_count):\n",
" user_path = base_path + str(user) + '/split_letters_csv/'\n",
" for file in os.listdir(user_path):\n",
" file_name = user_path + file\n",
" letter = ''.join(filter(lambda x: x.isalpha(), file))[0]\n",
" data.append(pd.read_csv(file_name, delim))\n",
" label.append(letter)\n",
" return (np.asarray(data, dtype=pd.DataFrame), np.asarray(label, dtype=str), np.asarray(file_name))"
]
},
{
"cell_type": "code",
"execution_count": 6,
"id": "8d8da08e",
"metadata": {},
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"CPU times: user 2.8 s, sys: 161 ms, total: 2.96 s\n",
"Wall time: 2.96 s\n"
]
},
{
"data": {
"text/plain": [
"dtype('O')"
]
},
"execution_count": 6,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"%%time\n",
"X, y = load_data()\n",
"\n",
"X.dtype"
]
},
{
"cell_type": "code",
"execution_count": 7,
"id": "700db412",
"metadata": {},
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"CPU times: user 3.12 s, sys: 20.1 ms, total: 3.14 s\n",
"Wall time: 3.14 s\n"
]
},
{
"name": "stderr",
"output_type": "stream",
"text": [
"<timed exec>:1: VisibleDeprecationWarning: Creating an ndarray from ragged nested sequences (which is a list-or-tuple of lists-or-tuples-or ndarrays with different lengths or shapes) is deprecated. If you meant to do this, you must specify 'dtype=object' when creating the ndarray\n"
]
}
],
"source": [
"%%time\n",
"XX = np.array(list(map(shorten, X)))\n"
]
},
{
"cell_type": "markdown",
"id": "16cdb8f5",
"metadata": {},
"source": [
"**How to fix this error**:\n",
"```python\n",
"<timed exec>:1: VisibleDeprecationWarning: Creating an ndarray from ragged nested sequences (which is a list-or-tuple of lists-or-tuples-or ndarrays with different lengths or shapes) is deprecated. If you meant to do this, you must specify 'dtype=object' when creating the ndarray\n",
"```\n",
"\n"
]
},
{
"cell_type": "code",
"execution_count": 8,
"id": "1f411bea",
"metadata": {},
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"[ Millis Acc1 X Acc1 Y Acc1 Z Acc2 X Acc2 Y Acc2 Z Gyro X \\\n",
"108 1.559648e+12 -8450.0 13086.0 -4548.0 -1992.0 -3305.0 981.0 384.0 \n",
"109 1.559648e+12 -8006.0 12109.0 -4724.0 -2190.0 -3093.0 874.0 475.0 \n",
"110 1.559648e+12 -7676.0 11804.0 -3880.0 -2407.0 -2849.0 879.0 561.0 \n",
"111 1.559648e+12 -7604.0 11928.0 -4587.0 -2513.0 -2978.0 1004.0 580.0 \n",
"112 1.559648e+12 -7434.0 12796.0 -3926.0 -2728.0 -2989.0 1030.0 614.0 \n",
".. ... ... ... ... ... ... ... ... \n",
"175 1.559648e+12 -6502.0 17157.0 -5903.0 -1094.0 -3943.0 -69.0 306.0 \n",
"176 1.559648e+12 -10394.0 20632.0 -5614.0 -29.0 -4922.0 584.0 590.0 \n",
"177 1.559648e+12 -9342.0 21390.0 -5431.0 871.0 -5150.0 1533.0 612.0 \n",
"178 1.559648e+12 -7897.0 20951.0 -5580.0 557.0 -4971.0 1307.0 562.0 \n",
"179 1.559648e+12 -6954.0 19025.0 -4719.0 -98.0 -4448.0 807.0 588.0 \n",
"\n",
" Gyro Y Gyro Z Mag X Mag Y Mag Z Force Time \n",
"108 -144.0 87.0 -40.0 134.0 217.0 0.0 3371.0 \n",
"109 -195.0 105.0 -40.0 132.0 216.0 0.0 3372.0 \n",
"110 -96.0 228.0 -41.0 132.0 214.0 0.0 3373.0 \n",
"111 -162.0 418.0 -38.0 136.0 213.0 0.0 3374.0 \n",
"112 -230.0 685.0 -34.0 127.0 214.0 2.0 3375.0 \n",
".. ... ... ... ... ... ... ... \n",
"175 -554.0 -1416.0 -29.0 143.0 212.0 279.0 3438.0 \n",
"176 -622.0 -1803.0 -32.0 140.0 214.0 0.0 3439.0 \n",
"177 -1114.0 -2738.0 -33.0 140.0 213.0 0.0 3440.0 \n",
"178 -1541.0 -3670.0 -35.0 138.0 214.0 0.0 3441.0 \n",
"179 -1850.0 -4341.0 -39.0 139.0 211.0 0.0 3442.0 \n",
"\n",
"[72 rows x 15 columns]\n",
" Millis Acc1 X Acc1 Y Acc1 Z Acc2 X Acc2 Y Acc2 Z Gyro X \\\n",
"96 1.559649e+12 -5389.0 13395.0 -5709.0 -1680.0 -3298.0 1510.0 -231.0 \n",
"97 1.559649e+12 -5805.0 13311.0 -5048.0 -1834.0 -3264.0 1600.0 -301.0 \n",
"98 1.559649e+12 -5836.0 13067.0 -5101.0 -1874.0 -3231.0 1683.0 -431.0 \n",
"99 1.559649e+12 -6053.0 12917.0 -5352.0 -1939.0 -3152.0 1781.0 -577.0 \n",
"100 1.559649e+12 -8495.0 18632.0 -7335.0 -2253.0 -3634.0 1754.0 -577.0 \n",
".. ... ... ... ... ... ... ... ... \n",
"173 1.559649e+12 -4353.0 14977.0 -7064.0 233.0 -3720.0 1054.0 430.0 \n",
"174 1.559649e+12 -6825.0 19690.0 -6418.0 992.0 -4942.0 908.0 633.0 \n",
"175 1.559649e+12 -5829.0 20732.0 -7816.0 788.0 -5034.0 528.0 950.0 \n",
"176 1.559649e+12 -4577.0 18516.0 -6998.0 641.0 -4826.0 1259.0 1307.0 \n",
"177 1.559649e+12 -3997.0 15577.0 -6250.0 203.0 -4036.0 1648.0 1358.0 \n",
"\n",
" Gyro Y Gyro Z Mag X Mag Y Mag Z Force Time \n",
"96 70.0 368.0 -34.0 165.0 280.0 0.0 -24209.0 \n",
"97 140.0 513.0 -36.0 167.0 285.0 0.0 -24208.0 \n",
"98 287.0 650.0 -31.0 172.0 284.0 0.0 -24207.0 \n",
"99 389.0 807.0 -32.0 172.0 285.0 0.0 -24206.0 \n",
"100 421.0 860.0 -29.0 174.0 286.0 96.0 -24205.0 \n",
".. ... ... ... ... ... ... ... \n",
"173 502.0 -685.0 -24.0 174.0 282.0 356.0 -24132.0 \n",
"174 501.0 -1240.0 -23.0 172.0 283.0 0.0 -24131.0 \n",
"175 -36.0 -2019.0 -22.0 173.0 281.0 0.0 -24130.0 \n",
"176 -702.0 -2660.0 -26.0 168.0 283.0 0.0 -24129.0 \n",
"177 -1131.0 -3098.0 -33.0 167.0 284.0 0.0 -24128.0 \n",
"\n",
"[82 rows x 15 columns]\n",
" Millis Acc1 X Acc1 Y Acc1 Z Acc2 X Acc2 Y Acc2 Z Gyro X \\\n",
"78 1.559649e+12 -4234.0 14086.0 -6199.0 -1178.0 -3513.0 1496.0 94.0 \n",
"79 1.559649e+12 -5241.0 13339.0 -6165.0 -1220.0 -3334.0 1571.0 96.0 \n",
"80 1.559649e+12 -6329.0 12705.0 -6123.0 -1712.0 -3166.0 1713.0 67.0 \n",
"81 1.559649e+12 -5990.0 12080.0 -5961.0 -2181.0 -3019.0 1839.0 -11.0 \n",
"82 1.559649e+12 -8149.0 15320.0 -7929.0 -2157.0 -3551.0 1274.0 -19.0 \n",
"83 1.559649e+12 -9563.0 14871.0 -7387.0 -1216.0 -4017.0 585.0 282.0 \n",
"84 1.559649e+12 -7243.0 13994.0 -6533.0 -2115.0 -3536.0 1820.0 389.0 \n",
"85 1.559649e+12 -9009.0 13437.0 -4020.0 -1165.0 -3511.0 1806.0 202.0 \n",
"86 1.559649e+12 -4764.0 15608.0 -6769.0 -1164.0 -3657.0 1097.0 -17.0 \n",
"87 1.559649e+12 -8437.0 14828.0 -4650.0 -627.0 -3653.0 1893.0 -67.0 \n",
"88 1.559649e+12 -4117.0 16647.0 -86.0 -322.0 -4078.0 2363.0 -336.0 \n",
"89 1.559649e+12 -1677.0 15411.0 -12917.0 -1145.0 -4030.0 1242.0 -840.0 \n",
"90 1.559649e+12 -6613.0 13620.0 -8036.0 372.0 -3686.0 1732.0 -1112.0 \n",
"91 1.559649e+12 -4524.0 14625.0 -10169.0 -1525.0 -3505.0 1908.0 -1594.0 \n",
"92 1.559649e+12 -12547.0 7829.0 -26995.0 114.0 -2795.0 -15.0 -1895.0 \n",
"93 1.559649e+12 -2059.0 12855.0 -10219.0 -879.0 -3253.0 462.0 -1339.0 \n",
"94 1.559649e+12 -11501.0 9966.0 -12259.0 -796.0 -3214.0 2506.0 -1056.0 \n",
"95 1.559649e+12 -2784.0 13328.0 -9743.0 -3223.0 -3277.0 1210.0 -1007.0 \n",
"96 1.559649e+12 -5287.0 12082.0 -9844.0 -2941.0 -3173.0 -162.0 -568.0 \n",
"97 1.559649e+12 -2626.0 13573.0 -1014.0 -2232.0 -2969.0 -381.0 119.0 \n",
"98 1.559649e+12 -13271.0 12439.0 -3350.0 -2057.0 -3235.0 1489.0 873.0 \n",
"99 1.559649e+12 -8522.0 15439.0 -3818.0 -2097.0 -2572.0 918.0 971.0 \n",
"100 1.559649e+12 -9228.0 12492.0 -6148.0 -1474.0 -2803.0 1199.0 758.0 \n",
"101 1.559649e+12 -7956.0 13559.0 -6100.0 -1048.0 -3444.0 1749.0 661.0 \n",
"102 1.559649e+12 -6170.0 14772.0 -2600.0 -1113.0 -3264.0 629.0 892.0 \n",
"103 1.559649e+12 -10866.0 14377.0 -7069.0 -235.0 -3075.0 450.0 1119.0 \n",
"104 1.559649e+12 -5418.0 11945.0 -4631.0 -176.0 -3487.0 1462.0 1303.0 \n",
"105 1.559649e+12 -4795.0 20091.0 -1385.0 -530.0 -3298.0 1775.0 1154.0 \n",
"106 1.559649e+12 -5469.0 16492.0 -2704.0 -829.0 -3483.0 2238.0 748.0 \n",
"107 1.559649e+12 -5235.0 16217.0 -2117.0 -574.0 -4133.0 2111.0 341.0 \n",
"108 1.559649e+12 -5353.0 15575.0 -7943.0 -740.0 -4818.0 2831.0 -336.0 \n",
"109 1.559649e+12 -4429.0 14464.0 -8381.0 -285.0 -3997.0 3178.0 -986.0 \n",
"110 1.559649e+12 -5635.0 16428.0 -7906.0 -183.0 -3966.0 2028.0 -1247.0 \n",
"111 1.559649e+12 -5270.0 18141.0 -8642.0 -410.0 -4364.0 734.0 -999.0 \n",
"112 1.559649e+12 -5463.0 17769.0 -7574.0 -319.0 -4323.0 270.0 -404.0 \n",
"113 1.559649e+12 -4385.0 16043.0 -7985.0 -579.0 -4049.0 1057.0 -19.0 \n",
"\n",
" Gyro Y Gyro Z Mag X Mag Y Mag Z Force Time \n",
"78 28.0 227.0 -47.0 162.0 291.0 0.0 -23807.0 \n",
"79 86.0 249.0 -43.0 162.0 292.0 0.0 -23806.0 \n",
"80 192.0 273.0 -43.0 163.0 293.0 0.0 -23805.0 \n",
"81 283.0 403.0 -45.0 159.0 291.0 4.0 -23804.0 \n",
"82 405.0 599.0 -46.0 162.0 294.0 88.0 -23803.0 \n",
"83 386.0 386.0 -40.0 157.0 293.0 403.0 -23802.0 \n",
"84 102.0 253.0 -40.0 157.0 290.0 534.0 -23801.0 \n",
"85 401.0 326.0 -37.0 158.0 295.0 734.0 -23800.0 \n",
"86 405.0 63.0 -40.0 163.0 292.0 931.0 -23799.0 \n",
"87 219.0 -30.0 -40.0 162.0 293.0 1133.0 -23798.0 \n",
"88 450.0 -320.0 -41.0 158.0 292.0 1235.0 -23797.0 \n",
"89 302.0 -616.0 -39.0 161.0 291.0 1317.0 -23796.0 \n",
"90 412.0 -739.0 -37.0 162.0 291.0 1391.0 -23795.0 \n",
"91 59.0 -726.0 -35.0 164.0 290.0 1434.0 -23794.0 \n",
"92 -258.0 -256.0 -40.0 158.0 288.0 1499.0 -23793.0 \n",
"93 -81.0 -403.0 -40.0 167.0 287.0 1438.0 -23792.0 \n",
"94 -533.0 -350.0 -42.0 167.0 287.0 1423.0 -23791.0 \n",
"95 -786.0 -7.0 -42.0 166.0 287.0 1396.0 -23790.0 \n",
"96 -1011.0 731.0 -43.0 170.0 285.0 1407.0 -23789.0 \n",
"97 -1137.0 1242.0 -44.0 173.0 283.0 1445.0 -23788.0 \n",
"98 -721.0 1341.0 -43.0 171.0 283.0 1412.0 -23787.0 \n",
"99 -323.0 1151.0 -44.0 167.0 285.0 1443.0 -23786.0 \n",
"100 -53.0 829.0 -39.0 171.0 286.0 1461.0 -23785.0 \n",
"101 509.0 591.0 -43.0 170.0 284.0 1475.0 -23784.0 \n",
"102 948.0 463.0 -41.0 170.0 287.0 1504.0 -23783.0 \n",
"103 1278.0 211.0 -40.0 170.0 290.0 1535.0 -23782.0 \n",
"104 1341.0 -368.0 -37.0 167.0 290.0 1469.0 -23781.0 \n",
"105 994.0 -645.0 -37.0 166.0 291.0 1255.0 -23780.0 \n",
"106 477.0 -825.0 -38.0 163.0 291.0 1044.0 -23779.0 \n",
"107 282.0 -999.0 -40.0 165.0 293.0 794.0 -23778.0 \n",
"108 -219.0 -1111.0 -38.0 161.0 295.0 554.0 -23777.0 \n",
"109 -725.0 -1306.0 -38.0 162.0 290.0 236.0 -23776.0 \n",
"110 -846.0 -1565.0 -39.0 166.0 291.0 49.0 -23775.0 \n",
"111 -817.0 -1770.0 -39.0 164.0 292.0 0.0 -23774.0 \n",
"112 -1122.0 -2047.0 -47.0 167.0 289.0 0.0 -23773.0 \n",
"113 -1537.0 -2300.0 -42.0 163.0 286.0 0.0 -23772.0\n",
" ...\n",
" Millis Acc1 X Acc1 Y Acc1 Z Acc2 X Acc2 Y Acc2 Z Gyro X \\\n",
"62 1.578922e+12 -3556.0 10369.0 -9027.0 124.0 -2479.0 3018.0 -732.0 \n",
"63 1.578922e+12 -2139.0 10330.0 -9056.0 167.0 -2505.0 2840.0 -964.0 \n",
"64 1.578922e+12 158.0 10001.0 -7716.0 -426.0 -2333.0 2881.0 -1217.0 \n",
"65 1.578922e+12 2151.0 9763.0 -8134.0 -1003.0 -2275.0 2797.0 -1516.0 \n",
"66 1.578922e+12 3380.0 9609.0 -7065.0 -1230.0 -2205.0 2915.0 -1823.0 \n",
".. ... ... ... ... ... ... ... ... \n",
"168 1.578922e+12 1955.0 13799.0 -9059.0 472.0 -3471.0 667.0 397.0 \n",
"169 1.578922e+12 1620.0 17206.0 -11487.0 554.0 -4276.0 455.0 945.0 \n",
"170 1.578922e+12 1264.0 17143.0 -9569.0 1283.0 -4174.0 1073.0 1554.0 \n",
"171 1.578922e+12 1504.0 14184.0 -7735.0 1579.0 -3424.0 2238.0 1805.0 \n",
"172 1.578922e+12 731.0 12692.0 -6991.0 849.0 -3016.0 3073.0 1608.0 \n",
"\n",
" Gyro Y Gyro Z Mag X Mag Y Mag Z Force Time \n",
"62 1252.0 594.0 96.0 86.0 -279.0 16.0 -22621.0 \n",
"63 1929.0 227.0 100.0 90.0 -283.0 17.0 -22620.0 \n",
"64 2443.0 82.0 95.0 92.0 -291.0 19.0 -22619.0 \n",
"65 2911.0 319.0 98.0 89.0 -296.0 16.0 -22618.0 \n",
"66 3612.0 802.0 99.0 90.0 -308.0 35.0 -22617.0 \n",
".. ... ... ... ... ... ... ... \n",
"168 74.0 547.0 107.0 51.0 -316.0 209.0 -22515.0 \n",
"169 -10.0 514.0 108.0 52.0 -314.0 14.0 -22514.0 \n",
"170 -345.0 345.0 109.0 53.0 -314.0 12.0 -22513.0 \n",
"171 -797.0 -2.0 114.0 54.0 -314.0 15.0 -22512.0 \n",
"172 -1103.0 -371.0 111.0 56.0 -311.0 14.0 -22511.0 \n",
"\n",
"[111 rows x 15 columns]\n",
" Millis Acc1 X Acc1 Y Acc1 Z Acc2 X Acc2 Y Acc2 Z Gyro X \\\n",
"68 1.578921e+12 -2459.0 10029.0 -8802.0 193.0 -2360.0 3947.0 -717.0 \n",
"69 1.578921e+12 -986.0 11497.0 -9360.0 -569.0 -2724.0 3438.0 -1222.0 \n",
"70 1.578921e+12 -294.0 11844.0 -9224.0 -1105.0 -2789.0 2963.0 -1539.0 \n",
"71 1.578921e+12 412.0 11670.0 -9180.0 -985.0 -2839.0 2732.0 -1724.0 \n",
"72 1.578921e+12 404.0 18906.0 -24605.0 -1346.0 -7292.0 -3929.0 -1462.0 \n",
"73 1.578921e+12 1273.0 14727.0 -8358.0 2520.0 -3471.0 612.0 1096.0 \n",
"74 1.578921e+12 -1606.0 16095.0 -8806.0 2291.0 -3768.0 5738.0 777.0 \n",
"75 1.578921e+12 2200.0 15529.0 -8851.0 -1246.0 -3795.0 3399.0 -123.0 \n",
"76 1.578921e+12 -4639.0 18057.0 -7071.0 1641.0 -4152.0 4231.0 -664.0 \n",
"77 1.578921e+12 -3678.0 16124.0 -9967.0 1371.0 -4033.0 4060.0 -1501.0 \n",
"78 1.578921e+12 12089.0 13788.0 -8969.0 2263.0 -3176.0 2566.0 -2255.0 \n",
"79 1.578921e+12 9421.0 15524.0 -16051.0 -1903.0 -2211.0 1121.0 -2283.0 \n",
"80 1.578921e+12 12094.0 5387.0 -17642.0 -2558.0 -2124.0 2806.0 -2398.0 \n",
"81 1.578921e+12 849.0 10754.0 -11402.0 393.0 -2575.0 891.0 -2136.0 \n",
"82 1.578921e+12 2689.0 12375.0 -7439.0 501.0 -2633.0 509.0 -1392.0 \n",
"83 1.578921e+12 3755.0 9071.0 -12782.0 -1859.0 -2533.0 1656.0 -782.0 \n",
"84 1.578921e+12 3416.0 10134.0 -11975.0 -692.0 -2545.0 1176.0 -152.0 \n",
"85 1.578921e+12 1339.0 13550.0 -10101.0 323.0 -3247.0 3901.0 52.0 \n",
"86 1.578921e+12 4496.0 14248.0 -9085.0 1489.0 -3259.0 2500.0 -341.0 \n",
"87 1.578921e+12 2495.0 13108.0 -9057.0 618.0 -3307.0 1859.0 -293.0 \n",
"88 1.578921e+12 5816.0 13270.0 -8591.0 -616.0 -3218.0 1768.0 -130.0 \n",
"89 1.578921e+12 17165.0 14294.0 -8402.0 -1413.0 -2681.0 3190.0 -302.0 \n",
"90 1.578921e+12 -9215.0 17010.0 -11918.0 21.0 -3770.0 3779.0 -773.0 \n",
"91 1.578921e+12 -1794.0 12397.0 -7219.0 1365.0 -3222.0 769.0 -960.0 \n",
"92 1.578921e+12 314.0 14171.0 -10170.0 -1130.0 -3166.0 2199.0 -616.0 \n",
"93 1.578921e+12 -2098.0 12379.0 -10604.0 3009.0 -3077.0 1377.0 -603.0 \n",
"94 1.578921e+12 2439.0 13613.0 -8419.0 524.0 -3338.0 1469.0 -228.0 \n",
"95 1.578921e+12 2360.0 13564.0 -8551.0 1238.0 -3318.0 1855.0 -143.0 \n",
"96 1.578921e+12 2786.0 13594.0 -8455.0 1613.0 -3360.0 1718.0 -18.0 \n",
"97 1.578921e+12 3066.0 13638.0 -8537.0 1599.0 -3346.0 1931.0 41.0 \n",
"98 1.578921e+12 3171.0 13810.0 -8545.0 1729.0 -3394.0 2102.0 96.0 \n",
"99 1.578921e+12 3073.0 14261.0 -8310.0 1647.0 -3484.0 2409.0 36.0 \n",
"100 1.578921e+12 2595.0 15529.0 -7686.0 1018.0 -3752.0 3021.0 -146.0 \n",
"101 1.578921e+12 1440.0 16126.0 -6383.0 922.0 -3703.0 3792.0 -616.0 \n",
"102 1.578921e+12 597.0 14001.0 -9246.0 563.0 -3431.0 1866.0 -1012.0 \n",
"103 1.578921e+12 1990.0 17606.0 -12885.0 -397.0 -4420.0 -1524.0 -446.0 \n",
"104 1.578921e+12 2875.0 16901.0 -12582.0 70.0 -4245.0 -2015.0 1237.0 \n",
"105 1.578921e+12 1991.0 13404.0 -7506.0 982.0 -3171.0 1919.0 2412.0 \n",
"106 1.578921e+12 1852.0 11687.0 -6112.0 878.0 -2715.0 4323.0 2051.0 \n",
"107 1.578921e+12 2086.0 12069.0 -7541.0 142.0 -2885.0 3308.0 1222.0 \n",
"\n",
" Gyro Y Gyro Z Mag X Mag Y Mag Z Force Time \n",
"68 17.0 754.0 19.0 19.0 -420.0 13.0 2822.0 \n",
"69 355.0 612.0 23.0 16.0 -422.0 26.0 2823.0 \n",
"70 830.0 785.0 18.0 16.0 -427.0 24.0 2824.0 \n",
"71 1086.0 1123.0 24.0 18.0 -430.0 39.0 2825.0 \n",
"72 1312.0 1369.0 24.0 18.0 -437.0 39.0 2826.0 \n",
"73 -45.0 1347.0 19.0 12.0 -440.0 847.0 2827.0 \n",
"74 -166.0 513.0 19.0 16.0 -440.0 707.0 2828.0 \n",
"75 -273.0 186.0 20.0 17.0 -440.0 927.0 2829.0 \n",
"76 388.0 217.0 20.0 19.0 -440.0 1026.0 2830.0 \n",
"77 75.0 -682.0 24.0 13.0 -439.0 1148.0 2831.0 \n",
"78 207.0 -1712.0 28.0 7.0 -440.0 1299.0 2832.0 \n",
"79 -77.0 -1758.0 29.0 3.0 -441.0 1391.0 2833.0 \n",
"80 899.0 -1330.0 31.0 -3.0 -440.0 1462.0 2834.0 \n",
"81 1407.0 -772.0 32.0 -8.0 -440.0 1512.0 2835.0 \n",
"82 949.0 -535.0 35.0 -14.0 -442.0 1549.0 2836.0 \n",
"83 384.0 -303.0 32.0 -16.0 -445.0 1568.0 2837.0 \n",
"84 703.0 383.0 34.0 -20.0 -443.0 1610.0 2838.0 \n",
"85 468.0 654.0 33.0 -20.0 -445.0 1607.0 2839.0 \n",
"86 399.0 599.0 32.0 -23.0 -447.0 1807.0 2840.0 \n",
"87 233.0 406.0 33.0 -22.0 -444.0 2033.0 2841.0 \n",
"88 510.0 503.0 32.0 -24.0 -446.0 2194.0 2842.0 \n",
"89 444.0 1602.0 32.0 -23.0 -447.0 2310.0 2843.0 \n",
"90 309.0 2642.0 27.0 -31.0 -449.0 2420.0 2844.0 \n",
"91 879.0 1890.0 23.0 -33.0 -453.0 2606.0 2845.0 \n",
"92 375.0 1793.0 16.0 -37.0 -453.0 2588.0 2846.0 \n",
"93 600.0 1407.0 17.0 -40.0 -452.0 2585.0 2847.0 \n",
"94 -8.0 761.0 15.0 -44.0 -457.0 2581.0 2848.0 \n",
"95 -5.0 632.0 14.0 -46.0 -457.0 2587.0 2849.0 \n",
"96 -12.0 389.0 16.0 -49.0 -453.0 2581.0 2850.0 \n",
"97 -66.0 70.0 15.0 -45.0 -454.0 2562.0 2851.0 \n",
"98 -120.0 -233.0 18.0 -48.0 -457.0 2503.0 2852.0 \n",
"99 -267.0 -566.0 16.0 -46.0 -452.0 2290.0 2853.0 \n",
"100 -261.0 -806.0 14.0 -49.0 -454.0 1634.0 2854.0 \n",
"101 -317.0 -1007.0 19.0 -47.0 -454.0 1058.0 2855.0 \n",
"102 -286.0 -1069.0 18.0 -50.0 -454.0 607.0 2856.0 \n",
"103 -647.0 -1070.0 15.0 -51.0 -453.0 141.0 2857.0 \n",
"104 -1463.0 -801.0 16.0 -52.0 -450.0 17.0 2858.0 \n",
"105 -2241.0 -730.0 16.0 -47.0 -447.0 16.0 2859.0 \n",
"106 -2268.0 -943.0 22.0 -45.0 -441.0 16.0 2860.0 \n",
"107 -1810.0 -1067.0 21.0 -45.0 -436.0 18.0 2861.0\n",
" Millis Acc1 X Acc1 Y Acc1 Z Acc2 X Acc2 Y Acc2 Z Gyro X \\\n",
"47 1.578921e+12 2156.0 11546.0 -9231.0 -225.0 -2792.0 2972.0 -686.0 \n",
"48 1.578921e+12 1035.0 11303.0 -9158.0 -142.0 -2704.0 2996.0 -901.0 \n",
"49 1.578921e+12 -372.0 10214.0 -9463.0 166.0 -2467.0 2908.0 -1113.0 \n",
"50 1.578921e+12 -1403.0 8318.0 -9028.0 742.0 -1999.0 2871.0 -1297.0 \n",
"51 1.578921e+12 -12701.0 19449.0 -2454.0 353.0 -6589.0 -4941.0 -252.0 \n",
"52 1.578921e+12 1298.0 14492.0 -9084.0 1665.0 -2989.0 2209.0 1204.0 \n",
"53 1.578921e+12 -1662.0 15692.0 -9374.0 1105.0 -3394.0 5106.0 837.0 \n",
"54 1.578921e+12 239.0 11960.0 -11137.0 -757.0 -3127.0 2985.0 201.0 \n",
"55 1.578921e+12 -323.0 12752.0 -9910.0 -34.0 -3103.0 2121.0 131.0 \n",
"56 1.578921e+12 -821.0 11602.0 -11810.0 -353.0 -3417.0 2421.0 130.0 \n",
"57 1.578921e+12 -4458.0 7924.0 -12630.0 262.0 -3122.0 1466.0 300.0 \n",
"58 1.578921e+12 -1662.0 17985.0 -8097.0 1140.0 -2951.0 1967.0 592.0 \n",
"59 1.578921e+12 3903.0 18282.0 -7922.0 -1451.0 -3502.0 3005.0 406.0 \n",
"60 1.578921e+12 -5712.0 13299.0 -9373.0 -2782.0 -3276.0 3776.0 -16.0 \n",
"61 1.578921e+12 -659.0 11048.0 -11231.0 2755.0 -3368.0 1713.0 64.0 \n",
"62 1.578921e+12 -2797.0 14340.0 -8083.0 1868.0 -3365.0 2688.0 50.0 \n",
"63 1.578921e+12 5056.0 15836.0 -8875.0 734.0 -3282.0 3965.0 -485.0 \n",
"64 1.578921e+12 -1068.0 17002.0 -3231.0 -1031.0 -3385.0 3047.0 -845.0 \n",
"65 1.578921e+12 -3708.0 14562.0 -6881.0 -1366.0 -3298.0 2437.0 -1108.0 \n",
"66 1.578921e+12 6534.0 12693.0 -13400.0 382.0 -3493.0 3895.0 -1595.0 \n",
"67 1.578921e+12 1622.0 9202.0 -13743.0 -4.0 -3483.0 3294.0 -1803.0 \n",
"68 1.578921e+12 1623.0 12551.0 -10288.0 -525.0 -3265.0 3141.0 -1981.0 \n",
"69 1.578921e+12 7202.0 14860.0 -10191.0 286.0 -3710.0 3898.0 -2475.0 \n",
"70 1.578921e+12 -8630.0 1331.0 -22144.0 -215.0 -1856.0 -1415.0 -1736.0 \n",
"71 1.578921e+12 -9387.0 10187.0 -9311.0 -2549.0 -1866.0 306.0 -779.0 \n",
"72 1.578921e+12 -5723.0 12301.0 -8579.0 -650.0 -2473.0 3278.0 -807.0 \n",
"73 1.578921e+12 -6078.0 13007.0 -8988.0 -937.0 -2808.0 1805.0 -608.0 \n",
"74 1.578921e+12 -7183.0 11660.0 -9794.0 1571.0 -3152.0 2773.0 -597.0 \n",
"75 1.578921e+12 -9645.0 10989.0 -11352.0 1254.0 -2527.0 1585.0 -425.0 \n",
"76 1.578921e+12 -2943.0 5962.0 -14323.0 1288.0 -1836.0 396.0 372.0 \n",
"77 1.578921e+12 790.0 3977.0 -8445.0 746.0 -2101.0 984.0 970.0 \n",
"78 1.578921e+12 7857.0 23657.0 -5774.0 469.0 -2770.0 2631.0 967.0 \n",
"79 1.578921e+12 9327.0 17081.0 -8607.0 -1200.0 -3658.0 2407.0 755.0 \n",
"80 1.578921e+12 2159.0 16886.0 -5210.0 111.0 -3943.0 2825.0 436.0 \n",
"81 1.578921e+12 2988.0 16446.0 -6559.0 -957.0 -4076.0 2124.0 188.0 \n",
"82 1.578921e+12 5641.0 14913.0 -9760.0 -780.0 -3796.0 2238.0 76.0 \n",
"83 1.578921e+12 -698.0 11794.0 -11670.0 -3803.0 -4056.0 2378.0 32.0 \n",
"84 1.578921e+12 -4934.0 16273.0 -10479.0 -4575.0 -4621.0 2111.0 216.0 \n",
"85 1.578921e+12 -4505.0 18583.0 -12726.0 -154.0 -4598.0 776.0 843.0 \n",
"86 1.578921e+12 -4417.0 15265.0 -11255.0 3278.0 -4078.0 1005.0 1492.0 \n",
"87 1.578921e+12 2000.0 12847.0 -8800.0 283.0 -3445.0 2356.0 1680.0 \n",
"88 1.578921e+12 1215.0 12439.0 -9199.0 -1526.0 -2938.0 2622.0 1571.0 \n",
"\n",
" Gyro Y Gyro Z Mag X Mag Y Mag Z Force Time \n",
"47 -665.0 748.0 206.0 -203.0 -241.0 17.0 13577.0 \n",
"48 -625.0 966.0 205.0 -209.0 -241.0 17.0 13578.0 \n",
"49 -517.0 1013.0 208.0 -217.0 -239.0 18.0 13579.0 \n",
"50 -353.0 821.0 206.0 -221.0 -238.0 5.0 13580.0 \n",
"51 -493.0 434.0 205.0 -231.0 -237.0 21.0 13581.0 \n",
"52 -1129.0 -159.0 210.0 -235.0 -239.0 656.0 13582.0 \n",
"53 -1294.0 -578.0 213.0 -237.0 -238.0 729.0 13583.0 \n",
"54 -1091.0 -518.0 212.0 -238.0 -239.0 1036.0 13584.0 \n",
"55 -912.0 -419.0 215.0 -234.0 -236.0 1253.0 13585.0 \n",
"56 -933.0 -373.0 217.0 -230.0 -236.0 1465.0 13586.0 \n",
"57 -279.0 -621.0 218.0 -228.0 -233.0 1662.0 13587.0 \n",
"58 -410.0 -1228.0 222.0 -228.0 -234.0 1707.0 13588.0 \n",
"59 -452.0 -875.0 221.0 -220.0 -234.0 1730.0 13589.0 \n",
"60 986.0 209.0 228.0 -211.0 -234.0 1897.0 13590.0 \n",
"61 86.0 -555.0 224.0 -212.0 -232.0 1890.0 13591.0 \n",
"62 -264.0 -1232.0 222.0 -212.0 -233.0 1885.0 13592.0 \n",
"63 -1133.0 -1497.0 226.0 -197.0 -223.0 1856.0 13593.0 \n",
"64 -819.0 -1079.0 225.0 -193.0 -219.0 1833.0 13594.0 \n",
"65 -791.0 -545.0 227.0 -187.0 -208.0 1789.0 13595.0 \n",
"66 -1323.0 -649.0 221.0 -185.0 -200.0 1746.0 13596.0 \n",
"67 -1423.0 -355.0 217.0 -186.0 -193.0 1752.0 13597.0 \n",
"68 -1146.0 58.0 215.0 -191.0 -185.0 1766.0 13598.0 \n",
"69 740.0 88.0 213.0 -195.0 -184.0 1799.0 13599.0 \n",
"70 339.0 131.0 211.0 -200.0 -179.0 1780.0 13600.0 \n",
"71 -267.0 371.0 207.0 -197.0 -176.0 1759.0 13601.0 \n",
"72 786.0 277.0 206.0 -200.0 -176.0 1743.0 13602.0 \n",
"73 326.0 26.0 208.0 -200.0 -174.0 1732.0 13603.0 \n",
"74 -105.0 -857.0 204.0 -190.0 -173.0 1735.0 13604.0 \n",
"75 -390.0 -1991.0 207.0 -178.0 -171.0 1824.0 13605.0 \n",
"76 -899.0 -2674.0 204.0 -170.0 -165.0 1788.0 13606.0 \n",
"77 -559.0 -2939.0 209.0 -154.0 -167.0 1737.0 13607.0 \n",
"78 166.0 -2975.0 213.0 -141.0 -166.0 1637.0 13608.0 \n",
"79 520.0 -2165.0 217.0 -133.0 -171.0 1547.0 13609.0 \n",
"80 376.0 -1654.0 221.0 -126.0 -171.0 1443.0 13610.0 \n",
"81 110.0 -1270.0 222.0 -122.0 -174.0 1199.0 13611.0 \n",
"82 298.0 -664.0 224.0 -123.0 -173.0 862.0 13612.0 \n",
"83 -275.0 740.0 226.0 -125.0 -178.0 400.0 13613.0 \n",
"84 99.0 2207.0 222.0 -138.0 -178.0 127.0 13614.0 \n",
"85 327.0 2197.0 217.0 -148.0 -180.0 15.0 13615.0 \n",
"86 -874.0 988.0 213.0 -153.0 -181.0 14.0 13616.0 \n",
"87 -1223.0 445.0 202.0 -157.0 -181.0 17.0 13617.0 \n",
"88 -514.0 952.0 200.0 -158.0 -182.0 17.0 13618.0 ]\n",
"[10.0]\n",
"[10.0, 22.0]\n",
"[10.0, 22.0, 26.0]\n",
"[10.0, 22.0, 26.0, 28.0]\n",
"[10.0, 22.0, 26.0, 28.0, 29.0]\n",
"[10.0, 22.0, 26.0, 28.0, 29.0, 31.0]\n",
"[10.0, 22.0, 26.0, 28.0, 29.0, 31.0, 32.0]\n",
"[10.0, 22.0, 26.0, 28.0, 29.0, 31.0, 32.0, 33.0]\n",
"[10.0, 22.0, 26.0, 28.0, 29.0, 31.0, 32.0, 33.0, 34.0]\n",
"[10.0, 22.0, 26.0, 28.0, 29.0, 31.0, 32.0, 33.0, 34.0, 35.0]\n",
"[10.0, 22.0, 26.0, 28.0, 29.0, 31.0, 32.0, 33.0, 34.0, 35.0, 36.0]\n",
"[10.0, 22.0, 26.0, 28.0, 29.0, 31.0, 32.0, 33.0, 34.0, 35.0, 36.0, 37.0]\n",
"[10.0, 22.0, 26.0, 28.0, 29.0, 31.0, 32.0, 33.0, 34.0, 35.0, 36.0, 37.0, 37.0]\n",
"[10.0, 22.0, 26.0, 28.0, 29.0, 31.0, 32.0, 33.0, 34.0, 35.0, 36.0, 37.0, 37.0, 38.0]\n",
"[10.0, 22.0, 26.0, 28.0, 29.0, 31.0, 32.0, 33.0, 34.0, 35.0, 36.0, 37.0, 37.0, 38.0, 39.0]\n",
"[10.0, 22.0, 26.0, 28.0, 29.0, 31.0, 32.0, 33.0, 34.0, 35.0, 36.0, 37.0, 37.0, 38.0, 39.0, 39.0]\n",
"[10.0, 22.0, 26.0, 28.0, 29.0, 31.0, 32.0, 33.0, 34.0, 35.0, 36.0, 37.0, 37.0, 38.0, 39.0, 39.0, 40.0]\n",
"[10.0, 22.0, 26.0, 28.0, 29.0, 31.0, 32.0, 33.0, 34.0, 35.0, 36.0, 37.0, 37.0, 38.0, 39.0, 39.0, 40.0, 41.0]\n",
"[10.0, 22.0, 26.0, 28.0, 29.0, 31.0, 32.0, 33.0, 34.0, 35.0, 36.0, 37.0, 37.0, 38.0, 39.0, 39.0, 40.0, 41.0, 41.0]\n",
"[10.0, 22.0, 26.0, 28.0, 29.0, 31.0, 32.0, 33.0, 34.0, 35.0, 36.0, 37.0, 37.0, 38.0, 39.0, 39.0, 40.0, 41.0, 41.0, 42.0]\n",
"[10.0, 22.0, 26.0, 28.0, 29.0, 31.0, 32.0, 33.0, 34.0, 35.0, 36.0, 37.0, 37.0, 38.0, 39.0, 39.0, 40.0, 41.0, 41.0, 42.0, 42.0]\n",
"[10.0, 22.0, 26.0, 28.0, 29.0, 31.0, 32.0, 33.0, 34.0, 35.0, 36.0, 37.0, 37.0, 38.0, 39.0, 39.0, 40.0, 41.0, 41.0, 42.0, 42.0, 43.0]\n",
"[10.0, 22.0, 26.0, 28.0, 29.0, 31.0, 32.0, 33.0, 34.0, 35.0, 36.0, 37.0, 37.0, 38.0, 39.0, 39.0, 40.0, 41.0, 41.0, 42.0, 42.0, 43.0, 44.0]\n",
"[10.0, 22.0, 26.0, 28.0, 29.0, 31.0, 32.0, 33.0, 34.0, 35.0, 36.0, 37.0, 37.0, 38.0, 39.0, 39.0, 40.0, 41.0, 41.0, 42.0, 42.0, 43.0, 44.0, 44.0]\n",
"[10.0, 22.0, 26.0, 28.0, 29.0, 31.0, 32.0, 33.0, 34.0, 35.0, 36.0, 37.0, 37.0, 38.0, 39.0, 39.0, 40.0, 41.0, 41.0, 42.0, 42.0, 43.0, 44.0, 44.0, 45.0]\n",
"[10.0, 22.0, 26.0, 28.0, 29.0, 31.0, 32.0, 33.0, 34.0, 35.0, 36.0, 37.0, 37.0, 38.0, 39.0, 39.0, 40.0, 41.0, 41.0, 42.0, 42.0, 43.0, 44.0, 44.0, 45.0, 45.0]\n",
"[10.0, 22.0, 26.0, 28.0, 29.0, 31.0, 32.0, 33.0, 34.0, 35.0, 36.0, 37.0, 37.0, 38.0, 39.0, 39.0, 40.0, 41.0, 41.0, 42.0, 42.0, 43.0, 44.0, 44.0, 45.0, 45.0, 46.0]\n",
"[10.0, 22.0, 26.0, 28.0, 29.0, 31.0, 32.0, 33.0, 34.0, 35.0, 36.0, 37.0, 37.0, 38.0, 39.0, 39.0, 40.0, 41.0, 41.0, 42.0, 42.0, 43.0, 44.0, 44.0, 45.0, 45.0, 46.0, 46.0]\n",
"[10.0, 22.0, 26.0, 28.0, 29.0, 31.0, 32.0, 33.0, 34.0, 35.0, 36.0, 37.0, 37.0, 38.0, 39.0, 39.0, 40.0, 41.0, 41.0, 42.0, 42.0, 43.0, 44.0, 44.0, 45.0, 45.0, 46.0, 46.0, 47.0]\n",
"[10.0, 22.0, 26.0, 28.0, 29.0, 31.0, 32.0, 33.0, 34.0, 35.0, 36.0, 37.0, 37.0, 38.0, 39.0, 39.0, 40.0, 41.0, 41.0, 42.0, 42.0, 43.0, 44.0, 44.0, 45.0, 45.0, 46.0, 46.0, 47.0, 47.0]\n",
"[10.0, 22.0, 26.0, 28.0, 29.0, 31.0, 32.0, 33.0, 34.0, 35.0, 36.0, 37.0, 37.0, 38.0, 39.0, 39.0, 40.0, 41.0, 41.0, 42.0, 42.0, 43.0, 44.0, 44.0, 45.0, 45.0, 46.0, 46.0, 47.0, 47.0, 48.0]\n",
"[10.0, 22.0, 26.0, 28.0, 29.0, 31.0, 32.0, 33.0, 34.0, 35.0, 36.0, 37.0, 37.0, 38.0, 39.0, 39.0, 40.0, 41.0, 41.0, 42.0, 42.0, 43.0, 44.0, 44.0, 45.0, 45.0, 46.0, 46.0, 47.0, 47.0, 48.0, 48.0]\n",
"[10.0, 22.0, 26.0, 28.0, 29.0, 31.0, 32.0, 33.0, 34.0, 35.0, 36.0, 37.0, 37.0, 38.0, 39.0, 39.0, 40.0, 41.0, 41.0, 42.0, 42.0, 43.0, 44.0, 44.0, 45.0, 45.0, 46.0, 46.0, 47.0, 47.0, 48.0, 48.0, 49.0]\n",
"[10.0, 22.0, 26.0, 28.0, 29.0, 31.0, 32.0, 33.0, 34.0, 35.0, 36.0, 37.0, 37.0, 38.0, 39.0, 39.0, 40.0, 41.0, 41.0, 42.0, 42.0, 43.0, 44.0, 44.0, 45.0, 45.0, 46.0, 46.0, 47.0, 47.0, 48.0, 48.0, 49.0, 49.0]\n",
"[10.0, 22.0, 26.0, 28.0, 29.0, 31.0, 32.0, 33.0, 34.0, 35.0, 36.0, 37.0, 37.0, 38.0, 39.0, 39.0, 40.0, 41.0, 41.0, 42.0, 42.0, 43.0, 44.0, 44.0, 45.0, 45.0, 46.0, 46.0, 47.0, 47.0, 48.0, 48.0, 49.0, 49.0, 50.0]\n",
"[10.0, 22.0, 26.0, 28.0, 29.0, 31.0, 32.0, 33.0, 34.0, 35.0, 36.0, 37.0, 37.0, 38.0, 39.0, 39.0, 40.0, 41.0, 41.0, 42.0, 42.0, 43.0, 44.0, 44.0, 45.0, 45.0, 46.0, 46.0, 47.0, 47.0, 48.0, 48.0, 49.0, 49.0, 50.0, 50.0]\n",
"[10.0, 22.0, 26.0, 28.0, 29.0, 31.0, 32.0, 33.0, 34.0, 35.0, 36.0, 37.0, 37.0, 38.0, 39.0, 39.0, 40.0, 41.0, 41.0, 42.0, 42.0, 43.0, 44.0, 44.0, 45.0, 45.0, 46.0, 46.0, 47.0, 47.0, 48.0, 48.0, 49.0, 49.0, 50.0, 50.0, 51.0]\n",
"[10.0, 22.0, 26.0, 28.0, 29.0, 31.0, 32.0, 33.0, 34.0, 35.0, 36.0, 37.0, 37.0, 38.0, 39.0, 39.0, 40.0, 41.0, 41.0, 42.0, 42.0, 43.0, 44.0, 44.0, 45.0, 45.0, 46.0, 46.0, 47.0, 47.0, 48.0, 48.0, 49.0, 49.0, 50.0, 50.0, 51.0, 51.0]\n",
"[10.0, 22.0, 26.0, 28.0, 29.0, 31.0, 32.0, 33.0, 34.0, 35.0, 36.0, 37.0, 37.0, 38.0, 39.0, 39.0, 40.0, 41.0, 41.0, 42.0, 42.0, 43.0, 44.0, 44.0, 45.0, 45.0, 46.0, 46.0, 47.0, 47.0, 48.0, 48.0, 49.0, 49.0, 50.0, 50.0, 51.0, 51.0, 52.0]\n",
"[10.0, 22.0, 26.0, 28.0, 29.0, 31.0, 32.0, 33.0, 34.0, 35.0, 36.0, 37.0, 37.0, 38.0, 39.0, 39.0, 40.0, 41.0, 41.0, 42.0, 42.0, 43.0, 44.0, 44.0, 45.0, 45.0, 46.0, 46.0, 47.0, 47.0, 48.0, 48.0, 49.0, 49.0, 50.0, 50.0, 51.0, 51.0, 52.0, 52.0]\n",
"[10.0, 22.0, 26.0, 28.0, 29.0, 31.0, 32.0, 33.0, 34.0, 35.0, 36.0, 37.0, 37.0, 38.0, 39.0, 39.0, 40.0, 41.0, 41.0, 42.0, 42.0, 43.0, 44.0, 44.0, 45.0, 45.0, 46.0, 46.0, 47.0, 47.0, 48.0, 48.0, 49.0, 49.0, 50.0, 50.0, 51.0, 51.0, 52.0, 52.0, 52.0]\n",
"[10.0, 22.0, 26.0, 28.0, 29.0, 31.0, 32.0, 33.0, 34.0, 35.0, 36.0, 37.0, 37.0, 38.0, 39.0, 39.0, 40.0, 41.0, 41.0, 42.0, 42.0, 43.0, 44.0, 44.0, 45.0, 45.0, 46.0, 46.0, 47.0, 47.0, 48.0, 48.0, 49.0, 49.0, 50.0, 50.0, 51.0, 51.0, 52.0, 52.0, 52.0, 53.0]\n",
"[10.0, 22.0, 26.0, 28.0, 29.0, 31.0, 32.0, 33.0, 34.0, 35.0, 36.0, 37.0, 37.0, 38.0, 39.0, 39.0, 40.0, 41.0, 41.0, 42.0, 42.0, 43.0, 44.0, 44.0, 45.0, 45.0, 46.0, 46.0, 47.0, 47.0, 48.0, 48.0, 49.0, 49.0, 50.0, 50.0, 51.0, 51.0, 52.0, 52.0, 52.0, 53.0, 53.0]\n",
"[10.0, 22.0, 26.0, 28.0, 29.0, 31.0, 32.0, 33.0, 34.0, 35.0, 36.0, 37.0, 37.0, 38.0, 39.0, 39.0, 40.0, 41.0, 41.0, 42.0, 42.0, 43.0, 44.0, 44.0, 45.0, 45.0, 46.0, 46.0, 47.0, 47.0, 48.0, 48.0, 49.0, 49.0, 50.0, 50.0, 51.0, 51.0, 52.0, 52.0, 52.0, 53.0, 53.0, 54.0]\n",
"[10.0, 22.0, 26.0, 28.0, 29.0, 31.0, 32.0, 33.0, 34.0, 35.0, 36.0, 37.0, 37.0, 38.0, 39.0, 39.0, 40.0, 41.0, 41.0, 42.0, 42.0, 43.0, 44.0, 44.0, 45.0, 45.0, 46.0, 46.0, 47.0, 47.0, 48.0, 48.0, 49.0, 49.0, 50.0, 50.0, 51.0, 51.0, 52.0, 52.0, 52.0, 53.0, 53.0, 54.0, 54.0]\n",
"[10.0, 22.0, 26.0, 28.0, 29.0, 31.0, 32.0, 33.0, 34.0, 35.0, 36.0, 37.0, 37.0, 38.0, 39.0, 39.0, 40.0, 41.0, 41.0, 42.0, 42.0, 43.0, 44.0, 44.0, 45.0, 45.0, 46.0, 46.0, 47.0, 47.0, 48.0, 48.0, 49.0, 49.0, 50.0, 50.0, 51.0, 51.0, 52.0, 52.0, 52.0, 53.0, 53.0, 54.0, 54.0, 55.0]\n",
"[10.0, 22.0, 26.0, 28.0, 29.0, 31.0, 32.0, 33.0, 34.0, 35.0, 36.0, 37.0, 37.0, 38.0, 39.0, 39.0, 40.0, 41.0, 41.0, 42.0, 42.0, 43.0, 44.0, 44.0, 45.0, 45.0, 46.0, 46.0, 47.0, 47.0, 48.0, 48.0, 49.0, 49.0, 50.0, 50.0, 51.0, 51.0, 52.0, 52.0, 52.0, 53.0, 53.0, 54.0, 54.0, 55.0, 55.0]\n",
"[10.0, 22.0, 26.0, 28.0, 29.0, 31.0, 32.0, 33.0, 34.0, 35.0, 36.0, 37.0, 37.0, 38.0, 39.0, 39.0, 40.0, 41.0, 41.0, 42.0, 42.0, 43.0, 44.0, 44.0, 45.0, 45.0, 46.0, 46.0, 47.0, 47.0, 48.0, 48.0, 49.0, 49.0, 50.0, 50.0, 51.0, 51.0, 52.0, 52.0, 52.0, 53.0, 53.0, 54.0, 54.0, 55.0, 55.0, 56.0]\n",
"[10.0, 22.0, 26.0, 28.0, 29.0, 31.0, 32.0, 33.0, 34.0, 35.0, 36.0, 37.0, 37.0, 38.0, 39.0, 39.0, 40.0, 41.0, 41.0, 42.0, 42.0, 43.0, 44.0, 44.0, 45.0, 45.0, 46.0, 46.0, 47.0, 47.0, 48.0, 48.0, 49.0, 49.0, 50.0, 50.0, 51.0, 51.0, 52.0, 52.0, 52.0, 53.0, 53.0, 54.0, 54.0, 55.0, 55.0, 56.0, 56.0]\n",
"[10.0, 22.0, 26.0, 28.0, 29.0, 31.0, 32.0, 33.0, 34.0, 35.0, 36.0, 37.0, 37.0, 38.0, 39.0, 39.0, 40.0, 41.0, 41.0, 42.0, 42.0, 43.0, 44.0, 44.0, 45.0, 45.0, 46.0, 46.0, 47.0, 47.0, 48.0, 48.0, 49.0, 49.0, 50.0, 50.0, 51.0, 51.0, 52.0, 52.0, 52.0, 53.0, 53.0, 54.0, 54.0, 55.0, 55.0, 56.0, 56.0, 57.0]\n",
"[10.0, 22.0, 26.0, 28.0, 29.0, 31.0, 32.0, 33.0, 34.0, 35.0, 36.0, 37.0, 37.0, 38.0, 39.0, 39.0, 40.0, 41.0, 41.0, 42.0, 42.0, 43.0, 44.0, 44.0, 45.0, 45.0, 46.0, 46.0, 47.0, 47.0, 48.0, 48.0, 49.0, 49.0, 50.0, 50.0, 51.0, 51.0, 52.0, 52.0, 52.0, 53.0, 53.0, 54.0, 54.0, 55.0, 55.0, 56.0, 56.0, 57.0, 57.0]\n",
"[10.0, 22.0, 26.0, 28.0, 29.0, 31.0, 32.0, 33.0, 34.0, 35.0, 36.0, 37.0, 37.0, 38.0, 39.0, 39.0, 40.0, 41.0, 41.0, 42.0, 42.0, 43.0, 44.0, 44.0, 45.0, 45.0, 46.0, 46.0, 47.0, 47.0, 48.0, 48.0, 49.0, 49.0, 50.0, 50.0, 51.0, 51.0, 52.0, 52.0, 52.0, 53.0, 53.0, 54.0, 54.0, 55.0, 55.0, 56.0, 56.0, 57.0, 57.0, 58.0]\n",
"[10.0, 22.0, 26.0, 28.0, 29.0, 31.0, 32.0, 33.0, 34.0, 35.0, 36.0, 37.0, 37.0, 38.0, 39.0, 39.0, 40.0, 41.0, 41.0, 42.0, 42.0, 43.0, 44.0, 44.0, 45.0, 45.0, 46.0, 46.0, 47.0, 47.0, 48.0, 48.0, 49.0, 49.0, 50.0, 50.0, 51.0, 51.0, 52.0, 52.0, 52.0, 53.0, 53.0, 54.0, 54.0, 55.0, 55.0, 56.0, 56.0, 57.0, 57.0, 58.0, 58.0]\n",
"[10.0, 22.0, 26.0, 28.0, 29.0, 31.0, 32.0, 33.0, 34.0, 35.0, 36.0, 37.0, 37.0, 38.0, 39.0, 39.0, 40.0, 41.0, 41.0, 42.0, 42.0, 43.0, 44.0, 44.0, 45.0, 45.0, 46.0, 46.0, 47.0, 47.0, 48.0, 48.0, 49.0, 49.0, 50.0, 50.0, 51.0, 51.0, 52.0, 52.0, 52.0, 53.0, 53.0, 54.0, 54.0, 55.0, 55.0, 56.0, 56.0, 57.0, 57.0, 58.0, 58.0, 59.0]\n",
"[10.0, 22.0, 26.0, 28.0, 29.0, 31.0, 32.0, 33.0, 34.0, 35.0, 36.0, 37.0, 37.0, 38.0, 39.0, 39.0, 40.0, 41.0, 41.0, 42.0, 42.0, 43.0, 44.0, 44.0, 45.0, 45.0, 46.0, 46.0, 47.0, 47.0, 48.0, 48.0, 49.0, 49.0, 50.0, 50.0, 51.0, 51.0, 52.0, 52.0, 52.0, 53.0, 53.0, 54.0, 54.0, 55.0, 55.0, 56.0, 56.0, 57.0, 57.0, 58.0, 58.0, 59.0, 59.0]\n",
"[10.0, 22.0, 26.0, 28.0, 29.0, 31.0, 32.0, 33.0, 34.0, 35.0, 36.0, 37.0, 37.0, 38.0, 39.0, 39.0, 40.0, 41.0, 41.0, 42.0, 42.0, 43.0, 44.0, 44.0, 45.0, 45.0, 46.0, 46.0, 47.0, 47.0, 48.0, 48.0, 49.0, 49.0, 50.0, 50.0, 51.0, 51.0, 52.0, 52.0, 52.0, 53.0, 53.0, 54.0, 54.0, 55.0, 55.0, 56.0, 56.0, 57.0, 57.0, 58.0, 58.0, 59.0, 59.0, 60.0]\n",
"[10.0, 22.0, 26.0, 28.0, 29.0, 31.0, 32.0, 33.0, 34.0, 35.0, 36.0, 37.0, 37.0, 38.0, 39.0, 39.0, 40.0, 41.0, 41.0, 42.0, 42.0, 43.0, 44.0, 44.0, 45.0, 45.0, 46.0, 46.0, 47.0, 47.0, 48.0, 48.0, 49.0, 49.0, 50.0, 50.0, 51.0, 51.0, 52.0, 52.0, 52.0, 53.0, 53.0, 54.0, 54.0, 55.0, 55.0, 56.0, 56.0, 57.0, 57.0, 58.0, 58.0, 59.0, 59.0, 60.0, 60.0]\n",
"[10.0, 22.0, 26.0, 28.0, 29.0, 31.0, 32.0, 33.0, 34.0, 35.0, 36.0, 37.0, 37.0, 38.0, 39.0, 39.0, 40.0, 41.0, 41.0, 42.0, 42.0, 43.0, 44.0, 44.0, 45.0, 45.0, 46.0, 46.0, 47.0, 47.0, 48.0, 48.0, 49.0, 49.0, 50.0, 50.0, 51.0, 51.0, 52.0, 52.0, 52.0, 53.0, 53.0, 54.0, 54.0, 55.0, 55.0, 56.0, 56.0, 57.0, 57.0, 58.0, 58.0, 59.0, 59.0, 60.0, 60.0, 61.0]\n",
"[10.0, 22.0, 26.0, 28.0, 29.0, 31.0, 32.0, 33.0, 34.0, 35.0, 36.0, 37.0, 37.0, 38.0, 39.0, 39.0, 40.0, 41.0, 41.0, 42.0, 42.0, 43.0, 44.0, 44.0, 45.0, 45.0, 46.0, 46.0, 47.0, 47.0, 48.0, 48.0, 49.0, 49.0, 50.0, 50.0, 51.0, 51.0, 52.0, 52.0, 52.0, 53.0, 53.0, 54.0, 54.0, 55.0, 55.0, 56.0, 56.0, 57.0, 57.0, 58.0, 58.0, 59.0, 59.0, 60.0, 60.0, 61.0, 61.0]\n",
"[10.0, 22.0, 26.0, 28.0, 29.0, 31.0, 32.0, 33.0, 34.0, 35.0, 36.0, 37.0, 37.0, 38.0, 39.0, 39.0, 40.0, 41.0, 41.0, 42.0, 42.0, 43.0, 44.0, 44.0, 45.0, 45.0, 46.0, 46.0, 47.0, 47.0, 48.0, 48.0, 49.0, 49.0, 50.0, 50.0, 51.0, 51.0, 52.0, 52.0, 52.0, 53.0, 53.0, 54.0, 54.0, 55.0, 55.0, 56.0, 56.0, 57.0, 57.0, 58.0, 58.0, 59.0, 59.0, 60.0, 60.0, 61.0, 61.0, 61.589999999999236]\n",
"[10.0, 22.0, 26.0, 28.0, 29.0, 31.0, 32.0, 33.0, 34.0, 35.0, 36.0, 37.0, 37.0, 38.0, 39.0, 39.0, 40.0, 41.0, 41.0, 42.0, 42.0, 43.0, 44.0, 44.0, 45.0, 45.0, 46.0, 46.0, 47.0, 47.0, 48.0, 48.0, 49.0, 49.0, 50.0, 50.0, 51.0, 51.0, 52.0, 52.0, 52.0, 53.0, 53.0, 54.0, 54.0, 55.0, 55.0, 56.0, 56.0, 57.0, 57.0, 58.0, 58.0, 59.0, 59.0, 60.0, 60.0, 61.0, 61.0, 61.589999999999236, 62.0]\n",
"[10.0, 22.0, 26.0, 28.0, 29.0, 31.0, 32.0, 33.0, 34.0, 35.0, 36.0, 37.0, 37.0, 38.0, 39.0, 39.0, 40.0, 41.0, 41.0, 42.0, 42.0, 43.0, 44.0, 44.0, 45.0, 45.0, 46.0, 46.0, 47.0, 47.0, 48.0, 48.0, 49.0, 49.0, 50.0, 50.0, 51.0, 51.0, 52.0, 52.0, 52.0, 53.0, 53.0, 54.0, 54.0, 55.0, 55.0, 56.0, 56.0, 57.0, 57.0, 58.0, 58.0, 59.0, 59.0, 60.0, 60.0, 61.0, 61.0, 61.589999999999236, 62.0, 62.0]\n",
"[10.0, 22.0, 26.0, 28.0, 29.0, 31.0, 32.0, 33.0, 34.0, 35.0, 36.0, 37.0, 37.0, 38.0, 39.0, 39.0, 40.0, 41.0, 41.0, 42.0, 42.0, 43.0, 44.0, 44.0, 45.0, 45.0, 46.0, 46.0, 47.0, 47.0, 48.0, 48.0, 49.0, 49.0, 50.0, 50.0, 51.0, 51.0, 52.0, 52.0, 52.0, 53.0, 53.0, 54.0, 54.0, 55.0, 55.0, 56.0, 56.0, 57.0, 57.0, 58.0, 58.0, 59.0, 59.0, 60.0, 60.0, 61.0, 61.0, 61.589999999999236, 62.0, 62.0, 63.0]\n",
"[10.0, 22.0, 26.0, 28.0, 29.0, 31.0, 32.0, 33.0, 34.0, 35.0, 36.0, 37.0, 37.0, 38.0, 39.0, 39.0, 40.0, 41.0, 41.0, 42.0, 42.0, 43.0, 44.0, 44.0, 45.0, 45.0, 46.0, 46.0, 47.0, 47.0, 48.0, 48.0, 49.0, 49.0, 50.0, 50.0, 51.0, 51.0, 52.0, 52.0, 52.0, 53.0, 53.0, 54.0, 54.0, 55.0, 55.0, 56.0, 56.0, 57.0, 57.0, 58.0, 58.0, 59.0, 59.0, 60.0, 60.0, 61.0, 61.0, 61.589999999999236, 62.0, 62.0, 63.0, 63.0]\n",
"[10.0, 22.0, 26.0, 28.0, 29.0, 31.0, 32.0, 33.0, 34.0, 35.0, 36.0, 37.0, 37.0, 38.0, 39.0, 39.0, 40.0, 41.0, 41.0, 42.0, 42.0, 43.0, 44.0, 44.0, 45.0, 45.0, 46.0, 46.0, 47.0, 47.0, 48.0, 48.0, 49.0, 49.0, 50.0, 50.0, 51.0, 51.0, 52.0, 52.0, 52.0, 53.0, 53.0, 54.0, 54.0, 55.0, 55.0, 56.0, 56.0, 57.0, 57.0, 58.0, 58.0, 59.0, 59.0, 60.0, 60.0, 61.0, 61.0, 61.589999999999236, 62.0, 62.0, 63.0, 63.0, 64.0]\n",
"[10.0, 22.0, 26.0, 28.0, 29.0, 31.0, 32.0, 33.0, 34.0, 35.0, 36.0, 37.0, 37.0, 38.0, 39.0, 39.0, 40.0, 41.0, 41.0, 42.0, 42.0, 43.0, 44.0, 44.0, 45.0, 45.0, 46.0, 46.0, 47.0, 47.0, 48.0, 48.0, 49.0, 49.0, 50.0, 50.0, 51.0, 51.0, 52.0, 52.0, 52.0, 53.0, 53.0, 54.0, 54.0, 55.0, 55.0, 56.0, 56.0, 57.0, 57.0, 58.0, 58.0, 59.0, 59.0, 60.0, 60.0, 61.0, 61.0, 61.589999999999236, 62.0, 62.0, 63.0, 63.0, 64.0, 65.0]\n",
"[10.0, 22.0, 26.0, 28.0, 29.0, 31.0, 32.0, 33.0, 34.0, 35.0, 36.0, 37.0, 37.0, 38.0, 39.0, 39.0, 40.0, 41.0, 41.0, 42.0, 42.0, 43.0, 44.0, 44.0, 45.0, 45.0, 46.0, 46.0, 47.0, 47.0, 48.0, 48.0, 49.0, 49.0, 50.0, 50.0, 51.0, 51.0, 52.0, 52.0, 52.0, 53.0, 53.0, 54.0, 54.0, 55.0, 55.0, 56.0, 56.0, 57.0, 57.0, 58.0, 58.0, 59.0, 59.0, 60.0, 60.0, 61.0, 61.0, 61.589999999999236, 62.0, 62.0, 63.0, 63.0, 64.0, 65.0, 65.0]\n",
"[10.0, 22.0, 26.0, 28.0, 29.0, 31.0, 32.0, 33.0, 34.0, 35.0, 36.0, 37.0, 37.0, 38.0, 39.0, 39.0, 40.0, 41.0, 41.0, 42.0, 42.0, 43.0, 44.0, 44.0, 45.0, 45.0, 46.0, 46.0, 47.0, 47.0, 48.0, 48.0, 49.0, 49.0, 50.0, 50.0, 51.0, 51.0, 52.0, 52.0, 52.0, 53.0, 53.0, 54.0, 54.0, 55.0, 55.0, 56.0, 56.0, 57.0, 57.0, 58.0, 58.0, 59.0, 59.0, 60.0, 60.0, 61.0, 61.0, 61.589999999999236, 62.0, 62.0, 63.0, 63.0, 64.0, 65.0, 65.0, 66.0]\n",
"[10.0, 22.0, 26.0, 28.0, 29.0, 31.0, 32.0, 33.0, 34.0, 35.0, 36.0, 37.0, 37.0, 38.0, 39.0, 39.0, 40.0, 41.0, 41.0, 42.0, 42.0, 43.0, 44.0, 44.0, 45.0, 45.0, 46.0, 46.0, 47.0, 47.0, 48.0, 48.0, 49.0, 49.0, 50.0, 50.0, 51.0, 51.0, 52.0, 52.0, 52.0, 53.0, 53.0, 54.0, 54.0, 55.0, 55.0, 56.0, 56.0, 57.0, 57.0, 58.0, 58.0, 59.0, 59.0, 60.0, 60.0, 61.0, 61.0, 61.589999999999236, 62.0, 62.0, 63.0, 63.0, 64.0, 65.0, 65.0, 66.0, 66.0]\n",
"[10.0, 22.0, 26.0, 28.0, 29.0, 31.0, 32.0, 33.0, 34.0, 35.0, 36.0, 37.0, 37.0, 38.0, 39.0, 39.0, 40.0, 41.0, 41.0, 42.0, 42.0, 43.0, 44.0, 44.0, 45.0, 45.0, 46.0, 46.0, 47.0, 47.0, 48.0, 48.0, 49.0, 49.0, 50.0, 50.0, 51.0, 51.0, 52.0, 52.0, 52.0, 53.0, 53.0, 54.0, 54.0, 55.0, 55.0, 56.0, 56.0, 57.0, 57.0, 58.0, 58.0, 59.0, 59.0, 60.0, 60.0, 61.0, 61.0, 61.589999999999236, 62.0, 62.0, 63.0, 63.0, 64.0, 65.0, 65.0, 66.0, 66.0, 67.0]\n",
"[10.0, 22.0, 26.0, 28.0, 29.0, 31.0, 32.0, 33.0, 34.0, 35.0, 36.0, 37.0, 37.0, 38.0, 39.0, 39.0, 40.0, 41.0, 41.0, 42.0, 42.0, 43.0, 44.0, 44.0, 45.0, 45.0, 46.0, 46.0, 47.0, 47.0, 48.0, 48.0, 49.0, 49.0, 50.0, 50.0, 51.0, 51.0, 52.0, 52.0, 52.0, 53.0, 53.0, 54.0, 54.0, 55.0, 55.0, 56.0, 56.0, 57.0, 57.0, 58.0, 58.0, 59.0, 59.0, 60.0, 60.0, 61.0, 61.0, 61.589999999999236, 62.0, 62.0, 63.0, 63.0, 64.0, 65.0, 65.0, 66.0, 66.0, 67.0, 68.0]\n",
"[10.0, 22.0, 26.0, 28.0, 29.0, 31.0, 32.0, 33.0, 34.0, 35.0, 36.0, 37.0, 37.0, 38.0, 39.0, 39.0, 40.0, 41.0, 41.0, 42.0, 42.0, 43.0, 44.0, 44.0, 45.0, 45.0, 46.0, 46.0, 47.0, 47.0, 48.0, 48.0, 49.0, 49.0, 50.0, 50.0, 51.0, 51.0, 52.0, 52.0, 52.0, 53.0, 53.0, 54.0, 54.0, 55.0, 55.0, 56.0, 56.0, 57.0, 57.0, 58.0, 58.0, 59.0, 59.0, 60.0, 60.0, 61.0, 61.0, 61.589999999999236, 62.0, 62.0, 63.0, 63.0, 64.0, 65.0, 65.0, 66.0, 66.0, 67.0, 68.0, 68.0]\n",
"[10.0, 22.0, 26.0, 28.0, 29.0, 31.0, 32.0, 33.0, 34.0, 35.0, 36.0, 37.0, 37.0, 38.0, 39.0, 39.0, 40.0, 41.0, 41.0, 42.0, 42.0, 43.0, 44.0, 44.0, 45.0, 45.0, 46.0, 46.0, 47.0, 47.0, 48.0, 48.0, 49.0, 49.0, 50.0, 50.0, 51.0, 51.0, 52.0, 52.0, 52.0, 53.0, 53.0, 54.0, 54.0, 55.0, 55.0, 56.0, 56.0, 57.0, 57.0, 58.0, 58.0, 59.0, 59.0, 60.0, 60.0, 61.0, 61.0, 61.589999999999236, 62.0, 62.0, 63.0, 63.0, 64.0, 65.0, 65.0, 66.0, 66.0, 67.0, 68.0, 68.0, 69.0]\n",
"[10.0, 22.0, 26.0, 28.0, 29.0, 31.0, 32.0, 33.0, 34.0, 35.0, 36.0, 37.0, 37.0, 38.0, 39.0, 39.0, 40.0, 41.0, 41.0, 42.0, 42.0, 43.0, 44.0, 44.0, 45.0, 45.0, 46.0, 46.0, 47.0, 47.0, 48.0, 48.0, 49.0, 49.0, 50.0, 50.0, 51.0, 51.0, 52.0, 52.0, 52.0, 53.0, 53.0, 54.0, 54.0, 55.0, 55.0, 56.0, 56.0, 57.0, 57.0, 58.0, 58.0, 59.0, 59.0, 60.0, 60.0, 61.0, 61.0, 61.589999999999236, 62.0, 62.0, 63.0, 63.0, 64.0, 65.0, 65.0, 66.0, 66.0, 67.0, 68.0, 68.0, 69.0, 70.0]\n",
"[10.0, 22.0, 26.0, 28.0, 29.0, 31.0, 32.0, 33.0, 34.0, 35.0, 36.0, 37.0, 37.0, 38.0, 39.0, 39.0, 40.0, 41.0, 41.0, 42.0, 42.0, 43.0, 44.0, 44.0, 45.0, 45.0, 46.0, 46.0, 47.0, 47.0, 48.0, 48.0, 49.0, 49.0, 50.0, 50.0, 51.0, 51.0, 52.0, 52.0, 52.0, 53.0, 53.0, 54.0, 54.0, 55.0, 55.0, 56.0, 56.0, 57.0, 57.0, 58.0, 58.0, 59.0, 59.0, 60.0, 60.0, 61.0, 61.0, 61.589999999999236, 62.0, 62.0, 63.0, 63.0, 64.0, 65.0, 65.0, 66.0, 66.0, 67.0, 68.0, 68.0, 69.0, 70.0, 70.0]\n",
"[10.0, 22.0, 26.0, 28.0, 29.0, 31.0, 32.0, 33.0, 34.0, 35.0, 36.0, 37.0, 37.0, 38.0, 39.0, 39.0, 40.0, 41.0, 41.0, 42.0, 42.0, 43.0, 44.0, 44.0, 45.0, 45.0, 46.0, 46.0, 47.0, 47.0, 48.0, 48.0, 49.0, 49.0, 50.0, 50.0, 51.0, 51.0, 52.0, 52.0, 52.0, 53.0, 53.0, 54.0, 54.0, 55.0, 55.0, 56.0, 56.0, 57.0, 57.0, 58.0, 58.0, 59.0, 59.0, 60.0, 60.0, 61.0, 61.0, 61.589999999999236, 62.0, 62.0, 63.0, 63.0, 64.0, 65.0, 65.0, 66.0, 66.0, 67.0, 68.0, 68.0, 69.0, 70.0, 70.0, 71.0]\n",
"[10.0, 22.0, 26.0, 28.0, 29.0, 31.0, 32.0, 33.0, 34.0, 35.0, 36.0, 37.0, 37.0, 38.0, 39.0, 39.0, 40.0, 41.0, 41.0, 42.0, 42.0, 43.0, 44.0, 44.0, 45.0, 45.0, 46.0, 46.0, 47.0, 47.0, 48.0, 48.0, 49.0, 49.0, 50.0, 50.0, 51.0, 51.0, 52.0, 52.0, 52.0, 53.0, 53.0, 54.0, 54.0, 55.0, 55.0, 56.0, 56.0, 57.0, 57.0, 58.0, 58.0, 59.0, 59.0, 60.0, 60.0, 61.0, 61.0, 61.589999999999236, 62.0, 62.0, 63.0, 63.0, 64.0, 65.0, 65.0, 66.0, 66.0, 67.0, 68.0, 68.0, 69.0, 70.0, 70.0, 71.0, 72.0]\n",
"[10.0, 22.0, 26.0, 28.0, 29.0, 31.0, 32.0, 33.0, 34.0, 35.0, 36.0, 37.0, 37.0, 38.0, 39.0, 39.0, 40.0, 41.0, 41.0, 42.0, 42.0, 43.0, 44.0, 44.0, 45.0, 45.0, 46.0, 46.0, 47.0, 47.0, 48.0, 48.0, 49.0, 49.0, 50.0, 50.0, 51.0, 51.0, 52.0, 52.0, 52.0, 53.0, 53.0, 54.0, 54.0, 55.0, 55.0, 56.0, 56.0, 57.0, 57.0, 58.0, 58.0, 59.0, 59.0, 60.0, 60.0, 61.0, 61.0, 61.589999999999236, 62.0, 62.0, 63.0, 63.0, 64.0, 65.0, 65.0, 66.0, 66.0, 67.0, 68.0, 68.0, 69.0, 70.0, 70.0, 71.0, 72.0, 72.0]\n",
"[10.0, 22.0, 26.0, 28.0, 29.0, 31.0, 32.0, 33.0, 34.0, 35.0, 36.0, 37.0, 37.0, 38.0, 39.0, 39.0, 40.0, 41.0, 41.0, 42.0, 42.0, 43.0, 44.0, 44.0, 45.0, 45.0, 46.0, 46.0, 47.0, 47.0, 48.0, 48.0, 49.0, 49.0, 50.0, 50.0, 51.0, 51.0, 52.0, 52.0, 52.0, 53.0, 53.0, 54.0, 54.0, 55.0, 55.0, 56.0, 56.0, 57.0, 57.0, 58.0, 58.0, 59.0, 59.0, 60.0, 60.0, 61.0, 61.0, 61.589999999999236, 62.0, 62.0, 63.0, 63.0, 64.0, 65.0, 65.0, 66.0, 66.0, 67.0, 68.0, 68.0, 69.0, 70.0, 70.0, 71.0, 72.0, 72.0, 73.0]\n",
"[10.0, 22.0, 26.0, 28.0, 29.0, 31.0, 32.0, 33.0, 34.0, 35.0, 36.0, 37.0, 37.0, 38.0, 39.0, 39.0, 40.0, 41.0, 41.0, 42.0, 42.0, 43.0, 44.0, 44.0, 45.0, 45.0, 46.0, 46.0, 47.0, 47.0, 48.0, 48.0, 49.0, 49.0, 50.0, 50.0, 51.0, 51.0, 52.0, 52.0, 52.0, 53.0, 53.0, 54.0, 54.0, 55.0, 55.0, 56.0, 56.0, 57.0, 57.0, 58.0, 58.0, 59.0, 59.0, 60.0, 60.0, 61.0, 61.0, 61.589999999999236, 62.0, 62.0, 63.0, 63.0, 64.0, 65.0, 65.0, 66.0, 66.0, 67.0, 68.0, 68.0, 69.0, 70.0, 70.0, 71.0, 72.0, 72.0, 73.0, 74.0]\n",
"[10.0, 22.0, 26.0, 28.0, 29.0, 31.0, 32.0, 33.0, 34.0, 35.0, 36.0, 37.0, 37.0, 38.0, 39.0, 39.0, 40.0, 41.0, 41.0, 42.0, 42.0, 43.0, 44.0, 44.0, 45.0, 45.0, 46.0, 46.0, 47.0, 47.0, 48.0, 48.0, 49.0, 49.0, 50.0, 50.0, 51.0, 51.0, 52.0, 52.0, 52.0, 53.0, 53.0, 54.0, 54.0, 55.0, 55.0, 56.0, 56.0, 57.0, 57.0, 58.0, 58.0, 59.0, 59.0, 60.0, 60.0, 61.0, 61.0, 61.589999999999236, 62.0, 62.0, 63.0, 63.0, 64.0, 65.0, 65.0, 66.0, 66.0, 67.0, 68.0, 68.0, 69.0, 70.0, 70.0, 71.0, 72.0, 72.0, 73.0, 74.0, 75.0]\n",
"[10.0, 22.0, 26.0, 28.0, 29.0, 31.0, 32.0, 33.0, 34.0, 35.0, 36.0, 37.0, 37.0, 38.0, 39.0, 39.0, 40.0, 41.0, 41.0, 42.0, 42.0, 43.0, 44.0, 44.0, 45.0, 45.0, 46.0, 46.0, 47.0, 47.0, 48.0, 48.0, 49.0, 49.0, 50.0, 50.0, 51.0, 51.0, 52.0, 52.0, 52.0, 53.0, 53.0, 54.0, 54.0, 55.0, 55.0, 56.0, 56.0, 57.0, 57.0, 58.0, 58.0, 59.0, 59.0, 60.0, 60.0, 61.0, 61.0, 61.589999999999236, 62.0, 62.0, 63.0, 63.0, 64.0, 65.0, 65.0, 66.0, 66.0, 67.0, 68.0, 68.0, 69.0, 70.0, 70.0, 71.0, 72.0, 72.0, 73.0, 74.0, 75.0, 76.0]\n",
"[10.0, 22.0, 26.0, 28.0, 29.0, 31.0, 32.0, 33.0, 34.0, 35.0, 36.0, 37.0, 37.0, 38.0, 39.0, 39.0, 40.0, 41.0, 41.0, 42.0, 42.0, 43.0, 44.0, 44.0, 45.0, 45.0, 46.0, 46.0, 47.0, 47.0, 48.0, 48.0, 49.0, 49.0, 50.0, 50.0, 51.0, 51.0, 52.0, 52.0, 52.0, 53.0, 53.0, 54.0, 54.0, 55.0, 55.0, 56.0, 56.0, 57.0, 57.0, 58.0, 58.0, 59.0, 59.0, 60.0, 60.0, 61.0, 61.0, 61.589999999999236, 62.0, 62.0, 63.0, 63.0, 64.0, 65.0, 65.0, 66.0, 66.0, 67.0, 68.0, 68.0, 69.0, 70.0, 70.0, 71.0, 72.0, 72.0, 73.0, 74.0, 75.0, 76.0, 76.0]\n",
"[10.0, 22.0, 26.0, 28.0, 29.0, 31.0, 32.0, 33.0, 34.0, 35.0, 36.0, 37.0, 37.0, 38.0, 39.0, 39.0, 40.0, 41.0, 41.0, 42.0, 42.0, 43.0, 44.0, 44.0, 45.0, 45.0, 46.0, 46.0, 47.0, 47.0, 48.0, 48.0, 49.0, 49.0, 50.0, 50.0, 51.0, 51.0, 52.0, 52.0, 52.0, 53.0, 53.0, 54.0, 54.0, 55.0, 55.0, 56.0, 56.0, 57.0, 57.0, 58.0, 58.0, 59.0, 59.0, 60.0, 60.0, 61.0, 61.0, 61.589999999999236, 62.0, 62.0, 63.0, 63.0, 64.0, 65.0, 65.0, 66.0, 66.0, 67.0, 68.0, 68.0, 69.0, 70.0, 70.0, 71.0, 72.0, 72.0, 73.0, 74.0, 75.0, 76.0, 76.0, 77.0]\n",
"[10.0, 22.0, 26.0, 28.0, 29.0, 31.0, 32.0, 33.0, 34.0, 35.0, 36.0, 37.0, 37.0, 38.0, 39.0, 39.0, 40.0, 41.0, 41.0, 42.0, 42.0, 43.0, 44.0, 44.0, 45.0, 45.0, 46.0, 46.0, 47.0, 47.0, 48.0, 48.0, 49.0, 49.0, 50.0, 50.0, 51.0, 51.0, 52.0, 52.0, 52.0, 53.0, 53.0, 54.0, 54.0, 55.0, 55.0, 56.0, 56.0, 57.0, 57.0, 58.0, 58.0, 59.0, 59.0, 60.0, 60.0, 61.0, 61.0, 61.589999999999236, 62.0, 62.0, 63.0, 63.0, 64.0, 65.0, 65.0, 66.0, 66.0, 67.0, 68.0, 68.0, 69.0, 70.0, 70.0, 71.0, 72.0, 72.0, 73.0, 74.0, 75.0, 76.0, 76.0, 77.0, 78.0]\n",
"[10.0, 22.0, 26.0, 28.0, 29.0, 31.0, 32.0, 33.0, 34.0, 35.0, 36.0, 37.0, 37.0, 38.0, 39.0, 39.0, 40.0, 41.0, 41.0, 42.0, 42.0, 43.0, 44.0, 44.0, 45.0, 45.0, 46.0, 46.0, 47.0, 47.0, 48.0, 48.0, 49.0, 49.0, 50.0, 50.0, 51.0, 51.0, 52.0, 52.0, 52.0, 53.0, 53.0, 54.0, 54.0, 55.0, 55.0, 56.0, 56.0, 57.0, 57.0, 58.0, 58.0, 59.0, 59.0, 60.0, 60.0, 61.0, 61.0, 61.589999999999236, 62.0, 62.0, 63.0, 63.0, 64.0, 65.0, 65.0, 66.0, 66.0, 67.0, 68.0, 68.0, 69.0, 70.0, 70.0, 71.0, 72.0, 72.0, 73.0, 74.0, 75.0, 76.0, 76.0, 77.0, 78.0, 80.0]\n",
"[10.0, 22.0, 26.0, 28.0, 29.0, 31.0, 32.0, 33.0, 34.0, 35.0, 36.0, 37.0, 37.0, 38.0, 39.0, 39.0, 40.0, 41.0, 41.0, 42.0, 42.0, 43.0, 44.0, 44.0, 45.0, 45.0, 46.0, 46.0, 47.0, 47.0, 48.0, 48.0, 49.0, 49.0, 50.0, 50.0, 51.0, 51.0, 52.0, 52.0, 52.0, 53.0, 53.0, 54.0, 54.0, 55.0, 55.0, 56.0, 56.0, 57.0, 57.0, 58.0, 58.0, 59.0, 59.0, 60.0, 60.0, 61.0, 61.0, 61.589999999999236, 62.0, 62.0, 63.0, 63.0, 64.0, 65.0, 65.0, 66.0, 66.0, 67.0, 68.0, 68.0, 69.0, 70.0, 70.0, 71.0, 72.0, 72.0, 73.0, 74.0, 75.0, 76.0, 76.0, 77.0, 78.0, 80.0, 81.0]\n",
"[10.0, 22.0, 26.0, 28.0, 29.0, 31.0, 32.0, 33.0, 34.0, 35.0, 36.0, 37.0, 37.0, 38.0, 39.0, 39.0, 40.0, 41.0, 41.0, 42.0, 42.0, 43.0, 44.0, 44.0, 45.0, 45.0, 46.0, 46.0, 47.0, 47.0, 48.0, 48.0, 49.0, 49.0, 50.0, 50.0, 51.0, 51.0, 52.0, 52.0, 52.0, 53.0, 53.0, 54.0, 54.0, 55.0, 55.0, 56.0, 56.0, 57.0, 57.0, 58.0, 58.0, 59.0, 59.0, 60.0, 60.0, 61.0, 61.0, 61.589999999999236, 62.0, 62.0, 63.0, 63.0, 64.0, 65.0, 65.0, 66.0, 66.0, 67.0, 68.0, 68.0, 69.0, 70.0, 70.0, 71.0, 72.0, 72.0, 73.0, 74.0, 75.0, 76.0, 76.0, 77.0, 78.0, 80.0, 81.0, 82.0]\n",
"[10.0, 22.0, 26.0, 28.0, 29.0, 31.0, 32.0, 33.0, 34.0, 35.0, 36.0, 37.0, 37.0, 38.0, 39.0, 39.0, 40.0, 41.0, 41.0, 42.0, 42.0, 43.0, 44.0, 44.0, 45.0, 45.0, 46.0, 46.0, 47.0, 47.0, 48.0, 48.0, 49.0, 49.0, 50.0, 50.0, 51.0, 51.0, 52.0, 52.0, 52.0, 53.0, 53.0, 54.0, 54.0, 55.0, 55.0, 56.0, 56.0, 57.0, 57.0, 58.0, 58.0, 59.0, 59.0, 60.0, 60.0, 61.0, 61.0, 61.589999999999236, 62.0, 62.0, 63.0, 63.0, 64.0, 65.0, 65.0, 66.0, 66.0, 67.0, 68.0, 68.0, 69.0, 70.0, 70.0, 71.0, 72.0, 72.0, 73.0, 74.0, 75.0, 76.0, 76.0, 77.0, 78.0, 80.0, 81.0, 82.0, 84.0]\n",
"[10.0, 22.0, 26.0, 28.0, 29.0, 31.0, 32.0, 33.0, 34.0, 35.0, 36.0, 37.0, 37.0, 38.0, 39.0, 39.0, 40.0, 41.0, 41.0, 42.0, 42.0, 43.0, 44.0, 44.0, 45.0, 45.0, 46.0, 46.0, 47.0, 47.0, 48.0, 48.0, 49.0, 49.0, 50.0, 50.0, 51.0, 51.0, 52.0, 52.0, 52.0, 53.0, 53.0, 54.0, 54.0, 55.0, 55.0, 56.0, 56.0, 57.0, 57.0, 58.0, 58.0, 59.0, 59.0, 60.0, 60.0, 61.0, 61.0, 61.589999999999236, 62.0, 62.0, 63.0, 63.0, 64.0, 65.0, 65.0, 66.0, 66.0, 67.0, 68.0, 68.0, 69.0, 70.0, 70.0, 71.0, 72.0, 72.0, 73.0, 74.0, 75.0, 76.0, 76.0, 77.0, 78.0, 80.0, 81.0, 82.0, 84.0, 85.0]\n",
"[10.0, 22.0, 26.0, 28.0, 29.0, 31.0, 32.0, 33.0, 34.0, 35.0, 36.0, 37.0, 37.0, 38.0, 39.0, 39.0, 40.0, 41.0, 41.0, 42.0, 42.0, 43.0, 44.0, 44.0, 45.0, 45.0, 46.0, 46.0, 47.0, 47.0, 48.0, 48.0, 49.0, 49.0, 50.0, 50.0, 51.0, 51.0, 52.0, 52.0, 52.0, 53.0, 53.0, 54.0, 54.0, 55.0, 55.0, 56.0, 56.0, 57.0, 57.0, 58.0, 58.0, 59.0, 59.0, 60.0, 60.0, 61.0, 61.0, 61.589999999999236, 62.0, 62.0, 63.0, 63.0, 64.0, 65.0, 65.0, 66.0, 66.0, 67.0, 68.0, 68.0, 69.0, 70.0, 70.0, 71.0, 72.0, 72.0, 73.0, 74.0, 75.0, 76.0, 76.0, 77.0, 78.0, 80.0, 81.0, 82.0, 84.0, 85.0, 88.0]\n",
"[10.0, 22.0, 26.0, 28.0, 29.0, 31.0, 32.0, 33.0, 34.0, 35.0, 36.0, 37.0, 37.0, 38.0, 39.0, 39.0, 40.0, 41.0, 41.0, 42.0, 42.0, 43.0, 44.0, 44.0, 45.0, 45.0, 46.0, 46.0, 47.0, 47.0, 48.0, 48.0, 49.0, 49.0, 50.0, 50.0, 51.0, 51.0, 52.0, 52.0, 52.0, 53.0, 53.0, 54.0, 54.0, 55.0, 55.0, 56.0, 56.0, 57.0, 57.0, 58.0, 58.0, 59.0, 59.0, 60.0, 60.0, 61.0, 61.0, 61.589999999999236, 62.0, 62.0, 63.0, 63.0, 64.0, 65.0, 65.0, 66.0, 66.0, 67.0, 68.0, 68.0, 69.0, 70.0, 70.0, 71.0, 72.0, 72.0, 73.0, 74.0, 75.0, 76.0, 76.0, 77.0, 78.0, 80.0, 81.0, 82.0, 84.0, 85.0, 88.0, 90.0]\n",
"[10.0, 22.0, 26.0, 28.0, 29.0, 31.0, 32.0, 33.0, 34.0, 35.0, 36.0, 37.0, 37.0, 38.0, 39.0, 39.0, 40.0, 41.0, 41.0, 42.0, 42.0, 43.0, 44.0, 44.0, 45.0, 45.0, 46.0, 46.0, 47.0, 47.0, 48.0, 48.0, 49.0, 49.0, 50.0, 50.0, 51.0, 51.0, 52.0, 52.0, 52.0, 53.0, 53.0, 54.0, 54.0, 55.0, 55.0, 56.0, 56.0, 57.0, 57.0, 58.0, 58.0, 59.0, 59.0, 60.0, 60.0, 61.0, 61.0, 61.589999999999236, 62.0, 62.0, 63.0, 63.0, 64.0, 65.0, 65.0, 66.0, 66.0, 67.0, 68.0, 68.0, 69.0, 70.0, 70.0, 71.0, 72.0, 72.0, 73.0, 74.0, 75.0, 76.0, 76.0, 77.0, 78.0, 80.0, 81.0, 82.0, 84.0, 85.0, 88.0, 90.0, 92.0]\n",
"[10.0, 22.0, 26.0, 28.0, 29.0, 31.0, 32.0, 33.0, 34.0, 35.0, 36.0, 37.0, 37.0, 38.0, 39.0, 39.0, 40.0, 41.0, 41.0, 42.0, 42.0, 43.0, 44.0, 44.0, 45.0, 45.0, 46.0, 46.0, 47.0, 47.0, 48.0, 48.0, 49.0, 49.0, 50.0, 50.0, 51.0, 51.0, 52.0, 52.0, 52.0, 53.0, 53.0, 54.0, 54.0, 55.0, 55.0, 56.0, 56.0, 57.0, 57.0, 58.0, 58.0, 59.0, 59.0, 60.0, 60.0, 61.0, 61.0, 61.589999999999236, 62.0, 62.0, 63.0, 63.0, 64.0, 65.0, 65.0, 66.0, 66.0, 67.0, 68.0, 68.0, 69.0, 70.0, 70.0, 71.0, 72.0, 72.0, 73.0, 74.0, 75.0, 76.0, 76.0, 77.0, 78.0, 80.0, 81.0, 82.0, 84.0, 85.0, 88.0, 90.0, 92.0, 95.0]\n",
"[10.0, 22.0, 26.0, 28.0, 29.0, 31.0, 32.0, 33.0, 34.0, 35.0, 36.0, 37.0, 37.0, 38.0, 39.0, 39.0, 40.0, 41.0, 41.0, 42.0, 42.0, 43.0, 44.0, 44.0, 45.0, 45.0, 46.0, 46.0, 47.0, 47.0, 48.0, 48.0, 49.0, 49.0, 50.0, 50.0, 51.0, 51.0, 52.0, 52.0, 52.0, 53.0, 53.0, 54.0, 54.0, 55.0, 55.0, 56.0, 56.0, 57.0, 57.0, 58.0, 58.0, 59.0, 59.0, 60.0, 60.0, 61.0, 61.0, 61.589999999999236, 62.0, 62.0, 63.0, 63.0, 64.0, 65.0, 65.0, 66.0, 66.0, 67.0, 68.0, 68.0, 69.0, 70.0, 70.0, 71.0, 72.0, 72.0, 73.0, 74.0, 75.0, 76.0, 76.0, 77.0, 78.0, 80.0, 81.0, 82.0, 84.0, 85.0, 88.0, 90.0, 92.0, 95.0, 99.0]\n",
"[10.0, 22.0, 26.0, 28.0, 29.0, 31.0, 32.0, 33.0, 34.0, 35.0, 36.0, 37.0, 37.0, 38.0, 39.0, 39.0, 40.0, 41.0, 41.0, 42.0, 42.0, 43.0, 44.0, 44.0, 45.0, 45.0, 46.0, 46.0, 47.0, 47.0, 48.0, 48.0, 49.0, 49.0, 50.0, 50.0, 51.0, 51.0, 52.0, 52.0, 52.0, 53.0, 53.0, 54.0, 54.0, 55.0, 55.0, 56.0, 56.0, 57.0, 57.0, 58.0, 58.0, 59.0, 59.0, 60.0, 60.0, 61.0, 61.0, 61.589999999999236, 62.0, 62.0, 63.0, 63.0, 64.0, 65.0, 65.0, 66.0, 66.0, 67.0, 68.0, 68.0, 69.0, 70.0, 70.0, 71.0, 72.0, 72.0, 73.0, 74.0, 75.0, 76.0, 76.0, 77.0, 78.0, 80.0, 81.0, 82.0, 84.0, 85.0, 88.0, 90.0, 92.0, 95.0, 99.0, 102.0]\n",
"[10.0, 22.0, 26.0, 28.0, 29.0, 31.0, 32.0, 33.0, 34.0, 35.0, 36.0, 37.0, 37.0, 38.0, 39.0, 39.0, 40.0, 41.0, 41.0, 42.0, 42.0, 43.0, 44.0, 44.0, 45.0, 45.0, 46.0, 46.0, 47.0, 47.0, 48.0, 48.0, 49.0, 49.0, 50.0, 50.0, 51.0, 51.0, 52.0, 52.0, 52.0, 53.0, 53.0, 54.0, 54.0, 55.0, 55.0, 56.0, 56.0, 57.0, 57.0, 58.0, 58.0, 59.0, 59.0, 60.0, 60.0, 61.0, 61.0, 61.589999999999236, 62.0, 62.0, 63.0, 63.0, 64.0, 65.0, 65.0, 66.0, 66.0, 67.0, 68.0, 68.0, 69.0, 70.0, 70.0, 71.0, 72.0, 72.0, 73.0, 74.0, 75.0, 76.0, 76.0, 77.0, 78.0, 80.0, 81.0, 82.0, 84.0, 85.0, 88.0, 90.0, 92.0, 95.0, 99.0, 102.0, 107.0]\n",
"[10.0, 22.0, 26.0, 28.0, 29.0, 31.0, 32.0, 33.0, 34.0, 35.0, 36.0, 37.0, 37.0, 38.0, 39.0, 39.0, 40.0, 41.0, 41.0, 42.0, 42.0, 43.0, 44.0, 44.0, 45.0, 45.0, 46.0, 46.0, 47.0, 47.0, 48.0, 48.0, 49.0, 49.0, 50.0, 50.0, 51.0, 51.0, 52.0, 52.0, 52.0, 53.0, 53.0, 54.0, 54.0, 55.0, 55.0, 56.0, 56.0, 57.0, 57.0, 58.0, 58.0, 59.0, 59.0, 60.0, 60.0, 61.0, 61.0, 61.589999999999236, 62.0, 62.0, 63.0, 63.0, 64.0, 65.0, 65.0, 66.0, 66.0, 67.0, 68.0, 68.0, 69.0, 70.0, 70.0, 71.0, 72.0, 72.0, 73.0, 74.0, 75.0, 76.0, 76.0, 77.0, 78.0, 80.0, 81.0, 82.0, 84.0, 85.0, 88.0, 90.0, 92.0, 95.0, 99.0, 102.0, 107.0, 113.0]\n",
"[10.0, 22.0, 26.0, 28.0, 29.0, 31.0, 32.0, 33.0, 34.0, 35.0, 36.0, 37.0, 37.0, 38.0, 39.0, 39.0, 40.0, 41.0, 41.0, 42.0, 42.0, 43.0, 44.0, 44.0, 45.0, 45.0, 46.0, 46.0, 47.0, 47.0, 48.0, 48.0, 49.0, 49.0, 50.0, 50.0, 51.0, 51.0, 52.0, 52.0, 52.0, 53.0, 53.0, 54.0, 54.0, 55.0, 55.0, 56.0, 56.0, 57.0, 57.0, 58.0, 58.0, 59.0, 59.0, 60.0, 60.0, 61.0, 61.0, 61.589999999999236, 62.0, 62.0, 63.0, 63.0, 64.0, 65.0, 65.0, 66.0, 66.0, 67.0, 68.0, 68.0, 69.0, 70.0, 70.0, 71.0, 72.0, 72.0, 73.0, 74.0, 75.0, 76.0, 76.0, 77.0, 78.0, 80.0, 81.0, 82.0, 84.0, 85.0, 88.0, 90.0, 92.0, 95.0, 99.0, 102.0, 107.0, 113.0, 127.0]\n",
"[10.0, 22.0, 26.0, 28.0, 29.0, 31.0, 32.0, 33.0, 34.0, 35.0, 36.0, 37.0, 37.0, 38.0, 39.0, 39.0, 40.0, 41.0, 41.0, 42.0, 42.0, 43.0, 44.0, 44.0, 45.0, 45.0, 46.0, 46.0, 47.0, 47.0, 48.0, 48.0, 49.0, 49.0, 50.0, 50.0, 51.0, 51.0, 52.0, 52.0, 52.0, 53.0, 53.0, 54.0, 54.0, 55.0, 55.0, 56.0, 56.0, 57.0, 57.0, 58.0, 58.0, 59.0, 59.0, 60.0, 60.0, 61.0, 61.0, 61.589999999999236, 62.0, 62.0, 63.0, 63.0, 64.0, 65.0, 65.0, 66.0, 66.0, 67.0, 68.0, 68.0, 69.0, 70.0, 70.0, 71.0, 72.0, 72.0, 73.0, 74.0, 75.0, 76.0, 76.0, 77.0, 78.0, 80.0, 81.0, 82.0, 84.0, 85.0, 88.0, 90.0, 92.0, 95.0, 99.0, 102.0, 107.0, 113.0, 127.0, 156.0]\n"
]
},
{
"data": {
"text/plain": [
"count 13102.000000\n",
"mean 61.169058\n",
"std 30.698514\n",
"min 10.000000\n",
"50% 57.000000\n",
"95% 102.000000\n",
"96% 107.000000\n",
"97% 113.000000\n",
"98% 127.000000\n",
"99% 156.000000\n",
"max 1522.000000\n",
"dtype: float64"
]
},
"execution_count": 8,
"metadata": {},
"output_type": "execute_result"
},
{
"data": {
"image/png": "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
"text/plain": [
"<Figure size 432x288 with 1 Axes>"
]
},
"metadata": {
"needs_background": "light"
},
"output_type": "display_data"
}
],
"source": [
"import matplotlib.pyplot as plt\n",
"print (XX)\n",
"X_len = np.asarray(list(map(len, XX)))\n",
"l = []\n",
"sq_xlen = pd.Series(X_len)\n",
"ptiles = [x*0.01 for x in range(100)]\n",
"for i in ptiles:\n",
" l.append(sq_xlen.quantile(i))\n",
" print(l)\n",
"plt.plot(l, ptiles)\n",
"sq_xlen.describe(percentiles=[x*0.01 for x in range(95,100)])"
]
},
{
"cell_type": "code",
"execution_count": 9,
"id": "1a8beb73",
"metadata": {},
"outputs": [],
"source": [
"def plot_data(data):\n",
" fig, axs = plt.subplots(4, 3, figsize=(3*3, 3*4))\n",
" t = data['Millis']\n",
" axs[0][0].plot(t, data['Acc1 X'])\n",
" axs[0][1].plot(t, data['Acc1 Y'])\n",
" axs[0][2].plot(t, data['Acc1 Z'])\n",
" axs[1][0].plot(t, data['Acc2 X'])\n",
" axs[1][1].plot(t, data['Acc2 Y'])\n",
" axs[1][2].plot(t, data['Acc2 Z'])\n",
" axs[2][0].plot(t, data['Gyro X'])\n",
" axs[2][1].plot(t, data['Gyro Y'])\n",
" axs[2][2].plot(t, data['Gyro Z'])\n",
" axs[3][0].plot(t, data['Mag X'])\n",
" axs[3][1].plot(t, data['Mag Y'])\n",
" axs[3][2].plot(t, data['Mag Z'])\n",
"\n",
" for a in axs:\n",
" for b in a:\n",
" b.plot(t, data['Force'])\n"
]
},
{
"cell_type": "code",
"execution_count": 10,
"id": "0dcd7db2",
"metadata": {},
"outputs": [
{
"data": {
"text/plain": [
"((12974,), (72, 15))"
]
},
"execution_count": 10,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"threshold_p = 0.99\n",
"threshold = int(sq_xlen.quantile(threshold_p))\n",
"len_mask = np.where(X_len <= threshold)\n",
"\n",
"X_filter = XX[len_mask]\n",
"y_filter = y[len_mask]\n",
"\n",
"X_filter.shape, X_filter[0].shape"
]
},
{
"cell_type": "code",
"execution_count": 11,
"id": "3a0e96ac",
"metadata": {},
"outputs": [],
"source": [
"from tensorflow.keras.preprocessing.sequence import pad_sequences\n",
"a = [x.drop(labels='Millis', axis=1) for x in X_filter]"
]
},
{
"cell_type": "code",
"execution_count": 12,
"id": "d2d8e64d",
"metadata": {},
"outputs": [],
"source": [
"X_filter = pad_sequences(X_filter, dtype=float, padding='post')"
]
},
{
"cell_type": "code",
"execution_count": 13,
"id": "77c502cd",
"metadata": {},
"outputs": [],
"source": [
"def plot_data(data):\n",
" fig, axs = plt.subplots(5, 3, figsize=(3*3, 3*5))\n",
" axs[0][0].plot(data[0])\n",
" axs[0][1].plot(data[1])\n",
" axs[0][2].plot(data[2])\n",
" axs[1][0].plot(data[3])\n",
" axs[1][1].plot(data[4])\n",
" axs[1][2].plot(data[5])\n",
" axs[2][0].plot(data[6])\n",
" axs[2][1].plot(data[7])\n",
" axs[2][2].plot(data[8])\n",
" axs[3][0].plot(data[9])\n",
" axs[3][1].plot(data[10])\n",
" axs[3][2].plot(data[11])\n",
" axs[4][0].plot(data[12])\n",
" axs[4][1].plot(data[13])\n",
"\n",
"# for a in axs:\n",
"# for b in a:\n",
"# b.plot(t, data['Force'])\n"
]
},
{
"cell_type": "code",
"execution_count": 14,
"id": "7235d56c",
"metadata": {},
"outputs": [],
"source": [
"from sklearn.model_selection import train_test_split\n",
"from sklearn.preprocessing import LabelEncoder, LabelBinarizer\n",
"import tensorflow as tf\n",
"\n",
"lb = LabelBinarizer()\n",
"\n",
"yt_filter = lb.fit_transform(y_filter)"
]
},
{
"cell_type": "code",
"execution_count": 15,
"id": "cc983f80",
"metadata": {},
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"(10379, 156, 15)\n",
"(2595, 156, 15)\n",
"(10379, 26)\n",
"(2595, 26)\n"
]
},
{
"data": {
"image/png": "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
"text/plain": [
"<Figure size 648x1080 with 15 Axes>"
]
},
"metadata": {
"needs_background": "light"
},
"output_type": "display_data"
}
],
"source": [
"X_train, X_test, y_train, y_test = train_test_split(X_filter, yt_filter, test_size=0.2, random_state=177013)\n",
"\n",
"print(X_train.shape)\n",
"print(X_test.shape)\n",
"print(y_train.shape)\n",
"print(y_test.shape)\n",
"\n",
"plot_data(X_filter[0].T)"
]
},
{
"cell_type": "code",
"execution_count": 16,
"id": "59d6ebca",
"metadata": {},
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"Model: \"sequential\"\n",
"_________________________________________________________________\n",
"Layer (type) Output Shape Param # \n",
"=================================================================\n",
"flatten (Flatten) (None, 2340) 0 \n",
"_________________________________________________________________\n",
"batch_normalization (BatchNo (None, 2340) 9360 \n",
"_________________________________________________________________\n",
"dense (Dense) (None, 1560) 3651960 \n",
"_________________________________________________________________\n",
"dense_1 (Dense) (None, 750) 1170750 \n",
"_________________________________________________________________\n",
"dense_2 (Dense) (None, 300) 225300 \n",
"_________________________________________________________________\n",
"dense_3 (Dense) (None, 156) 46956 \n",
"_________________________________________________________________\n",
"dense_4 (Dense) (None, 26) 4082 \n",
"=================================================================\n",
"Total params: 5,108,408\n",
"Trainable params: 5,103,728\n",
"Non-trainable params: 4,680\n",
"_________________________________________________________________\n"
]
}
],
"source": [
"import tensorflow as tf\n",
"from tensorflow.keras.models import Sequential\n",
"from tensorflow.keras.layers import Dense, Flatten, BatchNormalization\n",
"\n",
"model = Sequential()\n",
"\n",
"model.add(Flatten(input_shape=X_filter[0].shape))\n",
"\n",
"model.add(BatchNormalization())\n",
"\n",
"model.add(Dense(1560, activation='relu'))\n",
"\n",
"model.add(Dense(750, activation='relu'))\n",
"\n",
"model.add(Dense(300, activation='relu'))\n",
"\n",
"model.add(Dense(156, activation='relu'))\n",
"\n",
"model.add(Dense(26, activation='softmax'))\n",
"\n",
"model.compile(\n",
" optimizer=tf.keras.optimizers.Adam(0.001),\n",
" loss=\"categorical_crossentropy\", \n",
" metrics=[\"acc\"],\n",
")\n",
"\n",
"model.summary()"
]
},
{
"cell_type": "code",
"execution_count": 17,
"id": "f4032731",
"metadata": {},
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"Epoch 1/20\n",
"163/163 [==============================] - 2s 4ms/step - loss: 2.8054 - acc: 0.1758\n",
"Epoch 2/20\n",
"163/163 [==============================] - 1s 3ms/step - loss: 1.6546 - acc: 0.4853\n",
"Epoch 3/20\n",
"163/163 [==============================] - 1s 3ms/step - loss: 1.2309 - acc: 0.6210\n",
"Epoch 4/20\n",
"163/163 [==============================] - 1s 3ms/step - loss: 0.9498 - acc: 0.6970\n",
"Epoch 5/20\n",
"163/163 [==============================] - 1s 3ms/step - loss: 0.7573 - acc: 0.7576\n",
"Epoch 6/20\n",
"163/163 [==============================] - 1s 3ms/step - loss: 0.6517 - acc: 0.7947\n",
"Epoch 7/20\n",
"163/163 [==============================] - 1s 3ms/step - loss: 0.5346 - acc: 0.8296\n",
"Epoch 8/20\n",
"163/163 [==============================] - 1s 3ms/step - loss: 0.4961 - acc: 0.8433\n",
"Epoch 9/20\n",
"163/163 [==============================] - 1s 3ms/step - loss: 0.4598 - acc: 0.8598\n",
"Epoch 10/20\n",
"163/163 [==============================] - 1s 3ms/step - loss: 0.4350 - acc: 0.8617\n",
"Epoch 11/20\n",
"163/163 [==============================] - 1s 3ms/step - loss: 0.3451 - acc: 0.8938\n",
"Epoch 12/20\n",
"163/163 [==============================] - 1s 3ms/step - loss: 0.2625 - acc: 0.9171\n",
"Epoch 13/20\n",
"163/163 [==============================] - 1s 3ms/step - loss: 0.3213 - acc: 0.9061\n",
"Epoch 14/20\n",
"163/163 [==============================] - 1s 3ms/step - loss: 0.2438 - acc: 0.9214\n",
"Epoch 15/20\n",
"163/163 [==============================] - 1s 3ms/step - loss: 0.2206 - acc: 0.9301\n",
"Epoch 16/20\n",
"163/163 [==============================] - 1s 3ms/step - loss: 0.2177 - acc: 0.9317\n",
"Epoch 17/20\n",
"163/163 [==============================] - 1s 3ms/step - loss: 0.2512 - acc: 0.9239\n",
"Epoch 18/20\n",
"163/163 [==============================] - 1s 3ms/step - loss: 0.1521 - acc: 0.9502\n",
"Epoch 19/20\n",
"163/163 [==============================] - 1s 3ms/step - loss: 0.1574 - acc: 0.9545\n",
"Epoch 20/20\n",
"163/163 [==============================] - 1s 3ms/step - loss: 0.1940 - acc: 0.9412\n"
]
},
{
"data": {
"text/plain": [
"<tensorflow.python.keras.callbacks.History at 0x7fa1a80ab070>"
]
},
"execution_count": 17,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"model.fit(X_train, y_train, \n",
" epochs=20,\n",
" batch_size=64,\n",
" shuffle=True,\n",
" verbose=1\n",
" )"
]
},
{
"cell_type": "code",
"execution_count": 18,
"id": "e20cb3cd",
"metadata": {},
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"Evaluate on test data\n",
"82/82 [==============================] - 0s 2ms/step - loss: 1.4639 - acc: 0.7356\n",
"test loss, test acc: [1.4639196395874023, 0.7356454730033875]\n",
"Generate predictions for 3 samples\n",
"predictions shape: (3, 26)\n"
]
},
{
"data": {
"text/plain": [
"(array(['N', 'U', 'I'], dtype='<U1'), array(['N', 'U', 'I'], dtype='<U1'))"
]
},
"execution_count": 18,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"# Evaluate the model on the test data using `evaluate`\n",
"print(\"Evaluate on test data\")\n",
"results = model.evaluate(X_test, y_test, batch_size=32)\n",
"print(\"test loss, test acc:\", results)\n",
"\n",
"# Generate predictions (probabilities -- the output of the last layer)\n",
"# on new data using `predict`\n",
"print(\"Generate predictions for 3 samples\")\n",
"predictions = model.predict(X_test[:3])\n",
"print(\"predictions shape:\", predictions.shape)\n",
"\n",
"lb.inverse_transform(y_test[:3]), lb.inverse_transform(predictions)"
]
},
{
"cell_type": "code",
"execution_count": 19,
"id": "5f88c9c6",
"metadata": {},
"outputs": [],
"source": [
"exit()"
]
}
],
"metadata": {
"kernelspec": {
"display_name": "Python 3",
"language": "python",
"name": "python3"
},
"language_info": {
"codemirror_mode": {
"name": "ipython",
"version": 3
},
"file_extension": ".py",
"mimetype": "text/x-python",
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.8.10"
}
},
"nbformat": 4,
"nbformat_minor": 5
}