You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<codeclass="descname">fetch_matrices</code><spanclass="sig-paren">(</span><spanclass="sig-paren">)</span><aclass="headerlink" href="#rocketsled.control.MissionControl.fetch_matrices" title="Permalink to this definition">¶</a></dt>
383
+
<dd><p>Return the X and Y matrices for this optimization.</p>
384
+
<dlclass="docutils">
385
+
<dt>Returns:</dt>
386
+
<dd><dlclass="first last docutils">
387
+
<dt>all_x, all_y ([list], [list]): The X (input) matrix has dimensions</dt>
388
+
<dd>n_samples, n_dimensions. The Y (output) matrix has dimensions
389
+
n_samples, n_objectives. Only completed entries are retrieved.</dd>
390
+
</dl>
391
+
</dd>
392
+
</dl>
393
+
</dd></dl>
394
+
380
395
<dlclass="method">
381
396
<dtid="rocketsled.control.MissionControl.plot">
382
397
<codeclass="descname">plot</code><spanclass="sig-paren">(</span><em>show_best=True</em>, <em>show_mean=True</em>, <em>latexify=False</em>, <em>font_family='serif'</em>, <em>scale='linear'</em>, <em>summarize=True</em>, <em>print_pareto=False</em><spanclass="sig-paren">)</span><aclass="headerlink" href="#rocketsled.control.MissionControl.plot" title="Permalink to this definition">¶</a></dt>
383
398
<dd><p>Visualize the progress of an optimization.</p>
384
399
<dlclass="docutils">
385
400
<dt>Args:</dt>
386
-
<dd><pclass="first">maximize (bool): Whether to plot optimizing for minimum or maximum.
387
-
show_best (bool): Point out the best point on legend and on plot. If</p>
388
-
<blockquote>
389
-
<div>more than one best point (i.e., multiple equal maxima), show
401
+
<dd><dlclass="first docutils">
402
+
<dt>show_best (bool): Point out the best point on legend and on plot. If</dt>
403
+
<dd>more than one best point (i.e., multiple equal maxima), show
390
404
them all. If multiobjective, shows best for each objective, and
391
-
prints the best value and x for each objective.</div></blockquote>
392
-
<dlclass="docutils">
405
+
prints the best value and x for each objective.</dd>
393
406
<dt>show_mean (bool): Show the mean and standard deviation for the</dt>
394
407
<dd>guesses as the computations are carried out.</dd>
395
408
</dl>
@@ -618,6 +631,13 @@ <h2>Submodules<a class="headerlink" href="#submodules" title="Permalink to this
618
631
<p>When rocketsled config doc is broken or not found.</p>
619
632
</dd></dl>
620
633
634
+
<dlclass="exception">
635
+
<dtid="rocketsled.utils.ObjectiveError">
636
+
<emclass="property">exception </em><codeclass="descclassname">rocketsled.utils.</code><codeclass="descname">ObjectiveError</code><aclass="headerlink" href="#rocketsled.utils.ObjectiveError" title="Permalink to this definition">¶</a></dt>
<emclass="property">exception </em><codeclass="descclassname">rocketsled.utils.</code><codeclass="descname">RSBaseException</code><aclass="headerlink" href="#rocketsled.utils.RSBaseException" title="Permalink to this definition">¶</a></dt>
@@ -708,6 +728,18 @@ <h2>Submodules<a class="headerlink" href="#submodules" title="Permalink to this
708
728
</dl>
709
729
</dd></dl>
710
730
731
+
<dlclass="function">
732
+
<dtid="rocketsled.utils.get_len">
733
+
<codeclass="descclassname">rocketsled.utils.</code><codeclass="descname">get_len</code><spanclass="sig-paren">(</span><em>obj</em><spanclass="sig-paren">)</span><aclass="headerlink" href="#rocketsled.utils.get_len" title="Permalink to this definition">¶</a></dt>
734
+
<dd><p>A utility function for getting the length of an object.</p>
735
+
<dlclass="docutils">
736
+
<dt>Args:</dt>
737
+
<dd>obj: An object, optionally iterable.</dd>
738
+
<dt>Returns:</dt>
739
+
<dd>The length of that object if it is a list or tuple, otherwise 1.</dd>
740
+
</dl>
741
+
</dd></dl>
742
+
711
743
<dlclass="function">
712
744
<dtid="rocketsled.utils.is_discrete">
713
745
<codeclass="descclassname">rocketsled.utils.</code><codeclass="descname">is_discrete</code><spanclass="sig-paren">(</span><em>dims</em>, <em>criteria='all'</em><spanclass="sig-paren">)</span><aclass="headerlink" href="#rocketsled.utils.is_discrete" title="Permalink to this definition">¶</a></dt>
@@ -821,7 +853,7 @@ <h2>Submodules<a class="headerlink" href="#submodules" title="Permalink to this
821
853
</div>
822
854
<divclass="section" id="module-rocketsled">
823
855
<spanid="module-contents"></span><h2>Module contents<aclass="headerlink" href="#module-rocketsled" title="Permalink to this headline">¶</a></h2>
824
-
<p>Rocketsled is an optimization suite “on rails” based on Scikit-learn and
856
+
<p>Rocketsled is an optimization suite “on rails” based on Scikit-learn and
Copy file name to clipboardExpand all lines: docs/rocketsled.tests.html
+5-5Lines changed: 5 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -242,11 +242,6 @@ <h2>Submodules<a class="headerlink" href="#submodules" title="Permalink to this
242
242
<codeclass="descclassname">rocketsled.tests.test_task.</code><codeclass="descname">get_z</code><spanclass="sig-paren">(</span><em>x</em><spanclass="sig-paren">)</span><aclass="headerlink" href="#rocketsled.tests.test_task.get_z" title="Permalink to this definition">¶</a></dt>
243
243
<dd></dd></dl>
244
244
245
-
<dlclass="function">
246
-
<dtid="rocketsled.tests.test_task.suite">
247
-
<codeclass="descclassname">rocketsled.tests.test_task.</code><codeclass="descname">suite</code><spanclass="sig-paren">(</span><spanclass="sig-paren">)</span><aclass="headerlink" href="#rocketsled.tests.test_task.suite" title="Permalink to this definition">¶</a></dt>
<codeclass="descclassname">rocketsled.tests.test_task.</code><codeclass="descname">wf_creator_accuracy</code><spanclass="sig-paren">(</span><em>x</em><spanclass="sig-paren">)</span><aclass="headerlink" href="#rocketsled.tests.test_task.wf_creator_accuracy" title="Permalink to this definition">¶</a></dt>
@@ -332,6 +327,11 @@ <h2>Submodules<a class="headerlink" href="#submodules" title="Permalink to this
332
327
<codeclass="descname">test_get_default_opttask_kwargs</code><spanclass="sig-paren">(</span><spanclass="sig-paren">)</span><aclass="headerlink" href="#rocketsled.tests.test_utils.TestUtilities.test_get_default_opttask_kwargs" title="Permalink to this definition">¶</a></dt>
<codeclass="descname">test_get_len</code><spanclass="sig-paren">(</span><spanclass="sig-paren">)</span><aclass="headerlink" href="#rocketsled.tests.test_utils.TestUtilities.test_get_len" title="Permalink to this definition">¶</a></dt>
<codeclass="descname">test_is_discrete</code><spanclass="sig-paren">(</span><spanclass="sig-paren">)</span><aclass="headerlink" href="#rocketsled.tests.test_utils.TestUtilities.test_is_discrete" title="Permalink to this definition">¶</a></dt>
0 commit comments