Skip to content

Commit

Permalink
Documentation source update detected and pushed compilation build dir…
Browse files Browse the repository at this point in the history
…ectory for Github Pages
  • Loading branch information
AlejandroCN7 authored and github-actions[bot] committed May 2, 2024
1 parent 6e87842 commit 5318e48
Show file tree
Hide file tree
Showing 1,121 changed files with 237,414 additions and 158,512 deletions.
2 changes: 1 addition & 1 deletion docs/compilation/main/.buildinfo
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Sphinx build info version 1
# This file hashes the configuration used when building these files. When it is not found, a full rebuild will be done.
config: ccaa442ce4593530ac48695f3c59bcb4
config: 137a891d2d5b45bed16d16e7680fc03b
tags: 645f666f9bcd5a90fca523b33c5a78b7
Binary file modified docs/compilation/main/.doctrees/environment.pickle
Binary file not shown.
Binary file modified docs/compilation/main/.doctrees/index.doctree
Binary file not shown.
131,910 changes: 79,115 additions & 52,795 deletions docs/compilation/main/.doctrees/nbsphinx/pages/notebooks/drl.ipynb

Large diffs are not rendered by default.

Binary file modified docs/compilation/main/.doctrees/pages/API-reference.doctree
Binary file not shown.
Binary file modified docs/compilation/main/.doctrees/pages/architecture.doctree
Binary file not shown.
Binary file modified docs/compilation/main/.doctrees/pages/buildings.doctree
Binary file not shown.
Binary file modified docs/compilation/main/.doctrees/pages/controllers.doctree
Binary file not shown.
Binary file not shown.
Binary file modified docs/compilation/main/.doctrees/pages/environments.doctree
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file modified docs/compilation/main/.doctrees/pages/gcloudAPI.doctree
Binary file not shown.
Binary file modified docs/compilation/main/.doctrees/pages/github-actions.doctree
Binary file not shown.
Binary file modified docs/compilation/main/.doctrees/pages/installation.doctree
Binary file not shown.
Binary file modified docs/compilation/main/.doctrees/pages/introduction.doctree
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file modified docs/compilation/main/.doctrees/pages/notebooks/drl.doctree
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file modified docs/compilation/main/.doctrees/pages/output.doctree
Binary file not shown.
Binary file modified docs/compilation/main/.doctrees/pages/rewards.doctree
Binary file not shown.
Binary file modified docs/compilation/main/.doctrees/pages/tests.doctree
Binary file not shown.
Binary file modified docs/compilation/main/.doctrees/pages/usage-example.doctree
Binary file not shown.
Binary file modified docs/compilation/main/.doctrees/pages/weathers.doctree
Binary file not shown.
Binary file modified docs/compilation/main/.doctrees/pages/wrappers.doctree
Binary file not shown.
6 changes: 6 additions & 0 deletions docs/compilation/main/_sources/pages/wrappers.rst.txt
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,12 @@ However, *Sinergym* enhances its functionality with some additional features:
- The automatic calibration can be enabled or disabled as you interact with the environment, allowing the
calibration to remain static instead of adaptive.

In addition, this wrapper saves the values of mean and var in txt files in the
*Sinergym* output. This should be used in case of evaluating the model later.
An example of its use can be found in the use case :ref:`Loading a model`. It is
also important that normalization calibration update is deactivated during evaluation
processes.

These functionalities are crucial when evaluating models trained using this wrapper.
For more details, visit `#407 <https://github.com/ugr-sail/sinergym/issues/407>`__.

Expand Down
2 changes: 2 additions & 0 deletions docs/compilation/main/genindex.html
Original file line number Diff line number Diff line change
Expand Up @@ -283,6 +283,8 @@ <h2 id="C">C</h2>

<ul>
<li><a href="pages/modules/sinergym.utils.wrappers.LoggerWrapper.html#sinergym.utils.wrappers.LoggerWrapper.close">(sinergym.utils.wrappers.LoggerWrapper method)</a>
</li>
<li><a href="pages/modules/sinergym.utils.wrappers.NormalizeObservation.html#sinergym.utils.wrappers.NormalizeObservation.close">(sinergym.utils.wrappers.NormalizeObservation method)</a>
</li>
</ul></li>
</ul></td>
Expand Down
Binary file modified docs/compilation/main/objects.inv
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -148,10 +148,10 @@
<h1>sinergym.utils.wrappers.NormalizeObservation<a class="headerlink" href="#sinergym-utils-wrappers-normalizeobservation" title="Link to this heading"></a></h1>
<dl class="py class">
<dt class="sig sig-object py" id="sinergym.utils.wrappers.NormalizeObservation">
<em class="property"><span class="pre">class</span><span class="w"> </span></em><span class="sig-prename descclassname"><span class="pre">sinergym.utils.wrappers.</span></span><span class="sig-name descname"><span class="pre">NormalizeObservation</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">env</span></span><span class="p"><span class="pre">:</span></span><span class="w"> </span><span class="n"><a class="reference internal" href="sinergym.envs.eplus_env.EplusEnv.html#sinergym.envs.eplus_env.EplusEnv" title="sinergym.envs.eplus_env.EplusEnv"><span class="pre">EplusEnv</span></a></span></em>, <em class="sig-param"><span class="n"><span class="pre">automatic_update</span></span><span class="p"><span class="pre">:</span></span><span class="w"> </span><span class="n"><span class="pre">bool</span></span><span class="w"> </span><span class="o"><span class="pre">=</span></span><span class="w"> </span><span class="default_value"><span class="pre">True</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">epsilon</span></span><span class="p"><span class="pre">:</span></span><span class="w"> </span><span class="n"><span class="pre">float</span></span><span class="w"> </span><span class="o"><span class="pre">=</span></span><span class="w"> </span><span class="default_value"><span class="pre">1e-08</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">mean</span></span><span class="p"><span class="pre">:</span></span><span class="w"> </span><span class="n"><span class="pre">float64</span><span class="w"> </span><span class="p"><span class="pre">|</span></span><span class="w"> </span><span class="pre">None</span></span><span class="w"> </span><span class="o"><span class="pre">=</span></span><span class="w"> </span><span class="default_value"><span class="pre">None</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">var</span></span><span class="p"><span class="pre">:</span></span><span class="w"> </span><span class="n"><span class="pre">float64</span><span class="w"> </span><span class="p"><span class="pre">|</span></span><span class="w"> </span><span class="pre">None</span></span><span class="w"> </span><span class="o"><span class="pre">=</span></span><span class="w"> </span><span class="default_value"><span class="pre">None</span></span></em><span class="sig-paren">)</span><a class="headerlink" href="#sinergym.utils.wrappers.NormalizeObservation" title="Link to this definition"></a></dt>
<em class="property"><span class="pre">class</span><span class="w"> </span></em><span class="sig-prename descclassname"><span class="pre">sinergym.utils.wrappers.</span></span><span class="sig-name descname"><span class="pre">NormalizeObservation</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">env</span></span><span class="p"><span class="pre">:</span></span><span class="w"> </span><span class="n"><a class="reference internal" href="sinergym.envs.eplus_env.EplusEnv.html#sinergym.envs.eplus_env.EplusEnv" title="sinergym.envs.eplus_env.EplusEnv"><span class="pre">EplusEnv</span></a></span></em>, <em class="sig-param"><span class="n"><span class="pre">automatic_update</span></span><span class="p"><span class="pre">:</span></span><span class="w"> </span><span class="n"><span class="pre">bool</span></span><span class="w"> </span><span class="o"><span class="pre">=</span></span><span class="w"> </span><span class="default_value"><span class="pre">True</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">epsilon</span></span><span class="p"><span class="pre">:</span></span><span class="w"> </span><span class="n"><span class="pre">float</span></span><span class="w"> </span><span class="o"><span class="pre">=</span></span><span class="w"> </span><span class="default_value"><span class="pre">1e-08</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">mean</span></span><span class="p"><span class="pre">:</span></span><span class="w"> </span><span class="n"><span class="pre">list</span><span class="w"> </span><span class="p"><span class="pre">|</span></span><span class="w"> </span><span class="pre">float64</span><span class="w"> </span><span class="p"><span class="pre">|</span></span><span class="w"> </span><span class="pre">None</span></span><span class="w"> </span><span class="o"><span class="pre">=</span></span><span class="w"> </span><span class="default_value"><span class="pre">None</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">var</span></span><span class="p"><span class="pre">:</span></span><span class="w"> </span><span class="n"><span class="pre">list</span><span class="w"> </span><span class="p"><span class="pre">|</span></span><span class="w"> </span><span class="pre">float64</span><span class="w"> </span><span class="p"><span class="pre">|</span></span><span class="w"> </span><span class="pre">None</span></span><span class="w"> </span><span class="o"><span class="pre">=</span></span><span class="w"> </span><span class="default_value"><span class="pre">None</span></span></em><span class="sig-paren">)</span><a class="headerlink" href="#sinergym.utils.wrappers.NormalizeObservation" title="Link to this definition"></a></dt>
<dd><dl class="py method">
<dt class="sig sig-object py" id="sinergym.utils.wrappers.NormalizeObservation.__init__">
<span class="sig-name descname"><span class="pre">__init__</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">env</span></span><span class="p"><span class="pre">:</span></span><span class="w"> </span><span class="n"><a class="reference internal" href="sinergym.envs.eplus_env.EplusEnv.html#sinergym.envs.eplus_env.EplusEnv" title="sinergym.envs.eplus_env.EplusEnv"><span class="pre">EplusEnv</span></a></span></em>, <em class="sig-param"><span class="n"><span class="pre">automatic_update</span></span><span class="p"><span class="pre">:</span></span><span class="w"> </span><span class="n"><span class="pre">bool</span></span><span class="w"> </span><span class="o"><span class="pre">=</span></span><span class="w"> </span><span class="default_value"><span class="pre">True</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">epsilon</span></span><span class="p"><span class="pre">:</span></span><span class="w"> </span><span class="n"><span class="pre">float</span></span><span class="w"> </span><span class="o"><span class="pre">=</span></span><span class="w"> </span><span class="default_value"><span class="pre">1e-08</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">mean</span></span><span class="p"><span class="pre">:</span></span><span class="w"> </span><span class="n"><span class="pre">float64</span><span class="w"> </span><span class="p"><span class="pre">|</span></span><span class="w"> </span><span class="pre">None</span></span><span class="w"> </span><span class="o"><span class="pre">=</span></span><span class="w"> </span><span class="default_value"><span class="pre">None</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">var</span></span><span class="p"><span class="pre">:</span></span><span class="w"> </span><span class="n"><span class="pre">float64</span><span class="w"> </span><span class="p"><span class="pre">|</span></span><span class="w"> </span><span class="pre">None</span></span><span class="w"> </span><span class="o"><span class="pre">=</span></span><span class="w"> </span><span class="default_value"><span class="pre">None</span></span></em><span class="sig-paren">)</span><a class="headerlink" href="#sinergym.utils.wrappers.NormalizeObservation.__init__" title="Link to this definition"></a></dt>
<span class="sig-name descname"><span class="pre">__init__</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">env</span></span><span class="p"><span class="pre">:</span></span><span class="w"> </span><span class="n"><a class="reference internal" href="sinergym.envs.eplus_env.EplusEnv.html#sinergym.envs.eplus_env.EplusEnv" title="sinergym.envs.eplus_env.EplusEnv"><span class="pre">EplusEnv</span></a></span></em>, <em class="sig-param"><span class="n"><span class="pre">automatic_update</span></span><span class="p"><span class="pre">:</span></span><span class="w"> </span><span class="n"><span class="pre">bool</span></span><span class="w"> </span><span class="o"><span class="pre">=</span></span><span class="w"> </span><span class="default_value"><span class="pre">True</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">epsilon</span></span><span class="p"><span class="pre">:</span></span><span class="w"> </span><span class="n"><span class="pre">float</span></span><span class="w"> </span><span class="o"><span class="pre">=</span></span><span class="w"> </span><span class="default_value"><span class="pre">1e-08</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">mean</span></span><span class="p"><span class="pre">:</span></span><span class="w"> </span><span class="n"><span class="pre">list</span><span class="w"> </span><span class="p"><span class="pre">|</span></span><span class="w"> </span><span class="pre">float64</span><span class="w"> </span><span class="p"><span class="pre">|</span></span><span class="w"> </span><span class="pre">None</span></span><span class="w"> </span><span class="o"><span class="pre">=</span></span><span class="w"> </span><span class="default_value"><span class="pre">None</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">var</span></span><span class="p"><span class="pre">:</span></span><span class="w"> </span><span class="n"><span class="pre">list</span><span class="w"> </span><span class="p"><span class="pre">|</span></span><span class="w"> </span><span class="pre">float64</span><span class="w"> </span><span class="p"><span class="pre">|</span></span><span class="w"> </span><span class="pre">None</span></span><span class="w"> </span><span class="o"><span class="pre">=</span></span><span class="w"> </span><span class="default_value"><span class="pre">None</span></span></em><span class="sig-paren">)</span><a class="headerlink" href="#sinergym.utils.wrappers.NormalizeObservation.__init__" title="Link to this definition"></a></dt>
<dd><p>Initializes the NormalizationWrapper. Mean and var values can be None andbeing updated during interaction with environment.</p>
<dl class="field-list simple">
<dt class="field-odd">Parameters<span class="colon">:</span></dt>
Expand All @@ -178,8 +178,8 @@ <h1>sinergym.utils.wrappers.NormalizeObservation<a class="headerlink" href="#sin
<tr class="row-odd"><td><p><code class="xref py py-obj docutils literal notranslate"><span class="pre">class_name</span></code>()</p></td>
<td><p>Returns the class name of the wrapper.</p></td>
</tr>
<tr class="row-even"><td><p><code class="xref py py-obj docutils literal notranslate"><span class="pre">close</span></code>()</p></td>
<td><p>Closes the wrapper and <code class="xref py py-attr docutils literal notranslate"><span class="pre">env</span></code>.</p></td>
<tr class="row-even"><td><p><a class="reference internal" href="#sinergym.utils.wrappers.NormalizeObservation.close" title="sinergym.utils.wrappers.NormalizeObservation.close"><code class="xref py py-obj docutils literal notranslate"><span class="pre">close</span></code></a>()</p></td>
<td><p>Close the environment and save normalization calibration.</p></td>
</tr>
<tr class="row-odd"><td><p><a class="reference internal" href="#sinergym.utils.wrappers.NormalizeObservation.deactivate_update" title="sinergym.utils.wrappers.NormalizeObservation.deactivate_update"><code class="xref py py-obj docutils literal notranslate"><span class="pre">deactivate_update</span></code></a>()</p></td>
<td><p>Deactivates the automatic update of the normalization wrapper.</p></td>
Expand Down Expand Up @@ -255,6 +255,12 @@ <h1>sinergym.utils.wrappers.NormalizeObservation<a class="headerlink" href="#sin
After calling this method, the normalization wrapper will update its calibration automatically.</p>
</dd></dl>

<dl class="py method">
<dt class="sig sig-object py" id="sinergym.utils.wrappers.NormalizeObservation.close">
<span class="sig-name descname"><span class="pre">close</span></span><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#sinergym.utils.wrappers.NormalizeObservation.close" title="Link to this definition"></a></dt>
<dd><p>Close the environment and save normalization calibration.</p>
</dd></dl>

<dl class="py method">
<dt class="sig sig-object py" id="sinergym.utils.wrappers.NormalizeObservation.deactivate_update">
<span class="sig-name descname"><span class="pre">deactivate_update</span></span><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#sinergym.utils.wrappers.NormalizeObservation.deactivate_update" title="Link to this definition"></a></dt>
Expand All @@ -269,7 +275,7 @@ <h1>sinergym.utils.wrappers.NormalizeObservation<a class="headerlink" href="#sin

<dl class="py property">
<dt class="sig sig-object py" id="sinergym.utils.wrappers.NormalizeObservation.mean">
<em class="property"><span class="pre">property</span><span class="w"> </span></em><span class="sig-name descname"><span class="pre">mean</span></span><a class="headerlink" href="#sinergym.utils.wrappers.NormalizeObservation.mean" title="Link to this definition"></a></dt>
<em class="property"><span class="pre">property</span><span class="w"> </span></em><span class="sig-name descname"><span class="pre">mean</span></span><em class="property"><span class="p"><span class="pre">:</span></span><span class="w"> </span><span class="pre">float64</span><span class="w"> </span><span class="p"><span class="pre">|</span></span><span class="w"> </span><span class="pre">None</span></em><a class="headerlink" href="#sinergym.utils.wrappers.NormalizeObservation.mean" title="Link to this definition"></a></dt>
<dd><p>Returns the mean value of the observations.</p>
</dd></dl>

Expand Down Expand Up @@ -306,7 +312,7 @@ <h1>sinergym.utils.wrappers.NormalizeObservation<a class="headerlink" href="#sin

<dl class="py property">
<dt class="sig sig-object py" id="sinergym.utils.wrappers.NormalizeObservation.var">
<em class="property"><span class="pre">property</span><span class="w"> </span></em><span class="sig-name descname"><span class="pre">var</span></span><a class="headerlink" href="#sinergym.utils.wrappers.NormalizeObservation.var" title="Link to this definition"></a></dt>
<em class="property"><span class="pre">property</span><span class="w"> </span></em><span class="sig-name descname"><span class="pre">var</span></span><em class="property"><span class="p"><span class="pre">:</span></span><span class="w"> </span><span class="pre">float64</span><span class="w"> </span><span class="p"><span class="pre">|</span></span><span class="w"> </span><span class="pre">None</span></em><a class="headerlink" href="#sinergym.utils.wrappers.NormalizeObservation.var" title="Link to this definition"></a></dt>
<dd><p>Returns the variance value of the observations.</p>
</dd></dl>

Expand Down
Loading

0 comments on commit 5318e48

Please sign in to comment.