Skip to content

Commit 5d7433a

Browse files
v0.2.32
docs, js
1 parent 854ed12 commit 5d7433a

168 files changed

Lines changed: 45510 additions & 10286 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

docs/01_spot_intro.html

Lines changed: 37 additions & 13 deletions
Large diffs are not rendered by default.

docs/02_spot_multidim.html

Lines changed: 30 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -223,13 +223,13 @@
223223
<li class="sidebar-item">
224224
<div class="sidebar-item-container">
225225
<a href="./10_spot_hpt_sklearn_classification.html" class="sidebar-item-text sidebar-link">
226-
<span class="menu-text"><span class="chapter-number">10</span>&nbsp; <span class="chapter-title">Hyperparameter Tuning: sklearn</span></span></a>
226+
<span class="menu-text"><span class="chapter-number">10</span>&nbsp; <span class="chapter-title">Hyperparameter Tuning: sklearn SVC on Moons Data</span></span></a>
227227
</div>
228228
</li>
229229
<li class="sidebar-item">
230230
<div class="sidebar-item-container">
231231
<a href="./11_spot_hpt_torch_fashion_mnist.html" class="sidebar-item-text sidebar-link">
232-
<span class="menu-text"><span class="chapter-number">11</span>&nbsp; <span class="chapter-title">Hyperparameter Tuning: PyTorch With fashionMNIST Data Using Hold-out Data Sets</span></span></a>
232+
<span class="menu-text"><span class="chapter-number">11</span>&nbsp; <span class="chapter-title">Hyperparameter Tuning: PyTorch With fashionMNIST</span></span></a>
233233
</div>
234234
</li>
235235
<li class="sidebar-item">
@@ -243,23 +243,47 @@
243243
<a href="./14_spot_ray_hpt_torch_cifar10.html" class="sidebar-item-text sidebar-link">
244244
<span class="menu-text"><span class="chapter-number">13</span>&nbsp; <span class="chapter-title">Hyperparameter Tuning for PyTorch With <code>spotPython</code></span></span></a>
245245
</div>
246+
</li>
247+
<li class="sidebar-item">
248+
<div class="sidebar-item-container">
249+
<a href="./16_spot_hpt_sklearn_multiclass_classification_randomforest.html" class="sidebar-item-text sidebar-link">
250+
<span class="menu-text"><span class="chapter-number">14</span>&nbsp; <span class="chapter-title">Hyperparameter Tuning: sklearn RandomForestClassifier VBDP Data</span></span></a>
251+
</div>
252+
</li>
253+
<li class="sidebar-item">
254+
<div class="sidebar-item-container">
255+
<a href="./17_spot_hpt_sklearn_multiclass_classification_xgb.html" class="sidebar-item-text sidebar-link">
256+
<span class="menu-text"><span class="chapter-number">15</span>&nbsp; <span class="chapter-title">Hyperparameter Tuning: sklearn RandomForestClassifier VBDP Data</span></span></a>
257+
</div>
258+
</li>
259+
<li class="sidebar-item">
260+
<div class="sidebar-item-container">
261+
<a href="./18_spot_hpt_sklearn_multiclass_classification_svc.html" class="sidebar-item-text sidebar-link">
262+
<span class="menu-text"><span class="chapter-number">16</span>&nbsp; <span class="chapter-title">Hyperparameter Tuning: sklearn RandomForestClassifier VBDP Data</span></span></a>
263+
</div>
264+
</li>
265+
<li class="sidebar-item">
266+
<div class="sidebar-item-container">
267+
<a href="./19_spot_hpt_sklearn_multiclass_classification_knn.html" class="sidebar-item-text sidebar-link">
268+
<span class="menu-text"><span class="chapter-number">17</span>&nbsp; <span class="chapter-title">Hyperparameter Tuning: sklearn RandomForestClassifier VBDP Data</span></span></a>
269+
</div>
246270
</li>
247271
<li class="sidebar-item">
248272
<div class="sidebar-item-container">
249273
<a href="./24_spot_torch_regression.html" class="sidebar-item-text sidebar-link">
250-
<span class="menu-text"><span class="chapter-number">14</span>&nbsp; <span class="chapter-title">Hyperparameter Tuning for PyTorch With <code>spotPython</code>: Regression</span></span></a>
274+
<span class="menu-text"><span class="chapter-number">18</span>&nbsp; <span class="chapter-title">Hyperparameter Tuning for PyTorch With <code>spotPython</code>: Regression</span></span></a>
251275
</div>
252276
</li>
253277
<li class="sidebar-item">
254278
<div class="sidebar-item-container">
255279
<a href="./25_spot_torch_vbdp.html" class="sidebar-item-text sidebar-link">
256-
<span class="menu-text"><span class="chapter-number">15</span>&nbsp; <span class="chapter-title">Hyperparameter Tuning: VBDP</span></span></a>
280+
<span class="menu-text"><span class="chapter-number">19</span>&nbsp; <span class="chapter-title">Hyperparameter Tuning: VBDP</span></span></a>
257281
</div>
258282
</li>
259283
<li class="sidebar-item">
260284
<div class="sidebar-item-container">
261285
<a href="./99_spot_doc.html" class="sidebar-item-text sidebar-link">
262-
<span class="menu-text"><span class="chapter-number">16</span>&nbsp; <span class="chapter-title">Documentation of the Sequential Parameter Optimization</span></span></a>
286+
<span class="menu-text"><span class="chapter-number">20</span>&nbsp; <span class="chapter-title">Documentation of the Sequential Parameter Optimization</span></span></a>
263287
</div>
264288
</li>
265289
<li class="sidebar-item">
@@ -373,7 +397,7 @@ <h3 data-number="2.1.1" class="anchored" data-anchor-id="the-objective-function-
373397
</code></pre>
374398
</div>
375399
<div class="cell-output cell-output-display" data-execution_count="3">
376-
<pre><code>&lt;spotPython.spot.spot.Spot at 0x10601a050&gt;</code></pre>
400+
<pre><code>&lt;spotPython.spot.spot.Spot at 0x17f71fa30&gt;</code></pre>
377401
</div>
378402
</div>
379403
</section>

docs/03_spot_anisotropic.html

Lines changed: 31 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -222,13 +222,13 @@
222222
<li class="sidebar-item">
223223
<div class="sidebar-item-container">
224224
<a href="./10_spot_hpt_sklearn_classification.html" class="sidebar-item-text sidebar-link">
225-
<span class="menu-text"><span class="chapter-number">10</span>&nbsp; <span class="chapter-title">Hyperparameter Tuning: sklearn</span></span></a>
225+
<span class="menu-text"><span class="chapter-number">10</span>&nbsp; <span class="chapter-title">Hyperparameter Tuning: sklearn SVC on Moons Data</span></span></a>
226226
</div>
227227
</li>
228228
<li class="sidebar-item">
229229
<div class="sidebar-item-container">
230230
<a href="./11_spot_hpt_torch_fashion_mnist.html" class="sidebar-item-text sidebar-link">
231-
<span class="menu-text"><span class="chapter-number">11</span>&nbsp; <span class="chapter-title">Hyperparameter Tuning: PyTorch With fashionMNIST Data Using Hold-out Data Sets</span></span></a>
231+
<span class="menu-text"><span class="chapter-number">11</span>&nbsp; <span class="chapter-title">Hyperparameter Tuning: PyTorch With fashionMNIST</span></span></a>
232232
</div>
233233
</li>
234234
<li class="sidebar-item">
@@ -242,23 +242,47 @@
242242
<a href="./14_spot_ray_hpt_torch_cifar10.html" class="sidebar-item-text sidebar-link">
243243
<span class="menu-text"><span class="chapter-number">13</span>&nbsp; <span class="chapter-title">Hyperparameter Tuning for PyTorch With <code>spotPython</code></span></span></a>
244244
</div>
245+
</li>
246+
<li class="sidebar-item">
247+
<div class="sidebar-item-container">
248+
<a href="./16_spot_hpt_sklearn_multiclass_classification_randomforest.html" class="sidebar-item-text sidebar-link">
249+
<span class="menu-text"><span class="chapter-number">14</span>&nbsp; <span class="chapter-title">Hyperparameter Tuning: sklearn RandomForestClassifier VBDP Data</span></span></a>
250+
</div>
251+
</li>
252+
<li class="sidebar-item">
253+
<div class="sidebar-item-container">
254+
<a href="./17_spot_hpt_sklearn_multiclass_classification_xgb.html" class="sidebar-item-text sidebar-link">
255+
<span class="menu-text"><span class="chapter-number">15</span>&nbsp; <span class="chapter-title">Hyperparameter Tuning: sklearn RandomForestClassifier VBDP Data</span></span></a>
256+
</div>
257+
</li>
258+
<li class="sidebar-item">
259+
<div class="sidebar-item-container">
260+
<a href="./18_spot_hpt_sklearn_multiclass_classification_svc.html" class="sidebar-item-text sidebar-link">
261+
<span class="menu-text"><span class="chapter-number">16</span>&nbsp; <span class="chapter-title">Hyperparameter Tuning: sklearn RandomForestClassifier VBDP Data</span></span></a>
262+
</div>
263+
</li>
264+
<li class="sidebar-item">
265+
<div class="sidebar-item-container">
266+
<a href="./19_spot_hpt_sklearn_multiclass_classification_knn.html" class="sidebar-item-text sidebar-link">
267+
<span class="menu-text"><span class="chapter-number">17</span>&nbsp; <span class="chapter-title">Hyperparameter Tuning: sklearn RandomForestClassifier VBDP Data</span></span></a>
268+
</div>
245269
</li>
246270
<li class="sidebar-item">
247271
<div class="sidebar-item-container">
248272
<a href="./24_spot_torch_regression.html" class="sidebar-item-text sidebar-link">
249-
<span class="menu-text"><span class="chapter-number">14</span>&nbsp; <span class="chapter-title">Hyperparameter Tuning for PyTorch With <code>spotPython</code>: Regression</span></span></a>
273+
<span class="menu-text"><span class="chapter-number">18</span>&nbsp; <span class="chapter-title">Hyperparameter Tuning for PyTorch With <code>spotPython</code>: Regression</span></span></a>
250274
</div>
251275
</li>
252276
<li class="sidebar-item">
253277
<div class="sidebar-item-container">
254278
<a href="./25_spot_torch_vbdp.html" class="sidebar-item-text sidebar-link">
255-
<span class="menu-text"><span class="chapter-number">15</span>&nbsp; <span class="chapter-title">Hyperparameter Tuning: VBDP</span></span></a>
279+
<span class="menu-text"><span class="chapter-number">19</span>&nbsp; <span class="chapter-title">Hyperparameter Tuning: VBDP</span></span></a>
256280
</div>
257281
</li>
258282
<li class="sidebar-item">
259283
<div class="sidebar-item-container">
260284
<a href="./99_spot_doc.html" class="sidebar-item-text sidebar-link">
261-
<span class="menu-text"><span class="chapter-number">16</span>&nbsp; <span class="chapter-title">Documentation of the Sequential Parameter Optimization</span></span></a>
285+
<span class="menu-text"><span class="chapter-number">20</span>&nbsp; <span class="chapter-title">Documentation of the Sequential Parameter Optimization</span></span></a>
262286
</div>
263287
</li>
264288
<li class="sidebar-item">
@@ -350,7 +374,7 @@ <h3 data-number="3.1.1" class="anchored" data-anchor-id="the-objective-function-
350374
<span id="cb3-4"><a href="#cb3-4" aria-hidden="true" tabindex="-1"></a></span>
351375
<span id="cb3-5"><a href="#cb3-5" aria-hidden="true" tabindex="-1"></a>spot_2.run()</span></code><button title="Copy to Clipboard" class="code-copy-button"><i class="bi"></i></button></pre></div>
352376
<div class="cell-output cell-output-display" data-execution_count="3">
353-
<pre><code>&lt;spotPython.spot.spot.Spot at 0x1515d3d30&gt;</code></pre>
377+
<pre><code>&lt;spotPython.spot.spot.Spot at 0x13bcf7700&gt;</code></pre>
354378
</div>
355379
</div>
356380
</section>
@@ -391,7 +415,7 @@ <h2 data-number="3.2" class="anchored" data-anchor-id="example-with-anisotropic-
391415
<span id="cb9-4"><a href="#cb9-4" aria-hidden="true" tabindex="-1"></a> surrogate_control<span class="op">=</span>{<span class="st">"n_theta"</span>: <span class="dv">2</span>})</span>
392416
<span id="cb9-5"><a href="#cb9-5" aria-hidden="true" tabindex="-1"></a>spot_2_anisotropic.run()</span></code><button title="Copy to Clipboard" class="code-copy-button"><i class="bi"></i></button></pre></div>
393417
<div class="cell-output cell-output-display" data-execution_count="6">
394-
<pre><code>&lt;spotPython.spot.spot.Spot at 0x1517581c0&gt;</code></pre>
418+
<pre><code>&lt;spotPython.spot.spot.Spot at 0x13cb9fd30&gt;</code></pre>
395419
</div>
396420
</div>
397421
<section id="taking-a-look-at-the-theta-values" class="level3" data-number="3.2.1">

docs/04_spot_sklearn_surrogate.html

Lines changed: 41 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -221,13 +221,13 @@
221221
<li class="sidebar-item">
222222
<div class="sidebar-item-container">
223223
<a href="./10_spot_hpt_sklearn_classification.html" class="sidebar-item-text sidebar-link">
224-
<span class="menu-text"><span class="chapter-number">10</span>&nbsp; <span class="chapter-title">Hyperparameter Tuning: sklearn</span></span></a>
224+
<span class="menu-text"><span class="chapter-number">10</span>&nbsp; <span class="chapter-title">Hyperparameter Tuning: sklearn SVC on Moons Data</span></span></a>
225225
</div>
226226
</li>
227227
<li class="sidebar-item">
228228
<div class="sidebar-item-container">
229229
<a href="./11_spot_hpt_torch_fashion_mnist.html" class="sidebar-item-text sidebar-link">
230-
<span class="menu-text"><span class="chapter-number">11</span>&nbsp; <span class="chapter-title">Hyperparameter Tuning: PyTorch With fashionMNIST Data Using Hold-out Data Sets</span></span></a>
230+
<span class="menu-text"><span class="chapter-number">11</span>&nbsp; <span class="chapter-title">Hyperparameter Tuning: PyTorch With fashionMNIST</span></span></a>
231231
</div>
232232
</li>
233233
<li class="sidebar-item">
@@ -241,23 +241,47 @@
241241
<a href="./14_spot_ray_hpt_torch_cifar10.html" class="sidebar-item-text sidebar-link">
242242
<span class="menu-text"><span class="chapter-number">13</span>&nbsp; <span class="chapter-title">Hyperparameter Tuning for PyTorch With <code>spotPython</code></span></span></a>
243243
</div>
244+
</li>
245+
<li class="sidebar-item">
246+
<div class="sidebar-item-container">
247+
<a href="./16_spot_hpt_sklearn_multiclass_classification_randomforest.html" class="sidebar-item-text sidebar-link">
248+
<span class="menu-text"><span class="chapter-number">14</span>&nbsp; <span class="chapter-title">Hyperparameter Tuning: sklearn RandomForestClassifier VBDP Data</span></span></a>
249+
</div>
250+
</li>
251+
<li class="sidebar-item">
252+
<div class="sidebar-item-container">
253+
<a href="./17_spot_hpt_sklearn_multiclass_classification_xgb.html" class="sidebar-item-text sidebar-link">
254+
<span class="menu-text"><span class="chapter-number">15</span>&nbsp; <span class="chapter-title">Hyperparameter Tuning: sklearn RandomForestClassifier VBDP Data</span></span></a>
255+
</div>
256+
</li>
257+
<li class="sidebar-item">
258+
<div class="sidebar-item-container">
259+
<a href="./18_spot_hpt_sklearn_multiclass_classification_svc.html" class="sidebar-item-text sidebar-link">
260+
<span class="menu-text"><span class="chapter-number">16</span>&nbsp; <span class="chapter-title">Hyperparameter Tuning: sklearn RandomForestClassifier VBDP Data</span></span></a>
261+
</div>
262+
</li>
263+
<li class="sidebar-item">
264+
<div class="sidebar-item-container">
265+
<a href="./19_spot_hpt_sklearn_multiclass_classification_knn.html" class="sidebar-item-text sidebar-link">
266+
<span class="menu-text"><span class="chapter-number">17</span>&nbsp; <span class="chapter-title">Hyperparameter Tuning: sklearn RandomForestClassifier VBDP Data</span></span></a>
267+
</div>
244268
</li>
245269
<li class="sidebar-item">
246270
<div class="sidebar-item-container">
247271
<a href="./24_spot_torch_regression.html" class="sidebar-item-text sidebar-link">
248-
<span class="menu-text"><span class="chapter-number">14</span>&nbsp; <span class="chapter-title">Hyperparameter Tuning for PyTorch With <code>spotPython</code>: Regression</span></span></a>
272+
<span class="menu-text"><span class="chapter-number">18</span>&nbsp; <span class="chapter-title">Hyperparameter Tuning for PyTorch With <code>spotPython</code>: Regression</span></span></a>
249273
</div>
250274
</li>
251275
<li class="sidebar-item">
252276
<div class="sidebar-item-container">
253277
<a href="./25_spot_torch_vbdp.html" class="sidebar-item-text sidebar-link">
254-
<span class="menu-text"><span class="chapter-number">15</span>&nbsp; <span class="chapter-title">Hyperparameter Tuning: VBDP</span></span></a>
278+
<span class="menu-text"><span class="chapter-number">19</span>&nbsp; <span class="chapter-title">Hyperparameter Tuning: VBDP</span></span></a>
255279
</div>
256280
</li>
257281
<li class="sidebar-item">
258282
<div class="sidebar-item-container">
259283
<a href="./99_spot_doc.html" class="sidebar-item-text sidebar-link">
260-
<span class="menu-text"><span class="chapter-number">16</span>&nbsp; <span class="chapter-title">Documentation of the Sequential Parameter Optimization</span></span></a>
284+
<span class="menu-text"><span class="chapter-number">20</span>&nbsp; <span class="chapter-title">Documentation of the Sequential Parameter Optimization</span></span></a>
261285
</div>
262286
</li>
263287
<li class="sidebar-item">
@@ -371,7 +395,7 @@ <h3 data-number="4.1.2" class="anchored" data-anchor-id="running-the-surrogate-m
371395
<div class="cell" data-execution_count="5">
372396
<div class="sourceCode cell-code" id="cb7"><pre class="sourceCode python code-with-copy"><code class="sourceCode python"><span id="cb7-1"><a href="#cb7-1" aria-hidden="true" tabindex="-1"></a>spot_2.run()</span></code><button title="Copy to Clipboard" class="code-copy-button"><i class="bi"></i></button></pre></div>
373397
<div class="cell-output cell-output-display" data-execution_count="5">
374-
<pre><code>&lt;spotPython.spot.spot.Spot at 0x103e4c0a0&gt;</code></pre>
398+
<pre><code>&lt;spotPython.spot.spot.Spot at 0x1055850f0&gt;</code></pre>
375399
</div>
376400
</div>
377401
</section>
@@ -477,7 +501,7 @@ <h3 data-number="4.2.1" class="anchored" data-anchor-id="gaussianprocessregresso
477501
<span id="cb22-8"><a href="#cb22-8" aria-hidden="true" tabindex="-1"></a> surrogate <span class="op">=</span> S_GP)</span>
478502
<span id="cb22-9"><a href="#cb22-9" aria-hidden="true" tabindex="-1"></a>spot_2_GP.run()</span></code><button title="Copy to Clipboard" class="code-copy-button"><i class="bi"></i></button></pre></div>
479503
<div class="cell-output cell-output-display" data-execution_count="15">
480-
<pre><code>&lt;spotPython.spot.spot.Spot at 0x28ca9c100&gt;</code></pre>
504+
<pre><code>&lt;spotPython.spot.spot.Spot at 0x140f9c580&gt;</code></pre>
481505
</div>
482506
</div>
483507
<div class="cell" data-execution_count="16">
@@ -489,12 +513,12 @@ <h3 data-number="4.2.1" class="anchored" data-anchor-id="gaussianprocessregresso
489513
<div class="cell" data-execution_count="17">
490514
<div class="sourceCode cell-code" id="cb25"><pre class="sourceCode python code-with-copy"><code class="sourceCode python"><span id="cb25-1"><a href="#cb25-1" aria-hidden="true" tabindex="-1"></a>spot_2_GP.print_results()</span></code><button title="Copy to Clipboard" class="code-copy-button"><i class="bi"></i></button></pre></div>
491515
<div class="cell-output cell-output-stdout">
492-
<pre><code>min y: 0.39849269895514894
493-
x0: 3.149390667141969
494-
x1: 2.2866294742318978</code></pre>
516+
<pre><code>min y: 0.398120937193422
517+
x0: 3.1485673418144744
518+
x1: 2.2694029960284</code></pre>
495519
</div>
496520
<div class="cell-output cell-output-display" data-execution_count="17">
497-
<pre><code>[['x0', 3.149390667141969], ['x1', 2.2866294742318978]]</code></pre>
521+
<pre><code>[['x0', 3.1485673418144744], ['x1', 2.2694029960284]]</code></pre>
498522
</div>
499523
</div>
500524
</section>
@@ -549,7 +573,7 @@ <h1 data-number="5"><span class="header-section-number">5</span> Example: One-di
549573
<p><img src="04_spot_sklearn_surrogate_files/figure-html/cell-20-output-8.png" width="604" height="449"></p>
550574
</div>
551575
<div class="cell-output cell-output-display" data-execution_count="19">
552-
<pre><code>&lt;spotPython.spot.spot.Spot at 0x28ca9c790&gt;</code></pre>
576+
<pre><code>&lt;spotPython.spot.spot.Spot at 0x140daba00&gt;</code></pre>
553577
</div>
554578
</div>
555579
<section id="results" class="level3" data-number="5.0.1">
@@ -623,23 +647,23 @@ <h2 data-number="5.1" class="anchored" data-anchor-id="example-sklearn-model-gau
623647
<p><img src="04_spot_sklearn_surrogate_files/figure-html/cell-24-output-8.png" width="604" height="449"></p>
624648
</div>
625649
<div class="cell-output cell-output-display" data-execution_count="23">
626-
<pre><code>&lt;spotPython.spot.spot.Spot at 0x28cac7730&gt;</code></pre>
650+
<pre><code>&lt;spotPython.spot.spot.Spot at 0x140bccd00&gt;</code></pre>
627651
</div>
628652
</div>
629653
<div class="cell" data-execution_count="24">
630654
<div class="sourceCode cell-code" id="cb38"><pre class="sourceCode python code-with-copy"><code class="sourceCode python"><span id="cb38-1"><a href="#cb38-1" aria-hidden="true" tabindex="-1"></a>spot_1_GP.print_results()</span></code><button title="Copy to Clipboard" class="code-copy-button"><i class="bi"></i></button></pre></div>
631655
<div class="cell-output cell-output-stdout">
632-
<pre><code>min y: 3.751414374998725e-09
633-
x0: -6.124879080438017e-05</code></pre>
656+
<pre><code>min y: 1.497181479978119e-11
657+
x0: 3.869342941609233e-06</code></pre>
634658
</div>
635659
<div class="cell-output cell-output-display" data-execution_count="24">
636-
<pre><code>[['x0', -6.124879080438017e-05]]</code></pre>
660+
<pre><code>[['x0', 3.869342941609233e-06]]</code></pre>
637661
</div>
638662
</div>
639663
<div class="cell" data-execution_count="25">
640664
<div class="sourceCode cell-code" id="cb41"><pre class="sourceCode python code-with-copy"><code class="sourceCode python"><span id="cb41-1"><a href="#cb41-1" aria-hidden="true" tabindex="-1"></a>spot_1_GP.plot_progress(log_y<span class="op">=</span><span class="va">True</span>)</span></code><button title="Copy to Clipboard" class="code-copy-button"><i class="bi"></i></button></pre></div>
641665
<div class="cell-output cell-output-display">
642-
<p><img src="04_spot_sklearn_surrogate_files/figure-html/cell-26-output-1.png" width="729" height="243"></p>
666+
<p><img src="04_spot_sklearn_surrogate_files/figure-html/cell-26-output-1.png" width="735" height="243"></p>
643667
</div>
644668
</div>
645669
<div class="cell" data-execution_count="26">
11 Bytes
Loading
5 Bytes
Loading
-3 Bytes
Loading
64 Bytes
Loading
-24 Bytes
Loading
24 Bytes
Loading

0 commit comments

Comments
 (0)