Skip to content

Commit

Permalink
eddiebergman: fix: __contains__ for configspace
Browse files Browse the repository at this point in the history
  • Loading branch information
Github Actions committed Aug 1, 2023
1 parent 28f5ae0 commit f5691c8
Show file tree
Hide file tree
Showing 52 changed files with 1,243 additions and 278 deletions.
Binary file modified main/.doctrees/api/conditions.doctree
Binary file not shown.
Binary file modified main/.doctrees/api/configuration.doctree
Binary file not shown.
Binary file modified main/.doctrees/api/configurationspace.doctree
Binary file not shown.
Binary file modified main/.doctrees/api/forbidden_clauses.doctree
Binary file not shown.
Binary file modified main/.doctrees/api/hyperparameters.doctree
Binary file not shown.
Binary file modified main/.doctrees/api/index.doctree
Binary file not shown.
Binary file modified main/.doctrees/api/serialization.doctree
Binary file not shown.
Binary file modified main/.doctrees/api/utils.doctree
Binary file not shown.
Binary file modified main/.doctrees/environment.pickle
Binary file not shown.
Binary file modified main/.doctrees/guide.doctree
Binary file not shown.
Binary file modified main/.doctrees/index.doctree
Binary file not shown.
Binary file modified main/.doctrees/quickstart.doctree
Binary file not shown.
12 changes: 6 additions & 6 deletions main/_modules/ConfigSpace/api/distributions.html
Original file line number Diff line number Diff line change
Expand Up @@ -21,14 +21,14 @@



<link rel="stylesheet" type="text/css" href="../../../_static/pygments.css" />
<link rel="stylesheet" type="text/css" href="../../../_static/css/custom.css" />
<link rel="stylesheet" type="text/css" href="../../../_static/pygments.css?v=362ab14a" />
<link rel="stylesheet" type="text/css" href="../../../_static/css/custom.css?v=2eb4fb78" />

<link rel="preload" as="script" href="../../../_static/js/index.9ea38e314b9e6d9dab77.js">

<script data-url_root="../../../" id="documentation_options" src="../../../_static/documentation_options.js"></script>
<script src="../../../_static/doctools.js"></script>
<script src="../../../_static/sphinx_highlight.js"></script>
<script data-url_root="../../../" id="documentation_options" src="../../../_static/documentation_options.js?v=4856959a"></script>
<script src="../../../_static/doctools.js?v=888ff710"></script>
<script src="../../../_static/sphinx_highlight.js?v=4825356b"></script>
<link rel="index" title="Index" href="../../../genindex.html" />
<link rel="search" title="Search" href="../../../search.html" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
Expand Down Expand Up @@ -275,7 +275,7 @@ <h1>Source code for ConfigSpace.api.distributions</h1><div class="highlight"><pr
<div class="footer-item">
<p class="sphinx-version">
Created using <a href="http://sphinx-doc.org/">Sphinx</a>
7.0.1. Template is modified version of <a
7.1.1. Template is modified version of <a
href="https://pydata-sphinx-theme.readthedocs.io">PyData Sphinx Theme</a>. <br>
</p>
</div>
Expand Down
12 changes: 6 additions & 6 deletions main/_modules/ConfigSpace/api/types/categorical.html
Original file line number Diff line number Diff line change
Expand Up @@ -21,14 +21,14 @@



<link rel="stylesheet" type="text/css" href="../../../../_static/pygments.css" />
<link rel="stylesheet" type="text/css" href="../../../../_static/css/custom.css" />
<link rel="stylesheet" type="text/css" href="../../../../_static/pygments.css?v=362ab14a" />
<link rel="stylesheet" type="text/css" href="../../../../_static/css/custom.css?v=2eb4fb78" />

<link rel="preload" as="script" href="../../../../_static/js/index.9ea38e314b9e6d9dab77.js">

<script data-url_root="../../../../" id="documentation_options" src="../../../../_static/documentation_options.js"></script>
<script src="../../../../_static/doctools.js"></script>
<script src="../../../../_static/sphinx_highlight.js"></script>
<script data-url_root="../../../../" id="documentation_options" src="../../../../_static/documentation_options.js?v=4856959a"></script>
<script src="../../../../_static/doctools.js?v=888ff710"></script>
<script src="../../../../_static/sphinx_highlight.js?v=4825356b"></script>
<link rel="index" title="Index" href="../../../../genindex.html" />
<link rel="search" title="Search" href="../../../../search.html" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
Expand Down Expand Up @@ -369,7 +369,7 @@ <h1>Source code for ConfigSpace.api.types.categorical</h1><div class="highlight"
<div class="footer-item">
<p class="sphinx-version">
Created using <a href="http://sphinx-doc.org/">Sphinx</a>
7.0.1. Template is modified version of <a
7.1.1. Template is modified version of <a
href="https://pydata-sphinx-theme.readthedocs.io">PyData Sphinx Theme</a>. <br>
</p>
</div>
Expand Down
12 changes: 6 additions & 6 deletions main/_modules/ConfigSpace/api/types/float.html
Original file line number Diff line number Diff line change
Expand Up @@ -21,14 +21,14 @@



<link rel="stylesheet" type="text/css" href="../../../../_static/pygments.css" />
<link rel="stylesheet" type="text/css" href="../../../../_static/css/custom.css" />
<link rel="stylesheet" type="text/css" href="../../../../_static/pygments.css?v=362ab14a" />
<link rel="stylesheet" type="text/css" href="../../../../_static/css/custom.css?v=2eb4fb78" />

<link rel="preload" as="script" href="../../../../_static/js/index.9ea38e314b9e6d9dab77.js">

<script data-url_root="../../../../" id="documentation_options" src="../../../../_static/documentation_options.js"></script>
<script src="../../../../_static/doctools.js"></script>
<script src="../../../../_static/sphinx_highlight.js"></script>
<script data-url_root="../../../../" id="documentation_options" src="../../../../_static/documentation_options.js?v=4856959a"></script>
<script src="../../../../_static/doctools.js?v=888ff710"></script>
<script src="../../../../_static/sphinx_highlight.js?v=4825356b"></script>
<link rel="index" title="Index" href="../../../../genindex.html" />
<link rel="search" title="Search" href="../../../../search.html" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
Expand Down Expand Up @@ -413,7 +413,7 @@ <h1>Source code for ConfigSpace.api.types.float</h1><div class="highlight"><pre>
<div class="footer-item">
<p class="sphinx-version">
Created using <a href="http://sphinx-doc.org/">Sphinx</a>
7.0.1. Template is modified version of <a
7.1.1. Template is modified version of <a
href="https://pydata-sphinx-theme.readthedocs.io">PyData Sphinx Theme</a>. <br>
</p>
</div>
Expand Down
12 changes: 6 additions & 6 deletions main/_modules/ConfigSpace/api/types/integer.html
Original file line number Diff line number Diff line change
Expand Up @@ -21,14 +21,14 @@



<link rel="stylesheet" type="text/css" href="../../../../_static/pygments.css" />
<link rel="stylesheet" type="text/css" href="../../../../_static/css/custom.css" />
<link rel="stylesheet" type="text/css" href="../../../../_static/pygments.css?v=362ab14a" />
<link rel="stylesheet" type="text/css" href="../../../../_static/css/custom.css?v=2eb4fb78" />

<link rel="preload" as="script" href="../../../../_static/js/index.9ea38e314b9e6d9dab77.js">

<script data-url_root="../../../../" id="documentation_options" src="../../../../_static/documentation_options.js"></script>
<script src="../../../../_static/doctools.js"></script>
<script src="../../../../_static/sphinx_highlight.js"></script>
<script data-url_root="../../../../" id="documentation_options" src="../../../../_static/documentation_options.js?v=4856959a"></script>
<script src="../../../../_static/doctools.js?v=888ff710"></script>
<script src="../../../../_static/sphinx_highlight.js?v=4825356b"></script>
<link rel="index" title="Index" href="../../../../genindex.html" />
<link rel="search" title="Search" href="../../../../search.html" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
Expand Down Expand Up @@ -423,7 +423,7 @@ <h1>Source code for ConfigSpace.api.types.integer</h1><div class="highlight"><pr
<div class="footer-item">
<p class="sphinx-version">
Created using <a href="http://sphinx-doc.org/">Sphinx</a>
7.0.1. Template is modified version of <a
7.1.1. Template is modified version of <a
href="https://pydata-sphinx-theme.readthedocs.io">PyData Sphinx Theme</a>. <br>
</p>
</div>
Expand Down
12 changes: 6 additions & 6 deletions main/_modules/ConfigSpace/configuration.html
Original file line number Diff line number Diff line change
Expand Up @@ -21,14 +21,14 @@



<link rel="stylesheet" type="text/css" href="../../_static/pygments.css" />
<link rel="stylesheet" type="text/css" href="../../_static/css/custom.css" />
<link rel="stylesheet" type="text/css" href="../../_static/pygments.css?v=362ab14a" />
<link rel="stylesheet" type="text/css" href="../../_static/css/custom.css?v=2eb4fb78" />

<link rel="preload" as="script" href="../../_static/js/index.9ea38e314b9e6d9dab77.js">

<script data-url_root="../../" id="documentation_options" src="../../_static/documentation_options.js"></script>
<script src="../../_static/doctools.js"></script>
<script src="../../_static/sphinx_highlight.js"></script>
<script data-url_root="../../" id="documentation_options" src="../../_static/documentation_options.js?v=4856959a"></script>
<script src="../../_static/doctools.js?v=888ff710"></script>
<script src="../../_static/sphinx_highlight.js?v=4825356b"></script>
<link rel="index" title="Index" href="../../genindex.html" />
<link rel="search" title="Search" href="../../search.html" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
Expand Down Expand Up @@ -492,7 +492,7 @@ <h1>Source code for ConfigSpace.configuration</h1><div class="highlight"><pre>
<div class="footer-item">
<p class="sphinx-version">
Created using <a href="http://sphinx-doc.org/">Sphinx</a>
7.0.1. Template is modified version of <a
7.1.1. Template is modified version of <a
href="https://pydata-sphinx-theme.readthedocs.io">PyData Sphinx Theme</a>. <br>
</p>
</div>
Expand Down
15 changes: 9 additions & 6 deletions main/_modules/ConfigSpace/configuration_space.html
Original file line number Diff line number Diff line change
Expand Up @@ -21,14 +21,14 @@



<link rel="stylesheet" type="text/css" href="../../_static/pygments.css" />
<link rel="stylesheet" type="text/css" href="../../_static/css/custom.css" />
<link rel="stylesheet" type="text/css" href="../../_static/pygments.css?v=362ab14a" />
<link rel="stylesheet" type="text/css" href="../../_static/css/custom.css?v=2eb4fb78" />

<link rel="preload" as="script" href="../../_static/js/index.9ea38e314b9e6d9dab77.js">

<script data-url_root="../../" id="documentation_options" src="../../_static/documentation_options.js"></script>
<script src="../../_static/doctools.js"></script>
<script src="../../_static/sphinx_highlight.js"></script>
<script data-url_root="../../" id="documentation_options" src="../../_static/documentation_options.js?v=4856959a"></script>
<script src="../../_static/doctools.js?v=888ff710"></script>
<script src="../../_static/sphinx_highlight.js?v=4825356b"></script>
<link rel="index" title="Index" href="../../genindex.html" />
<link rel="search" title="Search" href="../../search.html" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
Expand Down Expand Up @@ -1342,6 +1342,9 @@ <h1>Source code for ConfigSpace.configuration_space</h1><div class="highlight"><

<span class="k">return</span> <span class="n">hp</span>

<span class="k">def</span> <span class="fm">__contains__</span><span class="p">(</span><span class="bp">self</span><span class="p">,</span> <span class="n">key</span><span class="p">:</span> <span class="nb">str</span><span class="p">)</span> <span class="o">-&gt;</span> <span class="nb">bool</span><span class="p">:</span>
<span class="k">return</span> <span class="n">key</span> <span class="ow">in</span> <span class="bp">self</span><span class="o">.</span><span class="n">_hyperparameters</span>

<span class="k">def</span> <span class="fm">__repr__</span><span class="p">(</span><span class="bp">self</span><span class="p">)</span> <span class="o">-&gt;</span> <span class="nb">str</span><span class="p">:</span>
<span class="n">retval</span> <span class="o">=</span> <span class="n">io</span><span class="o">.</span><span class="n">StringIO</span><span class="p">()</span>
<span class="n">retval</span><span class="o">.</span><span class="n">write</span><span class="p">(</span><span class="s2">&quot;Configuration space object:</span><span class="se">\n</span><span class="s2"> Hyperparameters:</span><span class="se">\n</span><span class="s2">&quot;</span><span class="p">)</span>
Expand Down Expand Up @@ -1809,7 +1812,7 @@ <h1>Source code for ConfigSpace.configuration_space</h1><div class="highlight"><
<div class="footer-item">
<p class="sphinx-version">
Created using <a href="http://sphinx-doc.org/">Sphinx</a>
7.0.1. Template is modified version of <a
7.1.1. Template is modified version of <a
href="https://pydata-sphinx-theme.readthedocs.io">PyData Sphinx Theme</a>. <br>
</p>
</div>
Expand Down
12 changes: 6 additions & 6 deletions main/_modules/ConfigSpace/read_and_write/json.html
Original file line number Diff line number Diff line change
Expand Up @@ -21,14 +21,14 @@



<link rel="stylesheet" type="text/css" href="../../../_static/pygments.css" />
<link rel="stylesheet" type="text/css" href="../../../_static/css/custom.css" />
<link rel="stylesheet" type="text/css" href="../../../_static/pygments.css?v=362ab14a" />
<link rel="stylesheet" type="text/css" href="../../../_static/css/custom.css?v=2eb4fb78" />

<link rel="preload" as="script" href="../../../_static/js/index.9ea38e314b9e6d9dab77.js">

<script data-url_root="../../../" id="documentation_options" src="../../../_static/documentation_options.js"></script>
<script src="../../../_static/doctools.js"></script>
<script src="../../../_static/sphinx_highlight.js"></script>
<script data-url_root="../../../" id="documentation_options" src="../../../_static/documentation_options.js?v=4856959a"></script>
<script src="../../../_static/doctools.js?v=888ff710"></script>
<script src="../../../_static/sphinx_highlight.js?v=4825356b"></script>
<link rel="index" title="Index" href="../../../genindex.html" />
<link rel="search" title="Search" href="../../../search.html" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
Expand Down Expand Up @@ -949,7 +949,7 @@ <h1>Source code for ConfigSpace.read_and_write.json</h1><div class="highlight"><
<div class="footer-item">
<p class="sphinx-version">
Created using <a href="http://sphinx-doc.org/">Sphinx</a>
7.0.1. Template is modified version of <a
7.1.1. Template is modified version of <a
href="https://pydata-sphinx-theme.readthedocs.io">PyData Sphinx Theme</a>. <br>
</p>
</div>
Expand Down
12 changes: 6 additions & 6 deletions main/_modules/ConfigSpace/read_and_write/pcs.html
Original file line number Diff line number Diff line change
Expand Up @@ -21,14 +21,14 @@



<link rel="stylesheet" type="text/css" href="../../../_static/pygments.css" />
<link rel="stylesheet" type="text/css" href="../../../_static/css/custom.css" />
<link rel="stylesheet" type="text/css" href="../../../_static/pygments.css?v=362ab14a" />
<link rel="stylesheet" type="text/css" href="../../../_static/css/custom.css?v=2eb4fb78" />

<link rel="preload" as="script" href="../../../_static/js/index.9ea38e314b9e6d9dab77.js">

<script data-url_root="../../../" id="documentation_options" src="../../../_static/documentation_options.js"></script>
<script src="../../../_static/doctools.js"></script>
<script src="../../../_static/sphinx_highlight.js"></script>
<script data-url_root="../../../" id="documentation_options" src="../../../_static/documentation_options.js?v=4856959a"></script>
<script src="../../../_static/doctools.js?v=888ff710"></script>
<script src="../../../_static/sphinx_highlight.js?v=4825356b"></script>
<link rel="index" title="Index" href="../../../genindex.html" />
<link rel="search" title="Search" href="../../../search.html" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
Expand Down Expand Up @@ -736,7 +736,7 @@ <h1>Source code for ConfigSpace.read_and_write.pcs</h1><div class="highlight"><p
<div class="footer-item">
<p class="sphinx-version">
Created using <a href="http://sphinx-doc.org/">Sphinx</a>
7.0.1. Template is modified version of <a
7.1.1. Template is modified version of <a
href="https://pydata-sphinx-theme.readthedocs.io">PyData Sphinx Theme</a>. <br>
</p>
</div>
Expand Down
12 changes: 6 additions & 6 deletions main/_modules/ConfigSpace/read_and_write/pcs_new.html
Original file line number Diff line number Diff line change
Expand Up @@ -21,14 +21,14 @@



<link rel="stylesheet" type="text/css" href="../../../_static/pygments.css" />
<link rel="stylesheet" type="text/css" href="../../../_static/css/custom.css" />
<link rel="stylesheet" type="text/css" href="../../../_static/pygments.css?v=362ab14a" />
<link rel="stylesheet" type="text/css" href="../../../_static/css/custom.css?v=2eb4fb78" />

<link rel="preload" as="script" href="../../../_static/js/index.9ea38e314b9e6d9dab77.js">

<script data-url_root="../../../" id="documentation_options" src="../../../_static/documentation_options.js"></script>
<script src="../../../_static/doctools.js"></script>
<script src="../../../_static/sphinx_highlight.js"></script>
<script data-url_root="../../../" id="documentation_options" src="../../../_static/documentation_options.js?v=4856959a"></script>
<script src="../../../_static/doctools.js?v=888ff710"></script>
<script src="../../../_static/sphinx_highlight.js?v=4825356b"></script>
<link rel="index" title="Index" href="../../../genindex.html" />
<link rel="search" title="Search" href="../../../search.html" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
Expand Down Expand Up @@ -1010,7 +1010,7 @@ <h1>Source code for ConfigSpace.read_and_write.pcs_new</h1><div class="highlight
<div class="footer-item">
<p class="sphinx-version">
Created using <a href="http://sphinx-doc.org/">Sphinx</a>
7.0.1. Template is modified version of <a
7.1.1. Template is modified version of <a
href="https://pydata-sphinx-theme.readthedocs.io">PyData Sphinx Theme</a>. <br>
</p>
</div>
Expand Down
12 changes: 6 additions & 6 deletions main/_modules/ConfigSpace/util.html
Original file line number Diff line number Diff line change
Expand Up @@ -21,14 +21,14 @@



<link rel="stylesheet" type="text/css" href="../../_static/pygments.css" />
<link rel="stylesheet" type="text/css" href="../../_static/css/custom.css" />
<link rel="stylesheet" type="text/css" href="../../_static/pygments.css?v=362ab14a" />
<link rel="stylesheet" type="text/css" href="../../_static/css/custom.css?v=2eb4fb78" />

<link rel="preload" as="script" href="../../_static/js/index.9ea38e314b9e6d9dab77.js">

<script data-url_root="../../" id="documentation_options" src="../../_static/documentation_options.js"></script>
<script src="../../_static/doctools.js"></script>
<script src="../../_static/sphinx_highlight.js"></script>
<script data-url_root="../../" id="documentation_options" src="../../_static/documentation_options.js?v=4856959a"></script>
<script src="../../_static/doctools.js?v=888ff710"></script>
<script src="../../_static/sphinx_highlight.js?v=4825356b"></script>
<link rel="index" title="Index" href="../../genindex.html" />
<link rel="search" title="Search" href="../../search.html" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
Expand Down Expand Up @@ -938,7 +938,7 @@ <h1>Source code for ConfigSpace.util</h1><div class="highlight"><pre>
<div class="footer-item">
<p class="sphinx-version">
Created using <a href="http://sphinx-doc.org/">Sphinx</a>
7.0.1. Template is modified version of <a
7.1.1. Template is modified version of <a
href="https://pydata-sphinx-theme.readthedocs.io">PyData Sphinx Theme</a>. <br>
</p>
</div>
Expand Down
Loading

0 comments on commit f5691c8

Please sign in to comment.