Skip to content

Commit

Permalink
GitHub Actions build openturns/otsvm 12011135753
Browse files Browse the repository at this point in the history
  • Loading branch information
GitHub Actions committed Nov 25, 2024
1 parent 792afa0 commit 26832e1
Show file tree
Hide file tree
Showing 37 changed files with 156 additions and 182 deletions.
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.12.6"
"version": "3.12.7"
}
},
"nbformat": 4,
Expand Down
Binary file not shown.
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.12.6"
"version": "3.12.7"
}
},
"nbformat": 4,
Expand Down
Binary file not shown.
2 changes: 1 addition & 1 deletion otsvm/master/_sources/auto_examples/plot_example1.rst.txt
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ especially if you have a lot of parameters to test.
.. rst-class:: sphx-glr-timing

**Total running time of the script:** (0 minutes 4.729 seconds)
**Total running time of the script:** (0 minutes 4.695 seconds)


.. _sphx_glr_download_auto_examples_plot_example1.py:
Expand Down
2 changes: 1 addition & 1 deletion otsvm/master/_sources/auto_examples/plot_example2.rst.txt
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ otsvm enables to:
.. rst-class:: sphx-glr-timing

**Total running time of the script:** (0 minutes 2.128 seconds)
**Total running time of the script:** (0 minutes 2.149 seconds)


.. _sphx_glr_download_auto_examples_plot_example2.py:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

Computation times
=================
**00:06.857** total execution time for 2 files **from auto_examples**:
**00:06.844** total execution time for 2 files **from auto_examples**:

.. container::

Expand All @@ -33,8 +33,8 @@ Computation times
- Time
- Mem (MB)
* - :ref:`sphx_glr_auto_examples_plot_example1.py` (``plot_example1.py``)
- 00:04.729
- 00:04.695
- 0.0
* - :ref:`sphx_glr_auto_examples_plot_example2.py` (``plot_example2.py``)
- 00:02.128
- 00:02.149
- 0.0
6 changes: 3 additions & 3 deletions otsvm/master/_sources/sg_execution_times.rst.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

Computation times
=================
**00:06.857** total execution time for 2 files **from all galleries**:
**00:06.844** total execution time for 2 files **from all galleries**:

.. container::

Expand All @@ -33,8 +33,8 @@ Computation times
- Time
- Mem (MB)
* - :ref:`sphx_glr_auto_examples_plot_example1.py` (``examples/plot_example1.py``)
- 00:04.729
- 00:04.695
- 0.0
* - :ref:`sphx_glr_auto_examples_plot_example2.py` (``examples/plot_example2.py``)
- 00:02.128
- 00:02.149
- 0.0
15 changes: 2 additions & 13 deletions otsvm/master/_static/basic.css
Original file line number Diff line number Diff line change
@@ -1,12 +1,5 @@
/*
* basic.css
* ~~~~~~~~~
*
* Sphinx stylesheet -- basic theme.
*
* :copyright: Copyright 2007-2024 by the Sphinx team, see AUTHORS.
* :license: BSD, see LICENSE for details.
*
*/

/* -- main layout ----------------------------------------------------------- */
Expand Down Expand Up @@ -115,15 +108,11 @@ img {
/* -- search page ----------------------------------------------------------- */

ul.search {
margin: 10px 0 0 20px;
padding: 0;
margin-top: 10px;
}

ul.search li {
padding: 5px 0 5px 20px;
background-image: url(file.png);
background-repeat: no-repeat;
background-position: 0 7px;
padding: 5px 0;
}

ul.search li a {
Expand Down
7 changes: 0 additions & 7 deletions otsvm/master/_static/classic.css
Original file line number Diff line number Diff line change
@@ -1,12 +1,5 @@
/*
* classic.css_t
* ~~~~~~~~~~~~~
*
* Sphinx stylesheet -- classic theme.
*
* :copyright: Copyright 2007-2024 by the Sphinx team, see AUTHORS.
* :license: BSD, see LICENSE for details.
*
*/

@import url("basic.css");
Expand Down
7 changes: 0 additions & 7 deletions otsvm/master/_static/doctools.js
Original file line number Diff line number Diff line change
@@ -1,12 +1,5 @@
/*
* doctools.js
* ~~~~~~~~~~~
*
* Base JavaScript utilities for all Sphinx HTML documentation.
*
* :copyright: Copyright 2007-2024 by the Sphinx team, see AUTHORS.
* :license: BSD, see LICENSE for details.
*
*/
"use strict";

Expand Down
7 changes: 0 additions & 7 deletions otsvm/master/_static/language_data.js
Original file line number Diff line number Diff line change
@@ -1,13 +1,6 @@
/*
* language_data.js
* ~~~~~~~~~~~~~~~~
*
* This script contains the language-specific data used by searchtools.js,
* namely the list of stopwords, stemmer, scorer and splitter.
*
* :copyright: Copyright 2007-2024 by the Sphinx team, see AUTHORS.
* :license: BSD, see LICENSE for details.
*
*/

var stopwords = ["a", "and", "are", "as", "at", "be", "but", "by", "for", "if", "in", "into", "is", "it", "near", "no", "not", "of", "on", "or", "such", "that", "the", "their", "then", "there", "these", "they", "this", "to", "was", "will", "with"];
Expand Down
38 changes: 25 additions & 13 deletions otsvm/master/_static/searchtools.js
Original file line number Diff line number Diff line change
@@ -1,12 +1,5 @@
/*
* searchtools.js
* ~~~~~~~~~~~~~~~~
*
* Sphinx JavaScript utilities for the full-text search.
*
* :copyright: Copyright 2007-2024 by the Sphinx team, see AUTHORS.
* :license: BSD, see LICENSE for details.
*
*/
"use strict";

Expand All @@ -20,7 +13,7 @@ if (typeof Scorer === "undefined") {
// and returns the new score.
/*
score: result => {
const [docname, title, anchor, descr, score, filename] = result
const [docname, title, anchor, descr, score, filename, kind] = result
return score
},
*/
Expand All @@ -47,6 +40,14 @@ if (typeof Scorer === "undefined") {
};
}

// Global search result kind enum, used by themes to style search results.
class SearchResultKind {
static get index() { return "index"; }
static get object() { return "object"; }
static get text() { return "text"; }
static get title() { return "title"; }
}

const _removeChildren = (element) => {
while (element && element.lastChild) element.removeChild(element.lastChild);
};
Expand All @@ -64,9 +65,13 @@ const _displayItem = (item, searchTerms, highlightTerms) => {
const showSearchSummary = DOCUMENTATION_OPTIONS.SHOW_SEARCH_SUMMARY;
const contentRoot = document.documentElement.dataset.content_root;

const [docName, title, anchor, descr, score, _filename] = item;
const [docName, title, anchor, descr, score, _filename, kind] = item;

let listItem = document.createElement("li");
// Add a class representing the item's type:
// can be used by a theme's CSS selector for styling
// See SearchResultKind for the class names.
listItem.classList.add(`kind-${kind}`);
let requestUrl;
let linkUrl;
if (docBuilder === "dirhtml") {
Expand Down Expand Up @@ -115,8 +120,10 @@ const _finishSearch = (resultCount) => {
"Your search did not match any documents. Please make sure that all words are spelled correctly and that you've selected enough categories."
);
else
Search.status.innerText = _(
"Search finished, found ${resultCount} page(s) matching the search query."
Search.status.innerText = Documentation.ngettext(
"Search finished, found one page matching the search query.",
"Search finished, found ${resultCount} pages matching the search query.",
resultCount,
).replace('${resultCount}', resultCount);
};
const _displayNextItem = (
Expand All @@ -138,7 +145,7 @@ const _displayNextItem = (
else _finishSearch(resultCount);
};
// Helper function used by query() to order search results.
// Each input is an array of [docname, title, anchor, descr, score, filename].
// Each input is an array of [docname, title, anchor, descr, score, filename, kind].
// Order the results by score (in opposite order of appearance, since the
// `_displayNextItem` function uses pop() to retrieve items) and then alphabetically.
const _orderResultsByScoreThenName = (a, b) => {
Expand Down Expand Up @@ -248,6 +255,7 @@ const Search = {
searchSummary.classList.add("search-summary");
searchSummary.innerText = "";
const searchList = document.createElement("ul");
searchList.setAttribute("role", "list");
searchList.classList.add("search");

const out = document.getElementById("search-results");
Expand Down Expand Up @@ -318,7 +326,7 @@ const Search = {
const indexEntries = Search._index.indexentries;

// Collect multiple result groups to be sorted separately and then ordered.
// Each is an array of [docname, title, anchor, descr, score, filename].
// Each is an array of [docname, title, anchor, descr, score, filename, kind].
const normalResults = [];
const nonMainIndexResults = [];

Expand All @@ -337,6 +345,7 @@ const Search = {
null,
score + boost,
filenames[file],
SearchResultKind.title,
]);
}
}
Expand All @@ -354,6 +363,7 @@ const Search = {
null,
score,
filenames[file],
SearchResultKind.index,
];
if (isMain) {
normalResults.push(result);
Expand Down Expand Up @@ -475,6 +485,7 @@ const Search = {
descr,
score,
filenames[match[0]],
SearchResultKind.object,
]);
};
Object.keys(objects).forEach((prefix) =>
Expand Down Expand Up @@ -585,6 +596,7 @@ const Search = {
null,
score,
filenames[file],
SearchResultKind.text,
]);
}
return results;
Expand Down
6 changes: 0 additions & 6 deletions otsvm/master/_static/sidebar.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
/*
* sidebar.js
* ~~~~~~~~~~
*
* This script makes the Sphinx sidebar collapsible.
*
* .sphinxsidebar contains .sphinxsidebarwrapper. This script adds
Expand All @@ -16,9 +13,6 @@
* Once the browser is closed the cookie is deleted and the position
* reset to the default (expanded).
*
* :copyright: Copyright 2007-2024 by the Sphinx team, see AUTHORS.
* :license: BSD, see LICENSE for details.
*
*/

const initialiseSidebar = () => {
Expand Down
4 changes: 2 additions & 2 deletions otsvm/master/auto_examples/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

<title>Examples &#8212; OTSVM 0.15 documentation</title>
<link rel="stylesheet" type="text/css" href="../_static/pygments.css?v=fa44fd50" />
<link rel="stylesheet" type="text/css" href="../_static/classic.css?v=def86cc0" />
<link rel="stylesheet" type="text/css" href="../_static/classic.css?v=2bf1fcf8" />
<link rel="stylesheet" type="text/css" href="../_static/plot_directive.css" />
<link rel="stylesheet" type="text/css" href="../_static/copybutton.css?v=76b2166b" />
<link rel="stylesheet" type="text/css" href="../_static/sg_gallery.css?v=d2d258e8" />
Expand All @@ -17,7 +17,7 @@
<link rel="stylesheet" href="../_static/custom.css" type="text/css" />

<script src="../_static/documentation_options.js?v=f41d0df0"></script>
<script src="../_static/doctools.js?v=9a2dae69"></script>
<script src="../_static/doctools.js?v=9bcbadda"></script>
<script src="../_static/sphinx_highlight.js?v=dc90522c"></script>
<script src="../_static/clipboard.min.js?v=a7894cd8"></script>
<script src="../_static/copybutton.js?v=4ea706d9"></script>
Expand Down
10 changes: 5 additions & 5 deletions otsvm/master/auto_examples/plot_example1.html

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions otsvm/master/auto_examples/plot_example2.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

<title>Classification &#8212; OTSVM 0.15 documentation</title>
<link rel="stylesheet" type="text/css" href="../_static/pygments.css?v=fa44fd50" />
<link rel="stylesheet" type="text/css" href="../_static/classic.css?v=def86cc0" />
<link rel="stylesheet" type="text/css" href="../_static/classic.css?v=2bf1fcf8" />
<link rel="stylesheet" type="text/css" href="../_static/plot_directive.css" />
<link rel="stylesheet" type="text/css" href="../_static/copybutton.css?v=76b2166b" />
<link rel="stylesheet" type="text/css" href="../_static/sg_gallery.css?v=d2d258e8" />
Expand All @@ -17,7 +17,7 @@
<link rel="stylesheet" href="../_static/custom.css" type="text/css" />

<script src="../_static/documentation_options.js?v=f41d0df0"></script>
<script src="../_static/doctools.js?v=9a2dae69"></script>
<script src="../_static/doctools.js?v=9bcbadda"></script>
<script src="../_static/sphinx_highlight.js?v=dc90522c"></script>
<script src="../_static/clipboard.min.js?v=a7894cd8"></script>
<script src="../_static/copybutton.js?v=4ea706d9"></script>
Expand Down Expand Up @@ -106,7 +106,7 @@ <h3>Navigation</h3>
Accuracy(p.c.)= 100.0
</pre></div>
</div>
<p class="sphx-glr-timing"><strong>Total running time of the script:</strong> (0 minutes 2.128 seconds)</p>
<p class="sphx-glr-timing"><strong>Total running time of the script:</strong> (0 minutes 2.149 seconds)</p>
<div class="sphx-glr-footer sphx-glr-footer-example docutils container" id="sphx-glr-download-auto-examples-plot-example2-py">
<div class="sphx-glr-download sphx-glr-download-jupyter docutils container">
<p><a class="reference download internal" download="" href="../_downloads/cd55f92c8d819b776c6a1e904e5efb23/plot_example2.ipynb"><code class="xref download docutils literal notranslate"><span class="pre">Download</span> <span class="pre">Jupyter</span> <span class="pre">notebook:</span> <span class="pre">plot_example2.ipynb</span></code></a></p>
Expand Down
10 changes: 5 additions & 5 deletions otsvm/master/auto_examples/sg_execution_times.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

<title>Computation times &#8212; OTSVM 0.15 documentation</title>
<link rel="stylesheet" type="text/css" href="../_static/pygments.css?v=fa44fd50" />
<link rel="stylesheet" type="text/css" href="../_static/classic.css?v=def86cc0" />
<link rel="stylesheet" type="text/css" href="../_static/classic.css?v=2bf1fcf8" />
<link rel="stylesheet" type="text/css" href="../_static/plot_directive.css" />
<link rel="stylesheet" type="text/css" href="../_static/copybutton.css?v=76b2166b" />
<link rel="stylesheet" type="text/css" href="../_static/sg_gallery.css?v=d2d258e8" />
Expand All @@ -17,7 +17,7 @@
<link rel="stylesheet" href="../_static/custom.css" type="text/css" />

<script src="../_static/documentation_options.js?v=f41d0df0"></script>
<script src="../_static/doctools.js?v=9a2dae69"></script>
<script src="../_static/doctools.js?v=9bcbadda"></script>
<script src="../_static/sphinx_highlight.js?v=dc90522c"></script>
<script src="../_static/clipboard.min.js?v=a7894cd8"></script>
<script src="../_static/copybutton.js?v=4ea706d9"></script>
Expand All @@ -43,7 +43,7 @@ <h3>Navigation</h3>

<section id="computation-times">
<span id="sphx-glr-auto-examples-sg-execution-times"></span><h1>Computation times<a class="headerlink" href="#computation-times" title="Link to this heading"></a></h1>
<p><strong>00:06.857</strong> total execution time for 2 files <strong>from auto_examples</strong>:</p>
<p><strong>00:06.844</strong> total execution time for 2 files <strong>from auto_examples</strong>:</p>
<div class="docutils container">
<style scoped>
<link href="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/5.3.0/css/bootstrap.min.css" rel="stylesheet" />
Expand All @@ -65,11 +65,11 @@ <h3>Navigation</h3>
</thead>
<tbody>
<tr class="row-even"><td><p><a class="reference internal" href="plot_example1.html#sphx-glr-auto-examples-plot-example1-py"><span class="std std-ref">Regression</span></a> (<code class="docutils literal notranslate"><span class="pre">plot_example1.py</span></code>)</p></td>
<td><p>00:04.729</p></td>
<td><p>00:04.695</p></td>
<td><p>0.0</p></td>
</tr>
<tr class="row-odd"><td><p><a class="reference internal" href="plot_example2.html#sphx-glr-auto-examples-plot-example2-py"><span class="std std-ref">Classification</span></a> (<code class="docutils literal notranslate"><span class="pre">plot_example2.py</span></code>)</p></td>
<td><p>00:02.128</p></td>
<td><p>00:02.149</p></td>
<td><p>0.0</p></td>
</tr>
</tbody>
Expand Down
4 changes: 2 additions & 2 deletions otsvm/master/developer_guide/architecture/architecture.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

<title>Architecture considerations &#8212; OTSVM 0.15 documentation</title>
<link rel="stylesheet" type="text/css" href="../../_static/pygments.css?v=fa44fd50" />
<link rel="stylesheet" type="text/css" href="../../_static/classic.css?v=def86cc0" />
<link rel="stylesheet" type="text/css" href="../../_static/classic.css?v=2bf1fcf8" />
<link rel="stylesheet" type="text/css" href="../../_static/plot_directive.css" />
<link rel="stylesheet" type="text/css" href="../../_static/copybutton.css?v=76b2166b" />
<link rel="stylesheet" type="text/css" href="../../_static/sg_gallery.css?v=d2d258e8" />
Expand All @@ -17,7 +17,7 @@
<link rel="stylesheet" href="../../_static/custom.css" type="text/css" />

<script src="../../_static/documentation_options.js?v=f41d0df0"></script>
<script src="../../_static/doctools.js?v=9a2dae69"></script>
<script src="../../_static/doctools.js?v=9bcbadda"></script>
<script src="../../_static/sphinx_highlight.js?v=dc90522c"></script>
<script src="../../_static/clipboard.min.js?v=a7894cd8"></script>
<script src="../../_static/copybutton.js?v=4ea706d9"></script>
Expand Down
Loading

0 comments on commit 26832e1

Please sign in to comment.