Skip to content

Commit fec4743

Browse files
v0.4.0
docs + cleanup: get_default_hyperparameter_as_arrays() does not accept hyper_dict argument any more
1 parent 7e7181c commit fec4743

79 files changed

Lines changed: 1458 additions & 1766 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: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -430,7 +430,7 @@ <h3 data-number="1.3.1" class="anchored" data-anchor-id="the-objective-function-
430430
<div class="cell" data-execution_count="5">
431431
<div class="sourceCode cell-code" id="cb5"><pre class="sourceCode python code-with-copy"><code class="sourceCode python"><span id="cb5-1"><a href="#cb5-1" aria-hidden="true" tabindex="-1"></a>spot_0.run()</span></code><button title="Copy to Clipboard" class="code-copy-button"><i class="bi"></i></button></pre></div>
432432
<div class="cell-output cell-output-display" data-execution_count="5">
433-
<pre><code>&lt;spotPython.spot.spot.Spot at 0x143394e20&gt;</code></pre>
433+
<pre><code>&lt;spotPython.spot.spot.Spot at 0x165088cd0&gt;</code></pre>
434434
</div>
435435
</div>
436436
<div class="cell" data-execution_count="6">
@@ -482,7 +482,7 @@ <h2 data-number="1.4" class="anchored" data-anchor-id="spot-parameters-fun_evals
482482
<p><img src="01_spot_intro_files/figure-html/cell-10-output-2.png" width="600" height="449"></p>
483483
</div>
484484
<div class="cell-output cell-output-display" data-execution_count="9">
485-
<pre><code>&lt;spotPython.spot.spot.Spot at 0x14337b8e0&gt;</code></pre>
485+
<pre><code>&lt;spotPython.spot.spot.Spot at 0x165476770&gt;</code></pre>
486486
</div>
487487
</div>
488488
</section>

docs/02_spot_multidim.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -385,7 +385,7 @@ <h3 data-number="2.1.1" class="anchored" data-anchor-id="the-objective-function-
385385
</code></pre>
386386
</div>
387387
<div class="cell-output cell-output-display" data-execution_count="3">
388-
<pre><code>&lt;spotPython.spot.spot.Spot at 0x10936d600&gt;</code></pre>
388+
<pre><code>&lt;spotPython.spot.spot.Spot at 0x107db9e10&gt;</code></pre>
389389
</div>
390390
</div>
391391
</section>

docs/03_spot_anisotropic.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -362,7 +362,7 @@ <h3 data-number="3.1.1" class="anchored" data-anchor-id="the-objective-function-
362362
<span id="cb3-4"><a href="#cb3-4" aria-hidden="true" tabindex="-1"></a></span>
363363
<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>
364364
<div class="cell-output cell-output-display" data-execution_count="3">
365-
<pre><code>&lt;spotPython.spot.spot.Spot at 0x166020ee0&gt;</code></pre>
365+
<pre><code>&lt;spotPython.spot.spot.Spot at 0x11ff88e80&gt;</code></pre>
366366
</div>
367367
</div>
368368
</section>
@@ -403,7 +403,7 @@ <h2 data-number="3.2" class="anchored" data-anchor-id="example-with-anisotropic-
403403
<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>
404404
<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>
405405
<div class="cell-output cell-output-display" data-execution_count="6">
406-
<pre><code>&lt;spotPython.spot.spot.Spot at 0x168150730&gt;</code></pre>
406+
<pre><code>&lt;spotPython.spot.spot.Spot at 0x12998a440&gt;</code></pre>
407407
</div>
408408
</div>
409409
<section id="taking-a-look-at-the-theta-values" class="level3" data-number="3.2.1">

docs/04_spot_sklearn_surrogate.html

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -383,7 +383,7 @@ <h3 data-number="4.1.2" class="anchored" data-anchor-id="running-the-surrogate-m
383383
<div class="cell" data-execution_count="5">
384384
<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>
385385
<div class="cell-output cell-output-display" data-execution_count="5">
386-
<pre><code>&lt;spotPython.spot.spot.Spot at 0x165020b50&gt;</code></pre>
386+
<pre><code>&lt;spotPython.spot.spot.Spot at 0x166088be0&gt;</code></pre>
387387
</div>
388388
</div>
389389
</section>
@@ -489,7 +489,7 @@ <h3 data-number="4.2.1" class="anchored" data-anchor-id="gaussianprocessregresso
489489
<span id="cb22-8"><a href="#cb22-8" aria-hidden="true" tabindex="-1"></a> surrogate <span class="op">=</span> S_GP)</span>
490490
<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>
491491
<div class="cell-output cell-output-display" data-execution_count="15">
492-
<pre><code>&lt;spotPython.spot.spot.Spot at 0x29654cb20&gt;</code></pre>
492+
<pre><code>&lt;spotPython.spot.spot.Spot at 0x169e30a60&gt;</code></pre>
493493
</div>
494494
</div>
495495
<div class="cell" data-execution_count="16">
@@ -501,12 +501,12 @@ <h3 data-number="4.2.1" class="anchored" data-anchor-id="gaussianprocessregresso
501501
<div class="cell" data-execution_count="17">
502502
<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>
503503
<div class="cell-output cell-output-stdout">
504-
<pre><code>min y: 0.3981955587310342
505-
x0: 3.1494957043729093
506-
x1: 2.271732217413353</code></pre>
504+
<pre><code>min y: 0.39823192160066156
505+
x0: 3.1497263952038743
506+
x1: 2.2738556068234668</code></pre>
507507
</div>
508508
<div class="cell-output cell-output-display" data-execution_count="17">
509-
<pre><code>[['x0', 3.1494957043729093], ['x1', 2.271732217413353]]</code></pre>
509+
<pre><code>[['x0', 3.1497263952038743], ['x1', 2.2738556068234668]]</code></pre>
510510
</div>
511511
</div>
512512
</section>
@@ -561,7 +561,7 @@ <h2 data-number="4.3" class="anchored" data-anchor-id="example-one-dimensional-s
561561
<p><img src="04_spot_sklearn_surrogate_files/figure-html/cell-20-output-8.png" width="604" height="449"></p>
562562
</div>
563563
<div class="cell-output cell-output-display" data-execution_count="19">
564-
<pre><code>&lt;spotPython.spot.spot.Spot at 0x29654c8e0&gt;</code></pre>
564+
<pre><code>&lt;spotPython.spot.spot.Spot at 0x169e30130&gt;</code></pre>
565565
</div>
566566
</div>
567567
<section id="results" class="level3" data-number="4.3.1">
@@ -636,23 +636,23 @@ <h2 data-number="4.4" class="anchored" data-anchor-id="example-sklearn-model-gau
636636
<p><img src="04_spot_sklearn_surrogate_files/figure-html/cell-24-output-8.png" width="604" height="449"></p>
637637
</div>
638638
<div class="cell-output cell-output-display" data-execution_count="23">
639-
<pre><code>&lt;spotPython.spot.spot.Spot at 0x29641e6e0&gt;</code></pre>
639+
<pre><code>&lt;spotPython.spot.spot.Spot at 0x1699a26e0&gt;</code></pre>
640640
</div>
641641
</div>
642642
<div class="cell" data-execution_count="24">
643643
<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>
644644
<div class="cell-output cell-output-stdout">
645-
<pre><code>min y: 3.900026477001161e-10
646-
x0: 1.9748484693771218e-05</code></pre>
645+
<pre><code>min y: 1.9409234127379644e-11
646+
x0: 4.405591234712958e-06</code></pre>
647647
</div>
648648
<div class="cell-output cell-output-display" data-execution_count="24">
649-
<pre><code>[['x0', 1.9748484693771218e-05]]</code></pre>
649+
<pre><code>[['x0', 4.405591234712958e-06]]</code></pre>
650650
</div>
651651
</div>
652652
<div class="cell" data-execution_count="25">
653653
<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>
654654
<div class="cell-output cell-output-display">
655-
<p><img src="04_spot_sklearn_surrogate_files/figure-html/cell-26-output-1.png" width="729" height="243"></p>
655+
<p><img src="04_spot_sklearn_surrogate_files/figure-html/cell-26-output-1.png" width="735" height="243"></p>
656656
</div>
657657
</div>
658658
<div class="cell" data-execution_count="26">
2 Bytes
Loading
-2.18 KB
Loading
-10 Bytes
Loading
-2.05 KB
Loading
1.13 KB
Loading
1.15 KB
Loading

0 commit comments

Comments
 (0)