Skip to content

Commit

Permalink
docs: update output
Browse files Browse the repository at this point in the history
  • Loading branch information
MartinBernstorff committed Dec 8, 2022
1 parent 92c3d3b commit a4fa6f7
Showing 1 changed file with 30 additions and 30 deletions.
60 changes: 30 additions & 30 deletions tutorials/02_advanced.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -400,12 +400,12 @@
"name": "stderr",
"output_type": "stream",
"text": [
"2022-12-08 10:33:37 [INFO] There were unprocessed specs, computing...\n",
"2022-12-08 10:33:37 [INFO] _drop_pred_time_if_insufficient_look_distance: Dropped 4038 (0.4%) rows\n",
"100%|██████████| 4/4 [00:01<00:00, 3.13it/s]\n",
"2022-12-08 10:33:39 [INFO] Starting concatenation. Will take some time on performant systems, e.g. 30s for 100 features. This is normal.\n",
"2022-12-08 10:33:39 [INFO] Concatenation took 0.016 seconds\n",
"2022-12-08 10:33:39 [INFO] Merging with original df\n"
"2022-12-08 14:14:12 [INFO] There were unprocessed specs, computing...\n",
"2022-12-08 14:14:12 [INFO] _drop_pred_time_if_insufficient_look_distance: Dropped 4038 (0.4%) rows\n",
"100%|██████████| 4/4 [00:01<00:00, 3.08it/s]\n",
"2022-12-08 14:14:13 [INFO] Starting concatenation. Will take some time on performant systems, e.g. 30s for 100 features. This is normal.\n",
"2022-12-08 14:14:13 [INFO] Concatenation took 0.018 seconds\n",
"2022-12-08 14:14:13 [INFO] Merging with original df\n"
]
}
],
Expand Down Expand Up @@ -436,9 +436,9 @@
"│ ┃<span style=\"font-weight: bold\"> column_name </span>┃<span style=\"font-weight: bold\"> NA </span>┃<span style=\"font-weight: bold\"> NA % </span>┃<span style=\"font-weight: bold\"> mean </span>┃<span style=\"font-weight: bold\"> sd </span>┃<span style=\"font-weight: bold\"> p0 </span>┃<span style=\"font-weight: bold\"> p25 </span>┃<span style=\"font-weight: bold\"> p75 </span>┃<span style=\"font-weight: bold\"> p100 </span>┃<span style=\"font-weight: bold\"> hist </span>┃ │\n",
"│ ┡━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━╇━━━━━━━━╇━━━━━━━━╇━━━━━━━╇━━━━━━━━━━━╇━━━━━━━╇━━━━━━━╇━━━━━━━━╇━━━━━━━━━┩ │\n",
"│ │ <span style=\"color: #af87ff; text-decoration-color: #af87ff\">dw_ek_borger </span> │ <span style=\"color: #008080; text-decoration-color: #008080\"> 0</span> │ <span style=\"color: #008080; text-decoration-color: #008080\"> 0</span> │ <span style=\"color: #008080; text-decoration-color: #008080\"> 5000</span> │ <span style=\"color: #008080; text-decoration-color: #008080\"> 2900</span> │ <span style=\"color: #008080; text-decoration-color: #008080\"> 0</span> │ <span style=\"color: #008080; text-decoration-color: #008080\"> 2500</span> │ <span style=\"color: #008080; text-decoration-color: #008080\"> 7400</span> │ <span style=\"color: #008080; text-decoration-color: #008080\"> 10000</span> │ <span style=\"color: #008000; text-decoration-color: #008000\">█▇███▇ </span> │ │\n",
"│ │ <span style=\"color: #af87ff; text-decoration-color: #af87ff\">pred_synth_predictor </span> │ <span style=\"color: #008080; text-decoration-color: #008080\"> 820</span> │ <span style=\"color: #008080; text-decoration-color: #008080\"> 14</span> │ <span style=\"color: #008080; text-decoration-color: #008080\"> 6.6</span> │ <span style=\"color: #008080; text-decoration-color: #008080\"> 2.6</span> │ <span style=\"color: #008080; text-decoration-color: #008080\"> 0.00039</span> │ <span style=\"color: #008080; text-decoration-color: #008080\"> 4.8</span> │ <span style=\"color: #008080; text-decoration-color: #008080\"> 8.8</span> │ <span style=\"color: #008080; text-decoration-color: #008080\"> 10</span> │ <span style=\"color: #008000; text-decoration-color: #008000\">▁▂▃▄▆█ </span> │ │\n",
"│ │ <span style=\"color: #af87ff; text-decoration-color: #af87ff\">pred_synth_predictor </span> │ <span style=\"color: #008080; text-decoration-color: #008080\"> 820</span> │ <span style=\"color: #008080; text-decoration-color: #008080\"> 14</span> │ <span style=\"color: #008080; text-decoration-color: #008080\"> 5</span> │ <span style=\"color: #008080; text-decoration-color: #008080\"> 2.1</span> │ <span style=\"color: #008080; text-decoration-color: #008080\"> 0.00039</span> │ <span style=\"color: #008080; text-decoration-color: #008080\"> 3.5</span> │ <span style=\"color: #008080; text-decoration-color: #008080\"> 6.4</span> │ <span style=\"color: #008080; text-decoration-color: #008080\"> 10</span> │ <span style=\"color: #008000; text-decoration-color: #008000\">▂▄██▄▂ </span> │ │\n",
"│ │ <span style=\"color: #af87ff; text-decoration-color: #af87ff\">pred_synth_predictor </span> │ <span style=\"color: #008080; text-decoration-color: #008080\"> 110</span> │ <span style=\"color: #008080; text-decoration-color: #008080\"> 1.8</span> │ <span style=\"color: #008080; text-decoration-color: #008080\"> 7.7</span> │ <span style=\"color: #008080; text-decoration-color: #008080\"> 2.1</span> │ <span style=\"color: #008080; text-decoration-color: #008080\"> 0.058</span> │ <span style=\"color: #008080; text-decoration-color: #008080\"> 6.7</span> │ <span style=\"color: #008080; text-decoration-color: #008080\"> 9.3</span> │ <span style=\"color: #008080; text-decoration-color: #008080\"> 10</span> │ <span style=\"color: #008000; text-decoration-color: #008000\"> ▁▁▂▄█ </span> │ │\n",
"│ │ <span style=\"color: #af87ff; text-decoration-color: #af87ff\">pred_synth_predictor </span> │ <span style=\"color: #008080; text-decoration-color: #008080\"> 820</span> │ <span style=\"color: #008080; text-decoration-color: #008080\"> 14</span> │ <span style=\"color: #008080; text-decoration-color: #008080\"> 6.6</span> │ <span style=\"color: #008080; text-decoration-color: #008080\"> 2.6</span> │ <span style=\"color: #008080; text-decoration-color: #008080\"> 0.00039</span> │ <span style=\"color: #008080; text-decoration-color: #008080\"> 4.8</span> │ <span style=\"color: #008080; text-decoration-color: #008080\"> 8.8</span> │ <span style=\"color: #008080; text-decoration-color: #008080\"> 10</span> │ <span style=\"color: #008000; text-decoration-color: #008000\">▁▂▃▄▆█ </span> │ │\n",
"│ │ <span style=\"color: #af87ff; text-decoration-color: #af87ff\">pred_synth_predictor </span> │ <span style=\"color: #008080; text-decoration-color: #008080\"> 110</span> │ <span style=\"color: #008080; text-decoration-color: #008080\"> 1.8</span> │ <span style=\"color: #008080; text-decoration-color: #008080\"> 5</span> │ <span style=\"color: #008080; text-decoration-color: #008080\"> 1.7</span> │ <span style=\"color: #008080; text-decoration-color: #008080\"> 0.058</span> │ <span style=\"color: #008080; text-decoration-color: #008080\"> 3.9</span> │ <span style=\"color: #008080; text-decoration-color: #008080\"> 6.1</span> │ <span style=\"color: #008080; text-decoration-color: #008080\"> 9.9</span> │ <span style=\"color: #008000; text-decoration-color: #008000\">▁▃██▃▁ </span> │ │\n",
"│ └───────────────────────────┴───────┴────────┴────────┴───────┴───────────┴───────┴───────┴────────┴─────────┘ │\n",
"│ <span style=\"font-style: italic\"> datetime </span> │\n",
Expand Down Expand Up @@ -472,9 +472,9 @@
"│ ┃\u001b[1m \u001b[0m\u001b[1mcolumn_name \u001b[0m\u001b[1m \u001b[0m┃\u001b[1m \u001b[0m\u001b[1mNA \u001b[0m\u001b[1m \u001b[0m┃\u001b[1m \u001b[0m\u001b[1mNA % \u001b[0m\u001b[1m \u001b[0m┃\u001b[1m \u001b[0m\u001b[1mmean \u001b[0m\u001b[1m \u001b[0m┃\u001b[1m \u001b[0m\u001b[1msd \u001b[0m\u001b[1m \u001b[0m┃\u001b[1m \u001b[0m\u001b[1mp0 \u001b[0m\u001b[1m \u001b[0m┃\u001b[1m \u001b[0m\u001b[1mp25 \u001b[0m\u001b[1m \u001b[0m┃\u001b[1m \u001b[0m\u001b[1mp75 \u001b[0m\u001b[1m \u001b[0m┃\u001b[1m \u001b[0m\u001b[1mp100 \u001b[0m\u001b[1m \u001b[0m┃\u001b[1m \u001b[0m\u001b[1mhist \u001b[0m\u001b[1m \u001b[0m┃ │\n",
"│ ┡━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━╇━━━━━━━━╇━━━━━━━━╇━━━━━━━╇━━━━━━━━━━━╇━━━━━━━╇━━━━━━━╇━━━━━━━━╇━━━━━━━━━┩ │\n",
"│ │ \u001b[38;5;141mdw_ek_borger \u001b[0m │ \u001b[36m 0\u001b[0m │ \u001b[36m 0\u001b[0m │ \u001b[36m 5000\u001b[0m │ \u001b[36m 2900\u001b[0m │ \u001b[36m 0\u001b[0m │ \u001b[36m 2500\u001b[0m │ \u001b[36m 7400\u001b[0m │ \u001b[36m 10000\u001b[0m │ \u001b[32m█▇███▇ \u001b[0m │ │\n",
"│ │ \u001b[38;5;141mpred_synth_predictor \u001b[0m │ \u001b[36m 820\u001b[0m │ \u001b[36m 14\u001b[0m │ \u001b[36m 6.6\u001b[0m │ \u001b[36m 2.6\u001b[0m │ \u001b[36m 0.00039\u001b[0m │ \u001b[36m 4.8\u001b[0m │ \u001b[36m 8.8\u001b[0m │ \u001b[36m 10\u001b[0m │ \u001b[32m▁▂▃▄▆█ \u001b[0m │ │\n",
"│ │ \u001b[38;5;141mpred_synth_predictor \u001b[0m │ \u001b[36m 820\u001b[0m │ \u001b[36m 14\u001b[0m │ \u001b[36m 5\u001b[0m │ \u001b[36m 2.1\u001b[0m │ \u001b[36m 0.00039\u001b[0m │ \u001b[36m 3.5\u001b[0m │ \u001b[36m 6.4\u001b[0m │ \u001b[36m 10\u001b[0m │ \u001b[32m▂▄██▄▂ \u001b[0m │ │\n",
"│ │ \u001b[38;5;141mpred_synth_predictor \u001b[0m │ \u001b[36m 110\u001b[0m │ \u001b[36m 1.8\u001b[0m │ \u001b[36m 7.7\u001b[0m │ \u001b[36m 2.1\u001b[0m │ \u001b[36m 0.058\u001b[0m │ \u001b[36m 6.7\u001b[0m │ \u001b[36m 9.3\u001b[0m │ \u001b[36m 10\u001b[0m │ \u001b[32m ▁▁▂▄█ \u001b[0m │ │\n",
"│ │ \u001b[38;5;141mpred_synth_predictor \u001b[0m │ \u001b[36m 820\u001b[0m │ \u001b[36m 14\u001b[0m │ \u001b[36m 6.6\u001b[0m │ \u001b[36m 2.6\u001b[0m │ \u001b[36m 0.00039\u001b[0m │ \u001b[36m 4.8\u001b[0m │ \u001b[36m 8.8\u001b[0m │ \u001b[36m 10\u001b[0m │ \u001b[32m▁▂▃▄▆█ \u001b[0m │ │\n",
"│ │ \u001b[38;5;141mpred_synth_predictor \u001b[0m │ \u001b[36m 110\u001b[0m │ \u001b[36m 1.8\u001b[0m │ \u001b[36m 5\u001b[0m │ \u001b[36m 1.7\u001b[0m │ \u001b[36m 0.058\u001b[0m │ \u001b[36m 3.9\u001b[0m │ \u001b[36m 6.1\u001b[0m │ \u001b[36m 9.9\u001b[0m │ \u001b[32m▁▃██▃▁ \u001b[0m │ │\n",
"│ └───────────────────────────┴───────┴────────┴────────┴───────┴───────────┴───────┴───────┴────────┴─────────┘ │\n",
"\u001b[3m datetime \u001b[0m │\n",
Expand Down Expand Up @@ -519,9 +519,9 @@
" <th>dw_ek_borger</th>\n",
" <th>timestamp</th>\n",
" <th>prediction_time_uuid</th>\n",
" <th>pred_synth_predictor_float_within_365_days_maximum_fallback_nan</th>\n",
" <th>pred_synth_predictor_float_within_365_days_mean_fallback_nan</th>\n",
" <th>pred_synth_predictor_float_within_730_days_maximum_fallback_nan</th>\n",
" <th>pred_synth_predictor_float_within_365_days_maximum_fallback_nan</th>\n",
" <th>pred_synth_predictor_float_within_730_days_mean_fallback_nan</th>\n",
" </tr>\n",
" </thead>\n",
Expand All @@ -532,27 +532,27 @@
" <td>1968-05-09 21:24:00</td>\n",
" <td>9903-1968-05-09-21-24-00</td>\n",
" <td>0.154981</td>\n",
" <td>2.194319</td>\n",
" <td>0.154981</td>\n",
" <td>2.194319</td>\n",
" <td>0.990763</td>\n",
" </tr>\n",
" <tr>\n",
" <th>1</th>\n",
" <td>6447</td>\n",
" <td>1967-09-25 18:08:00</td>\n",
" <td>6447-1967-09-25-18-08-00</td>\n",
" <td>8.930256</td>\n",
" <td>5.396017</td>\n",
" <td>9.774050</td>\n",
" <td>8.930256</td>\n",
" <td>5.582745</td>\n",
" </tr>\n",
" <tr>\n",
" <th>2</th>\n",
" <td>4927</td>\n",
" <td>1968-06-30 12:13:00</td>\n",
" <td>4927-1968-06-30-12-13-00</td>\n",
" <td>4.957251</td>\n",
" <td>6.730694</td>\n",
" <td>4.957251</td>\n",
" <td>6.730694</td>\n",
" <td>4.957251</td>\n",
" </tr>\n",
Expand All @@ -561,8 +561,8 @@
" <td>5475</td>\n",
" <td>1967-01-09 03:09:00</td>\n",
" <td>5475-1967-01-09-03-09-00</td>\n",
" <td>6.081539</td>\n",
" <td>9.497229</td>\n",
" <td>6.081539</td>\n",
" <td>9.497229</td>\n",
" <td>5.999336</td>\n",
" </tr>\n",
Expand All @@ -571,8 +571,8 @@
" <td>3157</td>\n",
" <td>1969-10-07 05:01:00</td>\n",
" <td>3157-1969-10-07-05-01-00</td>\n",
" <td>5.068323</td>\n",
" <td>5.243176</td>\n",
" <td>5.068323</td>\n",
" <td>5.243176</td>\n",
" <td>5.068323</td>\n",
" </tr>\n",
Expand All @@ -591,8 +591,8 @@
" <td>4228</td>\n",
" <td>1967-02-26 05:45:00</td>\n",
" <td>4228-1967-02-26-05-45-00</td>\n",
" <td>4.353579</td>\n",
" <td>6.844010</td>\n",
" <td>4.353579</td>\n",
" <td>6.844010</td>\n",
" <td>3.792014</td>\n",
" </tr>\n",
Expand All @@ -611,8 +611,8 @@
" <td>3385</td>\n",
" <td>1967-07-17 19:18:00</td>\n",
" <td>3385-1967-07-17-19-18-00</td>\n",
" <td>5.463267</td>\n",
" <td>9.370554</td>\n",
" <td>5.463267</td>\n",
" <td>9.370554</td>\n",
" <td>5.769484</td>\n",
" </tr>\n",
Expand All @@ -632,8 +632,8 @@
" <td>1968-05-17 10:49:00</td>\n",
" <td>1940-1968-05-17-10-49-00</td>\n",
" <td>NaN</td>\n",
" <td>7.448374</td>\n",
" <td>NaN</td>\n",
" <td>7.448374</td>\n",
" <td>4.846514</td>\n",
" </tr>\n",
" </tbody>\n",
Expand All @@ -655,6 +655,19 @@
"5960 1421 1968-04-15 15:53:00 1421-1968-04-15-15-53-00 \n",
"5961 1940 1968-05-17 10:49:00 1940-1968-05-17-10-49-00 \n",
"\n",
" pred_synth_predictor_float_within_365_days_maximum_fallback_nan \\\n",
"0 0.154981 \n",
"1 8.930256 \n",
"2 6.730694 \n",
"3 9.497229 \n",
"4 5.243176 \n",
"... ... \n",
"5957 6.844010 \n",
"5958 3.858509 \n",
"5959 9.370554 \n",
"5960 8.972364 \n",
"5961 NaN \n",
"\n",
" pred_synth_predictor_float_within_365_days_mean_fallback_nan \\\n",
"0 0.154981 \n",
"1 5.396017 \n",
Expand All @@ -681,19 +694,6 @@
"5960 8.972364 \n",
"5961 7.448374 \n",
"\n",
" pred_synth_predictor_float_within_365_days_maximum_fallback_nan \\\n",
"0 0.154981 \n",
"1 8.930256 \n",
"2 6.730694 \n",
"3 9.497229 \n",
"4 5.243176 \n",
"... ... \n",
"5957 6.844010 \n",
"5958 3.858509 \n",
"5959 9.370554 \n",
"5960 8.972364 \n",
"5961 NaN \n",
"\n",
" pred_synth_predictor_float_within_730_days_mean_fallback_nan \n",
"0 0.990763 \n",
"1 5.582745 \n",
Expand Down

0 comments on commit a4fa6f7

Please sign in to comment.