diff --git a/examples/basic/basic.ipynb b/examples/basic/basic.ipynb index beedd5ab8a..28bc456ef9 100644 --- a/examples/basic/basic.ipynb +++ b/examples/basic/basic.ipynb @@ -148,48 +148,48 @@ "output_type": "stream", "text": [ " datetime customer_id daily_transactions \\\n", - "0 2020-06-09 00:00:00+00:00 1001 0.564751 \n", - "1 2020-06-09 00:00:00+00:00 1002 3.945566 \n", - "2 2020-06-09 00:00:00+00:00 1003 7.291928 \n", - "3 2020-06-09 00:00:00+00:00 1004 6.690477 \n", - "4 2020-06-09 00:00:00+00:00 1005 6.415899 \n", - "5 2020-06-10 00:00:00+00:00 1001 0.347294 \n", - "6 2020-06-10 00:00:00+00:00 1002 5.363853 \n", - "7 2020-06-10 00:00:00+00:00 1003 0.538129 \n", - "8 2020-06-10 00:00:00+00:00 1004 4.755425 \n", - "9 2020-06-10 00:00:00+00:00 1005 2.867527 \n", - "10 2020-06-11 00:00:00+00:00 1001 9.493098 \n", - "11 2020-06-11 00:00:00+00:00 1002 5.130665 \n", - "12 2020-06-11 00:00:00+00:00 1003 1.794191 \n", - "13 2020-06-11 00:00:00+00:00 1004 4.698504 \n", - "14 2020-06-11 00:00:00+00:00 1005 2.908603 \n", - "15 2020-06-12 00:00:00+00:00 1001 9.857894 \n", - "16 2020-06-12 00:00:00+00:00 1002 5.416553 \n", - "17 2020-06-12 00:00:00+00:00 1003 5.374058 \n", - "18 2020-06-12 00:00:00+00:00 1004 9.834441 \n", - "19 2020-06-12 00:00:00+00:00 1005 0.480373 \n", + "0 2020-06-17 00:00:00+00:00 1001 4.900417 \n", + "1 2020-06-17 00:00:00+00:00 1002 7.440329 \n", + "2 2020-06-17 00:00:00+00:00 1003 4.224760 \n", + "3 2020-06-17 00:00:00+00:00 1004 5.482722 \n", + "4 2020-06-17 00:00:00+00:00 1005 2.200896 \n", + "5 2020-06-18 00:00:00+00:00 1001 8.173628 \n", + "6 2020-06-18 00:00:00+00:00 1002 3.164327 \n", + "7 2020-06-18 00:00:00+00:00 1003 7.248387 \n", + "8 2020-06-18 00:00:00+00:00 1004 9.274397 \n", + "9 2020-06-18 00:00:00+00:00 1005 7.846449 \n", + "10 2020-06-19 00:00:00+00:00 1001 9.028874 \n", + "11 2020-06-19 00:00:00+00:00 1002 5.140390 \n", + "12 2020-06-19 00:00:00+00:00 1003 4.537877 \n", + "13 2020-06-19 00:00:00+00:00 1004 6.797491 \n", + "14 2020-06-19 00:00:00+00:00 1005 8.234574 \n", + "15 2020-06-20 00:00:00+00:00 1001 8.319164 \n", + "16 2020-06-20 00:00:00+00:00 1002 7.158817 \n", + "17 2020-06-20 00:00:00+00:00 1003 4.920308 \n", + "18 2020-06-20 00:00:00+00:00 1004 7.974404 \n", + "19 2020-06-20 00:00:00+00:00 1005 2.298012 \n", "\n", " total_transactions \n", - "0 73 \n", - "1 75 \n", - "2 95 \n", - "3 50 \n", - "4 65 \n", - "5 28 \n", - "6 76 \n", - "7 42 \n", + "0 45 \n", + "1 77 \n", + "2 8 \n", + "3 40 \n", + "4 53 \n", + "5 33 \n", + "6 93 \n", + "7 68 \n", "8 53 \n", - "9 61 \n", - "10 86 \n", - "11 31 \n", - "12 69 \n", - "13 9 \n", - "14 51 \n", - "15 23 \n", - "16 1 \n", - "17 34 \n", - "18 13 \n", - "19 50 \n" + "9 11 \n", + "10 19 \n", + "11 2 \n", + "12 1 \n", + "13 59 \n", + "14 95 \n", + "15 37 \n", + "16 93 \n", + "17 73 \n", + "18 46 \n", + "19 12 \n" ] } ], @@ -282,7 +282,7 @@ "name": "stdout", "output_type": "stream", "text": [ - "Feature set updated: \"customer_transactions\"\n" + "Feature set created: \"customer_transactions\"\n" ] } ], @@ -310,27 +310,26 @@ " ],\n", " \"features\": [\n", " {\n", - " \"name\": \"total_transactions\",\n", - " \"valueType\": \"INT64\"\n", - " },\n", - " {\n", " \"name\": \"daily_transactions\",\n", " \"valueType\": \"DOUBLE\"\n", + " },\n", + " {\n", + " \"name\": \"total_transactions\",\n", + " \"valueType\": \"INT64\"\n", " }\n", " ],\n", - " \"maxAge\": \"0s\",\n", " \"source\": {\n", " \"type\": \"KAFKA\",\n", " \"kafkaSourceConfig\": {\n", - " \"bootstrapServers\": \"kafka:9092,localhost:9094\",\n", + " \"bootstrapServers\": \"localhost:9094\",\n", " \"topic\": \"feast-features\"\n", " }\n", " },\n", " \"project\": \"default\"\n", " },\n", " \"meta\": {\n", - " \"createdTimestamp\": \"2020-06-18T12:04:08Z\",\n", - " \"status\": \"STATUS_READY\"\n", + " \"createdTimestamp\": \"2020-06-26T12:27:17Z\",\n", + " \"status\": \"STATUS_PENDING\"\n", " }\n", "}\n" ] @@ -357,17 +356,9 @@ }, { "cell_type": "code", - "execution_count": 11, + "execution_count": 10, "metadata": {}, "outputs": [ - { - "name": "stderr", - "output_type": "stream", - "text": [ - "\r", - " 0%| | 0/50 [00:00customer_id\n", " 7032\n", " 7032\n", - " 0256-LTHVJ\n", + " 1934-SJVJK\n", " 1\n", " NaN\n", " NaN\n", @@ -1204,7 +1204,7 @@ ], "text/plain": [ " count unique top freq \\\n", - "customer_id 7032 7032 0256-LTHVJ 1 \n", + "customer_id 7032 7032 1934-SJVJK 1 \n", "gender 7032 NaN NaN NaN \n", "seniorcitizen 7032 NaN NaN NaN \n", "partner 7032 NaN NaN NaN \n", @@ -1562,7 +1562,7 @@ -0.007514979909200033, -0.01632782307070617, -0.013092839264555001, - -8.067457759124324E-4, + -0.0008067457759124324, -0.008507162405232782, -0.0071243969867245535, -0.010105418366566195, @@ -1579,16 +1579,16 @@ -0.003603167413572989, -0.015973079031173835, 0.001631872518613598, - 8.437084888753327E-4, + 0.0008437084888753327, 0.01319936726545174, -0.0010503798619876774, - -6.494991207074467E-4, + -0.0006494991207074467, -0.010516394125351592, -0.004318975744551275, 0.01627881894278637, 0.005285371870295646, -0.013779327268354416, - 4.783950839776602E-5 + 4.783950839776602e-05 ], [ -0.001819390613419179, @@ -1645,7 +1645,7 @@ 0.1425612874681736, -0.0010430787434336079, 0.0012346095228208073, - -2.855204740384597E-4, + -0.0002855204740384597, -0.2802019157901561, 0.08306706395255747, 0.24733370647615796, @@ -1795,7 +1795,7 @@ 0.11139068731904943, 0.0869415675760231, 0.09045518641091457, - -3.6426636786500763E-4, + -0.00036426636786500763, -0.17407470231312427, -0.26736609150996915, -0.08408097138202993, @@ -1807,7 +1807,7 @@ 0.510100290145439 ], [ - -8.067457759124324E-4, + -0.0008067457759124324, 0.059513871482029225, 0.1535564364182745, 0.013899668260943368, @@ -2159,8 +2159,8 @@ 0.04275388869901973, -0.0014704079413737543, -0.013428683581908657, - -4.678565419111244E-4, - -7.9001062411148E-4, + -0.0004678565419111244, + -0.00079001062411148, 0.014665913237832425, 0.013786269825793156, -0.16136793538251534, @@ -2205,7 +2205,7 @@ [ 0.004744965758849955, -0.18251949495535458, - -2.855204740384597E-4, + -0.0002855204740384597, 0.13838288994798562, 0.1718171065699321, -0.33279949932167546, @@ -2300,7 +2300,7 @@ 0.05762874929825631, 0.06758968145792751, -0.10954646682258033, - 1.971241890499786E-4, + 0.0001971241890499786, -0.2512993032332009, -0.017196458507178478, 0.15389327309228798, @@ -2419,13 +2419,13 @@ 0.1826633671546002 ], [ - 8.437084888753327E-4, + 0.0008437084888753327, 0.17132216591713703, -0.08320661736633733, -0.1492739811934336, 0.0027471183312986857, -0.11229466175861408, - -3.6426636786500763E-4, + -0.00036426636786500763, -0.003308493511411254, -0.11480726996437085, 0.1447470086556032, @@ -2475,7 +2475,7 @@ -0.3059839224841771, 0.3196937439459745, 0.006208692442055045, - 1.971241890499786E-4, + 0.0001971241890499786, -0.007422540118618717, -0.28809669563791657, -0.28558254792863036, @@ -2527,7 +2527,7 @@ -0.5924430690900127 ], [ - -6.494991207074467E-4, + -0.0006494991207074467, 0.0018604411671567017, -0.048481275955609554, -0.0014594010172321779, @@ -2579,7 +2579,7 @@ -0.03215707580783382, 0.014777815951004133, 0.023690157563696343, - -4.678565419111244E-4, + -0.0004678565419111244, 0.005613761063888361, -0.006230482005525746, -0.05215631834144274, @@ -2615,7 +2615,7 @@ -0.08063023581160907, 0.009750281447949528, 0.07573985650934924, - -7.9001062411148E-4, + -0.00079001062411148, 0.01746632456448475, -0.020153136101165186, -0.19870886170688193, @@ -2743,7 +2743,7 @@ 0.6510648032262032 ], [ - 4.783950839776602E-5, + 4.783950839776602e-05, 0.10241060539532633, 0.31907236323857324, 0.0646532494217739, @@ -3615,20 +3615,20 @@ "
\n", " \n", " \n", - "
\n", + "
\n", "