Skip to content

Commit

Permalink
build based on 6b828a4
Browse files Browse the repository at this point in the history
  • Loading branch information
Documenter.jl committed Jan 7, 2025
1 parent 08909c3 commit 5ed619b
Show file tree
Hide file tree
Showing 29 changed files with 756 additions and 373 deletions.
2 changes: 1 addition & 1 deletion dev/.documenter-siteinfo.json
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"documenter":{"julia_version":"1.11.2","generation_timestamp":"2025-01-06T17:15:30","documenter_version":"1.8.0"}}
{"documenter":{"julia_version":"1.11.2","generation_timestamp":"2025-01-07T15:04:46","documenter_version":"1.8.0"}}
4 changes: 2 additions & 2 deletions dev/api/esn/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

train_data = rand(10, 100) # 10 features, 100 time steps

esn = ESN(train_data; reservoir=RandSparseReservoir(200), washout=10)</code></pre></div><a class="docs-sourcelink" target="_blank" href="https://github.com/SciML/ReservoirComputing.jl/blob/f0849f3809b4159905684e3d8f7ec7a236c8c023/src/esn/esn.jl#L15-L46">source</a></section></article><h2 id="Training"><a class="docs-heading-anchor" href="#Training">Training</a><a id="Training-1"></a><a class="docs-heading-anchor-permalink" href="#Training" title="Permalink"></a></h2><p>To train an ESN model, you can use the <code>train</code> function. It takes the ESN model, training data, and other optional parameters as input and returns a trained model. Here&#39;s the documentation for the train function:</p><article class="docstring"><header><a class="docstring-article-toggle-button fa-solid fa-chevron-down" href="javascript:;" title="Collapse docstring"></a><a class="docstring-binding" id="ReservoirComputing.train" href="#ReservoirComputing.train"><code>ReservoirComputing.train</code></a><span class="docstring-category">Function</span><span class="is-flex-grow-1 docstring-article-toggle-button" title="Collapse docstring"></span></header><section><div><pre><code class="language-julia hljs">train(esn::AbstractEchoStateNetwork, target_data, training_method = StandardRidge(0.0))</code></pre><p>Trains an Echo State Network (ESN) using the provided target data and a specified training method.</p><p><strong>Parameters</strong></p><ul><li><code>esn::AbstractEchoStateNetwork</code>: The ESN instance to be trained.</li><li><code>target_data</code>: Supervised training data for the ESN.</li><li><code>training_method</code>: The method for training the ESN (default: <code>StandardRidge(0.0)</code>).</li></ul><p><strong>Returns</strong></p><ul><li>The trained ESN model. Its type and structure depend on <code>training_method</code> and the ESN&#39;s implementation.</li></ul><p><strong>Returns</strong></p><p>The trained ESN model. The exact type and structure of the return value depends on the <code>training_method</code> and the specific ESN implementation.</p><pre><code class="language-julia hljs">using ReservoirComputing
esn = ESN(train_data; reservoir=RandSparseReservoir(200), washout=10)</code></pre></div><a class="docs-sourcelink" target="_blank" href="https://github.com/SciML/ReservoirComputing.jl/blob/6b828a4c16691317b15c8d6b4cffa202f98697c4/src/esn/esn.jl#L15-L46">source</a></section></article><h2 id="Training"><a class="docs-heading-anchor" href="#Training">Training</a><a id="Training-1"></a><a class="docs-heading-anchor-permalink" href="#Training" title="Permalink"></a></h2><p>To train an ESN model, you can use the <code>train</code> function. It takes the ESN model, training data, and other optional parameters as input and returns a trained model. Here&#39;s the documentation for the train function:</p><article class="docstring"><header><a class="docstring-article-toggle-button fa-solid fa-chevron-down" href="javascript:;" title="Collapse docstring"></a><a class="docstring-binding" id="ReservoirComputing.train" href="#ReservoirComputing.train"><code>ReservoirComputing.train</code></a><span class="docstring-category">Function</span><span class="is-flex-grow-1 docstring-article-toggle-button" title="Collapse docstring"></span></header><section><div><pre><code class="language-julia hljs">train(esn::AbstractEchoStateNetwork, target_data, training_method = StandardRidge(0.0))</code></pre><p>Trains an Echo State Network (ESN) using the provided target data and a specified training method.</p><p><strong>Parameters</strong></p><ul><li><code>esn::AbstractEchoStateNetwork</code>: The ESN instance to be trained.</li><li><code>target_data</code>: Supervised training data for the ESN.</li><li><code>training_method</code>: The method for training the ESN (default: <code>StandardRidge(0.0)</code>).</li></ul><p><strong>Returns</strong></p><ul><li>The trained ESN model. Its type and structure depend on <code>training_method</code> and the ESN&#39;s implementation.</li></ul><p><strong>Returns</strong></p><p>The trained ESN model. The exact type and structure of the return value depends on the <code>training_method</code> and the specific ESN implementation.</p><pre><code class="language-julia hljs">using ReservoirComputing

# Initialize an ESN instance and target data
esn = ESN(train_data; reservoir=RandSparseReservoir(200), washout=10)
Expand All @@ -13,4 +13,4 @@
trained_esn = train(esn, target_data)

# Train the ESN using a custom training method
trained_esn = train(esn, target_data; training_method=StandardRidge(1.0))</code></pre></div><a class="docs-sourcelink" target="_blank" href="https://github.com/SciML/ReservoirComputing.jl/blob/f0849f3809b4159905684e3d8f7ec7a236c8c023/src/esn/esn.jl#L90-L123">source</a></section></article><p>With these components and variations, you can configure and train ESN models for various time series and sequential data prediction tasks.</p></article><nav class="docs-footer"><a class="docs-footer-prevpage" href="../predict/">« Prediction Types</a><a class="docs-footer-nextpage" href="../inits/">ESN Initializers »</a><div class="flexbox-break"></div><p class="footer-message">Powered by <a href="https://github.com/JuliaDocs/Documenter.jl">Documenter.jl</a> and the <a href="https://julialang.org/">Julia Programming Language</a>.</p></nav></div><div class="modal" id="documenter-settings"><div class="modal-background"></div><div class="modal-card"><header class="modal-card-head"><p class="modal-card-title">Settings</p><button class="delete"></button></header><section class="modal-card-body"><p><label class="label">Theme</label><div class="select"><select id="documenter-themepicker"><option value="auto">Automatic (OS)</option><option value="documenter-light">documenter-light</option><option value="documenter-dark">documenter-dark</option><option value="catppuccin-latte">catppuccin-latte</option><option value="catppuccin-frappe">catppuccin-frappe</option><option value="catppuccin-macchiato">catppuccin-macchiato</option><option value="catppuccin-mocha">catppuccin-mocha</option></select></div></p><hr/><p>This document was generated with <a href="https://github.com/JuliaDocs/Documenter.jl">Documenter.jl</a> version 1.8.0 on <span class="colophon-date" title="Monday 6 January 2025 17:15">Monday 6 January 2025</span>. Using Julia version 1.11.2.</p></section><footer class="modal-card-foot"></footer></div></div></div></body></html>
trained_esn = train(esn, target_data; training_method=StandardRidge(1.0))</code></pre></div><a class="docs-sourcelink" target="_blank" href="https://github.com/SciML/ReservoirComputing.jl/blob/6b828a4c16691317b15c8d6b4cffa202f98697c4/src/esn/esn.jl#L90-L123">source</a></section></article><p>With these components and variations, you can configure and train ESN models for various time series and sequential data prediction tasks.</p></article><nav class="docs-footer"><a class="docs-footer-prevpage" href="../predict/">« Prediction Types</a><a class="docs-footer-nextpage" href="../inits/">ESN Initializers »</a><div class="flexbox-break"></div><p class="footer-message">Powered by <a href="https://github.com/JuliaDocs/Documenter.jl">Documenter.jl</a> and the <a href="https://julialang.org/">Julia Programming Language</a>.</p></nav></div><div class="modal" id="documenter-settings"><div class="modal-background"></div><div class="modal-card"><header class="modal-card-head"><p class="modal-card-title">Settings</p><button class="delete"></button></header><section class="modal-card-body"><p><label class="label">Theme</label><div class="select"><select id="documenter-themepicker"><option value="auto">Automatic (OS)</option><option value="documenter-light">documenter-light</option><option value="documenter-dark">documenter-dark</option><option value="catppuccin-latte">catppuccin-latte</option><option value="catppuccin-frappe">catppuccin-frappe</option><option value="catppuccin-macchiato">catppuccin-macchiato</option><option value="catppuccin-mocha">catppuccin-mocha</option></select></div></p><hr/><p>This document was generated with <a href="https://github.com/JuliaDocs/Documenter.jl">Documenter.jl</a> version 1.8.0 on <span class="colophon-date" title="Tuesday 7 January 2025 15:04">Tuesday 7 January 2025</span>. Using Julia version 1.11.2.</p></section><footer class="modal-card-foot"></footer></div></div></div></body></html>
Loading

0 comments on commit 5ed619b

Please sign in to comment.