Skip to content

Commit 34f05b8

Browse files
edit spark output
1 parent f7f8ea3 commit 34f05b8

File tree

9 files changed

+50
-27879
lines changed

9 files changed

+50
-27879
lines changed

Chapter5/spark.ipynb

Lines changed: 8 additions & 9287 deletions
Large diffs are not rendered by default.

Chapter5/time_series.ipynb

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -2149,7 +2149,7 @@
21492149
},
21502150
{
21512151
"cell_type": "code",
2152-
"execution_count": 14,
2152+
"execution_count": 2,
21532153
"id": "24b7ad9e",
21542154
"metadata": {},
21552155
"outputs": [],
@@ -2160,7 +2160,7 @@
21602160
},
21612161
{
21622162
"cell_type": "code",
2163-
"execution_count": 48,
2163+
"execution_count": 14,
21642164
"id": "50eeebab",
21652165
"metadata": {},
21662166
"outputs": [
@@ -2234,7 +2234,7 @@
22342234
"4 H1 5 511.0"
22352235
]
22362236
},
2237-
"execution_count": 48,
2237+
"execution_count": 14,
22382238
"metadata": {},
22392239
"output_type": "execute_result"
22402240
}
@@ -2255,7 +2255,7 @@
22552255
},
22562256
{
22572257
"cell_type": "code",
2258-
"execution_count": 49,
2258+
"execution_count": 6,
22592259
"id": "841e1bce",
22602260
"metadata": {},
22612261
"outputs": [],
@@ -2276,7 +2276,7 @@
22762276
},
22772277
{
22782278
"cell_type": "code",
2279-
"execution_count": 66,
2279+
"execution_count": 7,
22802280
"id": "c73fe9e2",
22812281
"metadata": {},
22822282
"outputs": [
@@ -2287,7 +2287,7 @@
22872287
"<Figure size 800x300 with 1 Axes>"
22882288
]
22892289
},
2290-
"execution_count": 66,
2290+
"execution_count": 7,
22912291
"metadata": {},
22922292
"output_type": "execute_result"
22932293
}
@@ -2314,7 +2314,7 @@
23142314
},
23152315
{
23162316
"cell_type": "code",
2317-
"execution_count": 18,
2317+
"execution_count": 8,
23182318
"id": "6bb3d822",
23192319
"metadata": {},
23202320
"outputs": [],
@@ -2328,7 +2328,7 @@
23282328
},
23292329
{
23302330
"cell_type": "code",
2331-
"execution_count": 38,
2331+
"execution_count": 9,
23322332
"id": "726a70d3",
23332333
"metadata": {},
23342334
"outputs": [],
@@ -2354,7 +2354,7 @@
23542354
},
23552355
{
23562356
"cell_type": "code",
2357-
"execution_count": 41,
2357+
"execution_count": 11,
23582358
"id": "b727a092",
23592359
"metadata": {},
23602360
"outputs": [
@@ -2364,14 +2364,14 @@
23642364
"MLForecast(models=[LinearRegression, KNeighborsRegressor], freq=1, lag_features=['lag24', 'lag48', 'lag72', 'lag96', 'lag120', 'lag144', 'lag168'], date_features=[], num_threads=1)"
23652365
]
23662366
},
2367-
"execution_count": 41,
2367+
"execution_count": 11,
23682368
"metadata": {},
23692369
"output_type": "execute_result"
23702370
}
23712371
],
23722372
"source": [
23732373
"mlf.fit(\n",
2374-
" data=train,\n",
2374+
" df=train,\n",
23752375
" prediction_intervals=PredictionIntervals(n_windows=10, h=48),\n",
23762376
")"
23772377
]
@@ -2386,7 +2386,7 @@
23862386
},
23872387
{
23882388
"cell_type": "code",
2389-
"execution_count": 68,
2389+
"execution_count": 13,
23902390
"id": "a34fd4e5",
23912391
"metadata": {},
23922392
"outputs": [
@@ -2573,7 +2573,7 @@
25732573
"4 491.92 508.645 "
25742574
]
25752575
},
2576-
"execution_count": 68,
2576+
"execution_count": 13,
25772577
"metadata": {},
25782578
"output_type": "execute_result"
25792579
}

Chapter5/visualization.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4550,7 +4550,7 @@
45504550
"name": "python",
45514551
"nbconvert_exporter": "python",
45524552
"pygments_lexer": "ipython3",
4553-
"version": "3.11.6"
4553+
"version": "3.11.4"
45544554
},
45554555
"toc": {
45564556
"base_numbering": 1,

docs/Chapter5/spark.html

Lines changed: 4 additions & 9275 deletions
Large diffs are not rendered by default.

docs/Chapter5/time_series.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1935,7 +1935,7 @@ <h2><span class="section-number">6.7.17. </span>Beyond Point Estimates: Leverage
19351935
<div class="cell docutils container">
19361936
<div class="cell_input docutils container">
19371937
<div class="highlight-ipython3 notranslate"><div class="highlight"><pre><span></span><span class="n">mlf</span><span class="o">.</span><span class="n">fit</span><span class="p">(</span>
1938-
<span class="n">data</span><span class="o">=</span><span class="n">train</span><span class="p">,</span>
1938+
<span class="n">df</span><span class="o">=</span><span class="n">train</span><span class="p">,</span>
19391939
<span class="n">prediction_intervals</span><span class="o">=</span><span class="n">PredictionIntervals</span><span class="p">(</span><span class="n">n_windows</span><span class="o">=</span><span class="mi">10</span><span class="p">,</span> <span class="n">h</span><span class="o">=</span><span class="mi">48</span><span class="p">),</span>
19401940
<span class="p">)</span>
19411941
</pre></div>

docs/_sources/Chapter5/spark.ipynb

Lines changed: 8 additions & 9287 deletions
Large diffs are not rendered by default.

docs/_sources/Chapter5/time_series.ipynb

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -2149,7 +2149,7 @@
21492149
},
21502150
{
21512151
"cell_type": "code",
2152-
"execution_count": 14,
2152+
"execution_count": 2,
21532153
"id": "24b7ad9e",
21542154
"metadata": {},
21552155
"outputs": [],
@@ -2160,7 +2160,7 @@
21602160
},
21612161
{
21622162
"cell_type": "code",
2163-
"execution_count": 48,
2163+
"execution_count": 14,
21642164
"id": "50eeebab",
21652165
"metadata": {},
21662166
"outputs": [
@@ -2234,7 +2234,7 @@
22342234
"4 H1 5 511.0"
22352235
]
22362236
},
2237-
"execution_count": 48,
2237+
"execution_count": 14,
22382238
"metadata": {},
22392239
"output_type": "execute_result"
22402240
}
@@ -2255,7 +2255,7 @@
22552255
},
22562256
{
22572257
"cell_type": "code",
2258-
"execution_count": 49,
2258+
"execution_count": 6,
22592259
"id": "841e1bce",
22602260
"metadata": {},
22612261
"outputs": [],
@@ -2276,7 +2276,7 @@
22762276
},
22772277
{
22782278
"cell_type": "code",
2279-
"execution_count": 66,
2279+
"execution_count": 7,
22802280
"id": "c73fe9e2",
22812281
"metadata": {},
22822282
"outputs": [
@@ -2287,7 +2287,7 @@
22872287
"<Figure size 800x300 with 1 Axes>"
22882288
]
22892289
},
2290-
"execution_count": 66,
2290+
"execution_count": 7,
22912291
"metadata": {},
22922292
"output_type": "execute_result"
22932293
}
@@ -2314,7 +2314,7 @@
23142314
},
23152315
{
23162316
"cell_type": "code",
2317-
"execution_count": 18,
2317+
"execution_count": 8,
23182318
"id": "6bb3d822",
23192319
"metadata": {},
23202320
"outputs": [],
@@ -2328,7 +2328,7 @@
23282328
},
23292329
{
23302330
"cell_type": "code",
2331-
"execution_count": 38,
2331+
"execution_count": 9,
23322332
"id": "726a70d3",
23332333
"metadata": {},
23342334
"outputs": [],
@@ -2354,7 +2354,7 @@
23542354
},
23552355
{
23562356
"cell_type": "code",
2357-
"execution_count": 41,
2357+
"execution_count": 11,
23582358
"id": "b727a092",
23592359
"metadata": {},
23602360
"outputs": [
@@ -2364,14 +2364,14 @@
23642364
"MLForecast(models=[LinearRegression, KNeighborsRegressor], freq=1, lag_features=['lag24', 'lag48', 'lag72', 'lag96', 'lag120', 'lag144', 'lag168'], date_features=[], num_threads=1)"
23652365
]
23662366
},
2367-
"execution_count": 41,
2367+
"execution_count": 11,
23682368
"metadata": {},
23692369
"output_type": "execute_result"
23702370
}
23712371
],
23722372
"source": [
23732373
"mlf.fit(\n",
2374-
" data=train,\n",
2374+
" df=train,\n",
23752375
" prediction_intervals=PredictionIntervals(n_windows=10, h=48),\n",
23762376
")"
23772377
]
@@ -2386,7 +2386,7 @@
23862386
},
23872387
{
23882388
"cell_type": "code",
2389-
"execution_count": 68,
2389+
"execution_count": 13,
23902390
"id": "a34fd4e5",
23912391
"metadata": {},
23922392
"outputs": [
@@ -2573,7 +2573,7 @@
25732573
"4 491.92 508.645 "
25742574
]
25752575
},
2576-
"execution_count": 68,
2576+
"execution_count": 13,
25772577
"metadata": {},
25782578
"output_type": "execute_result"
25792579
}

docs/_sources/Chapter5/visualization.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4550,7 +4550,7 @@
45504550
"name": "python",
45514551
"nbconvert_exporter": "python",
45524552
"pygments_lexer": "ipython3",
4553-
"version": "3.11.6"
4553+
"version": "3.11.4"
45544554
},
45554555
"toc": {
45564556
"base_numbering": 1,

docs/searchindex.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)