Skip to content

Commit

Permalink
fix #5
Browse files Browse the repository at this point in the history
  • Loading branch information
gagolews committed Dec 11, 2023
1 parent f0ab16a commit 5b6a153
Show file tree
Hide file tree
Showing 26 changed files with 118 additions and 98 deletions.
6 changes: 6 additions & 0 deletions .devel/sphinx/news.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# Changelog

## 1.1.3 (2023-12-11)

- [BUGFIX] #5: `load_dataset` threw an `OSError` while trying to load
a dataset.


## 1.1.2 (2023-10-19)

- [BUGFIX] `adjusted_asymetric_accuracy` is now called
Expand Down
6 changes: 6 additions & 0 deletions NEWS
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# Changelog

## 1.1.3 (2023-12-11)

- [BUGFIX] #5: `load_dataset` threw an `OSError` while trying to load
a dataset.


## 1.1.2 (2023-10-19)

- [BUGFIX] `adjusted_asymetric_accuracy` is now called
Expand Down
2 changes: 1 addition & 1 deletion clustbench/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
# ############################################################################ #

# version string, e.g., "1.0.0.9001" or "1.1.1"
__version__ = "1.1.2"
__version__ = "1.1.3"


from .get_names import get_dataset_names, get_battery_names
Expand Down
2 changes: 1 addition & 1 deletion clustbench/load_dataset.py
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ def load_dataset(

labels.append(ll)
i += 1
except FileNotFoundError:
except OSError:
# this could be done better with glob.glob for local files,
# but not for remote URLs
break
Expand Down
2 changes: 1 addition & 1 deletion docs/_static/documentation_options.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
const DOCUMENTATION_OPTIONS = {
VERSION: '1.1.2',
VERSION: '1.1.3',
LANGUAGE: 'en',
COLLAPSE_INDEX: false,
BUILDER: 'html',
Expand Down
8 changes: 4 additions & 4 deletions docs/clustbench-documentation.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<link rel="index" title="Index" href="genindex.html" /><link rel="search" title="Search" href="search.html" /><link rel="next" title="Colouriser: A Planar Data Editor" href="weave/colouriser.html" /><link rel="prev" title="Using clustbench" href="weave/clustbench-usage.html" />
<link rel="canonical" href="https://clustering-benchmarks.gagolewski.com/clustbench-documentation.html" />

<link rel="shortcut icon" href="https://www.gagolewski.com/_static/img/clustbench.png"/><!-- Generated with Sphinx 7.2.5 and Furo 2023.08.19 -->
<link rel="shortcut icon" href="https://www.gagolewski.com/_static/img/clustbench.png"/><!-- Generated with Sphinx 7.2.6 and Furo 2023.09.10 -->
<title>Documentation - Clustering Benchmarks</title>
<link rel="stylesheet" type="text/css" href="_static/pygments.css?v=80d5e7a1" />
<link rel="stylesheet" type="text/css" href="_static/styles/furo.css?v=135e06be" />
Expand Down Expand Up @@ -168,7 +168,7 @@
<a class="sidebar-brand" href="index.html">Clustering Benchmarks</a>
</span>
<div class="sidebar-brand">
1.1.2
1.1.3
</div>
<form class="sidebar-search-container" method="get" action="search.html" role="search">
<input class="sidebar-search" placeholder="Search" name="q" aria-label="Search">
Expand Down Expand Up @@ -843,7 +843,7 @@ <h1>Documentation<a class="headerlink" href="#documentation" title="Link to this
Some rights reserved. Licensed under <a href='https://creativecommons.org/licenses/by-nc-nd/4.0/'>CC BY-NC-ND 4.0</a>.
Built with <a href="https://sphinx-doc.org/">Sphinx</a>
and a customised <a href="https://github.com/pradyunsg/furo">Furo</a> theme.
Last updated on 2023-11-05T12:32:42+1100.
Last updated on 2023-12-11T15:14:53+1100.
This site will never display any ads: it is a non-profit project.
It does not collect any data.
</div>
Expand Down Expand Up @@ -896,7 +896,7 @@ <h1>Documentation<a class="headerlink" href="#documentation" title="Link to this

</aside>
</div>
</div><script src="_static/documentation_options.js?v=6f037312"></script>
</div><script src="_static/documentation_options.js?v=cb7bf70b"></script>
<script src="_static/doctools.js?v=888ff710"></script>
<script src="_static/sphinx_highlight.js?v=dc90522c"></script>
<script src="_static/scripts/furo.js?v=32e29ea5"></script>
Expand Down
8 changes: 4 additions & 4 deletions docs/genindex.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<meta name="color-scheme" content="light dark"><link rel="index" title="Index" href="#" /><link rel="search" title="Search" href="search.html" />
<link rel="canonical" href="https://clustering-benchmarks.gagolewski.com/genindex.html" />

<link rel="shortcut icon" href="https://www.gagolewski.com/_static/img/clustbench.png"/><!-- Generated with Sphinx 7.2.5 and Furo 2023.08.19 --><title>Index - Clustering Benchmarks</title>
<link rel="shortcut icon" href="https://www.gagolewski.com/_static/img/clustbench.png"/><!-- Generated with Sphinx 7.2.6 and Furo 2023.09.10 --><title>Index - Clustering Benchmarks</title>
<link rel="stylesheet" type="text/css" href="_static/pygments.css?v=80d5e7a1" />
<link rel="stylesheet" type="text/css" href="_static/styles/furo.css?v=135e06be" />
<link rel="stylesheet" type="text/css" href="_static/plot_directive.css" />
Expand Down Expand Up @@ -166,7 +166,7 @@
<a class="sidebar-brand" href="index.html">Clustering Benchmarks</a>
</span>
<div class="sidebar-brand">
1.1.2
1.1.3
</div>
<form class="sidebar-search-container" method="get" action="search.html" role="search">
<input class="sidebar-search" placeholder="Search" name="q" aria-label="Search">
Expand Down Expand Up @@ -398,7 +398,7 @@ <h2>T</h2>
Some rights reserved. Licensed under <a href='https://creativecommons.org/licenses/by-nc-nd/4.0/'>CC BY-NC-ND 4.0</a>.
Built with <a href="https://sphinx-doc.org/">Sphinx</a>
and a customised <a href="https://github.com/pradyunsg/furo">Furo</a> theme.
Last updated on 2023-11-05T12:32:42+1100.
Last updated on 2023-12-11T15:14:53+1100.
This site will never display any ads: it is a non-profit project.
It does not collect any data.
</div>
Expand All @@ -413,7 +413,7 @@ <h2>T</h2>

</aside>
</div>
</div><script src="_static/documentation_options.js?v=6f037312"></script>
</div><script src="_static/documentation_options.js?v=cb7bf70b"></script>
<script src="_static/doctools.js?v=888ff710"></script>
<script src="_static/sphinx_highlight.js?v=dc90522c"></script>
<script src="_static/scripts/furo.js?v=32e29ea5"></script>
Expand Down
8 changes: 4 additions & 4 deletions docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<link rel="index" title="Index" href="genindex.html" /><link rel="search" title="Search" href="search.html" /><link rel="next" title="True vs Predicted Clusters" href="weave/true-vs-predicted.html" />
<link rel="canonical" href="https://clustering-benchmarks.gagolewski.com/index.html" />

<link rel="shortcut icon" href="https://www.gagolewski.com/_static/img/clustbench.png"/><!-- Generated with Sphinx 7.2.5 and Furo 2023.08.19 -->
<link rel="shortcut icon" href="https://www.gagolewski.com/_static/img/clustbench.png"/><!-- Generated with Sphinx 7.2.6 and Furo 2023.09.10 -->
<title>Clustering Benchmarks</title>
<link rel="stylesheet" type="text/css" href="_static/pygments.css?v=80d5e7a1" />
<link rel="stylesheet" type="text/css" href="_static/styles/furo.css?v=135e06be" />
Expand Down Expand Up @@ -168,7 +168,7 @@
<a class="sidebar-brand" href="#">Clustering Benchmarks</a>
</span>
<div class="sidebar-brand">
1.1.2
1.1.3
</div>
<form class="sidebar-search-container" method="get" action="search.html" role="search">
<input class="sidebar-search" placeholder="Search" name="q" aria-label="Search">
Expand Down Expand Up @@ -381,7 +381,7 @@ <h1>A Framework for Benchmarking Clustering Algorithms<a class="headerlink" href
Some rights reserved. Licensed under <a href='https://creativecommons.org/licenses/by-nc-nd/4.0/'>CC BY-NC-ND 4.0</a>.
Built with <a href="https://sphinx-doc.org/">Sphinx</a>
and a customised <a href="https://github.com/pradyunsg/furo">Furo</a> theme.
Last updated on 2023-11-05T12:32:42+1100.
Last updated on 2023-12-11T15:14:53+1100.
This site will never display any ads: it is a non-profit project.
It does not collect any data.
</div>
Expand Down Expand Up @@ -414,7 +414,7 @@ <h1>A Framework for Benchmarking Clustering Algorithms<a class="headerlink" href

</aside>
</div>
</div><script src="_static/documentation_options.js?v=6f037312"></script>
</div><script src="_static/documentation_options.js?v=cb7bf70b"></script>
<script src="_static/doctools.js?v=888ff710"></script>
<script src="_static/sphinx_highlight.js?v=dc90522c"></script>
<script src="_static/scripts/furo.js?v=32e29ea5"></script>
Expand Down
44 changes: 26 additions & 18 deletions docs/news.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<link rel="index" title="Index" href="genindex.html" /><link rel="search" title="Search" href="search.html" /><link rel="next" title="References" href="z_bibliography.html" /><link rel="prev" title="Side Note: Internal (In)Validity Measures" href="weave/internal-validity-measures.html" />
<link rel="canonical" href="https://clustering-benchmarks.gagolewski.com/news.html" />

<link rel="shortcut icon" href="https://www.gagolewski.com/_static/img/clustbench.png"/><!-- Generated with Sphinx 7.2.5 and Furo 2023.08.19 -->
<link rel="shortcut icon" href="https://www.gagolewski.com/_static/img/clustbench.png"/><!-- Generated with Sphinx 7.2.6 and Furo 2023.09.10 -->
<title>Changelog - Clustering Benchmarks</title>
<link rel="stylesheet" type="text/css" href="_static/pygments.css?v=80d5e7a1" />
<link rel="stylesheet" type="text/css" href="_static/styles/furo.css?v=135e06be" />
Expand Down Expand Up @@ -168,7 +168,7 @@
<a class="sidebar-brand" href="index.html">Clustering Benchmarks</a>
</span>
<div class="sidebar-brand">
1.1.2
1.1.3
</div>
<form class="sidebar-search-container" method="get" action="search.html" role="search">
<input class="sidebar-search" placeholder="Search" name="q" aria-label="Search">
Expand Down Expand Up @@ -257,20 +257,27 @@
<section class="tex2jax_ignore mathjax_ignore" id="changelog">
<h1>Changelog<a class="headerlink" href="#changelog" title="Link to this heading">#</a></h1>
<section id="id1">
<h2>1.1.2 (2023-10-19)<a class="headerlink" href="#id1" title="Link to this heading">#</a></h2>
<h2>1.1.3 (2023-12-11)<a class="headerlink" href="#id1" title="Link to this heading">#</a></h2>
<ul class="simple">
<li><p>[BUGFIX] #5: <code class="docutils literal notranslate"><span class="pre">load_dataset</span></code> threw an <code class="docutils literal notranslate"><span class="pre">OSError</span></code> while trying to load
a dataset.</p></li>
</ul>
</section>
<section id="id2">
<h2>1.1.2 (2023-10-19)<a class="headerlink" href="#id2" title="Link to this heading">#</a></h2>
<ul class="simple">
<li><p>[BUGFIX] <code class="docutils literal notranslate"><span class="pre">adjusted_asymetric_accuracy</span></code> is now called
<code class="docutils literal notranslate"><span class="pre">normalized_clustering_accuracy</span></code> in <code class="docutils literal notranslate"><span class="pre">genieclust</span></code>.</p></li>
</ul>
</section>
<section id="id2">
<h2>1.1.1 (2022-10-06)<a class="headerlink" href="#id2" title="Link to this heading">#</a></h2>
<section id="id3">
<h2>1.1.1 (2022-10-06)<a class="headerlink" href="#id3" title="Link to this heading">#</a></h2>
<ul class="simple">
<li><p>[BUGFIX] #3: <code class="docutils literal notranslate"><span class="pre">root_dir</span></code> in <code class="docutils literal notranslate"><span class="pre">glob.glob</span></code> is only available Python &gt;= 3.10.</p></li>
</ul>
</section>
<section id="id3">
<h2>1.1.0 (2022-09-17)<a class="headerlink" href="#id3" title="Link to this heading">#</a></h2>
<section id="id4">
<h2>1.1.0 (2022-09-17)<a class="headerlink" href="#id4" title="Link to this heading">#</a></h2>
<ul class="simple">
<li><p>The project’s homepage was created. It is available at
<a class="reference external" href="https://clustering-benchmarks.gagolewski.com">https://clustering-benchmarks.gagolewski.com</a>.</p></li>
Expand All @@ -281,16 +288,16 @@ <h2>1.1.0 (2022-09-17)<a class="headerlink" href="#id3" title="Link to this head
<a class="reference external" href="https://github.com/gagolews/clustering-results-v1">https://github.com/gagolews/clustering-results-v1</a>.</p></li>
</ul>
</section>
<section id="id4">
<h2>1.0.0 (2020-05-08)<a class="headerlink" href="#id4" title="Link to this heading">#</a></h2>
<section id="id5">
<h2>1.0.0 (2020-05-08)<a class="headerlink" href="#id5" title="Link to this heading">#</a></h2>
<ul class="simple">
<li><p>Datasets in the 1st (v1.0.0) version of the benchmark
battery are now frozen. The historical snapshot is available at
DOI: <a class="reference external" href="https://doi.org/10.5281/zenodo.3815066">10.5281/zenodo.3815066</a>.</p></li>
</ul>
</section>
<section id="id5">
<h2>0.0.0 (2015-12-29)<a class="headerlink" href="#id5" title="Link to this heading">#</a></h2>
<section id="id6">
<h2>0.0.0 (2015-12-29)<a class="headerlink" href="#id6" title="Link to this heading">#</a></h2>
<ul>
<li><p>Version 0 of the benchmark battery consists of the datasets
studied in: Gagolewski M., Bartoszuk M., Cena A.,
Expand Down Expand Up @@ -339,7 +346,7 @@ <h2>0.0.0 (2015-12-29)<a class="headerlink" href="#id5" title="Link to this head
Some rights reserved. Licensed under <a href='https://creativecommons.org/licenses/by-nc-nd/4.0/'>CC BY-NC-ND 4.0</a>.
Built with <a href="https://sphinx-doc.org/">Sphinx</a>
and a customised <a href="https://github.com/pradyunsg/furo">Furo</a> theme.
Last updated on 2023-11-05T12:32:42+1100.
Last updated on 2023-12-11T15:14:53+1100.
This site will never display any ads: it is a non-profit project.
It does not collect any data.
</div>
Expand All @@ -361,11 +368,12 @@ <h2>0.0.0 (2015-12-29)<a class="headerlink" href="#id5" title="Link to this head
<div class="toc-tree">
<ul>
<li><a class="reference internal" href="#">Changelog</a><ul>
<li><a class="reference internal" href="#id1">1.1.2 (2023-10-19)</a></li>
<li><a class="reference internal" href="#id2">1.1.1 (2022-10-06)</a></li>
<li><a class="reference internal" href="#id3">1.1.0 (2022-09-17)</a></li>
<li><a class="reference internal" href="#id4">1.0.0 (2020-05-08)</a></li>
<li><a class="reference internal" href="#id5">0.0.0 (2015-12-29)</a></li>
<li><a class="reference internal" href="#id1">1.1.3 (2023-12-11)</a></li>
<li><a class="reference internal" href="#id2">1.1.2 (2023-10-19)</a></li>
<li><a class="reference internal" href="#id3">1.1.1 (2022-10-06)</a></li>
<li><a class="reference internal" href="#id4">1.1.0 (2022-09-17)</a></li>
<li><a class="reference internal" href="#id5">1.0.0 (2020-05-08)</a></li>
<li><a class="reference internal" href="#id6">0.0.0 (2015-12-29)</a></li>
</ul>
</li>
</ul>
Expand All @@ -377,7 +385,7 @@ <h2>0.0.0 (2015-12-29)<a class="headerlink" href="#id5" title="Link to this head

</aside>
</div>
</div><script src="_static/documentation_options.js?v=6f037312"></script>
</div><script src="_static/documentation_options.js?v=cb7bf70b"></script>
<script src="_static/doctools.js?v=888ff710"></script>
<script src="_static/sphinx_highlight.js?v=dc90522c"></script>
<script src="_static/scripts/furo.js?v=32e29ea5"></script>
Expand Down
8 changes: 4 additions & 4 deletions docs/py-modindex.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<meta name="color-scheme" content="light dark"><link rel="index" title="Index" href="genindex.html" /><link rel="search" title="Search" href="search.html" />
<link rel="canonical" href="https://clustering-benchmarks.gagolewski.com/py-modindex.html" />

<link rel="shortcut icon" href="https://www.gagolewski.com/_static/img/clustbench.png"/><!-- Generated with Sphinx 7.2.5 and Furo 2023.08.19 --><title>Python Module Index - Clustering Benchmarks</title>
<link rel="shortcut icon" href="https://www.gagolewski.com/_static/img/clustbench.png"/><!-- Generated with Sphinx 7.2.6 and Furo 2023.09.10 --><title>Python Module Index - Clustering Benchmarks</title>
<link rel="stylesheet" type="text/css" href="_static/pygments.css?v=80d5e7a1" />
<link rel="stylesheet" type="text/css" href="_static/styles/furo.css?v=135e06be" />
<link rel="stylesheet" type="text/css" href="_static/plot_directive.css" />
Expand Down Expand Up @@ -166,7 +166,7 @@
<a class="sidebar-brand" href="index.html">Clustering Benchmarks</a>
</span>
<div class="sidebar-brand">
1.1.2
1.1.3
</div>
<form class="sidebar-search-container" method="get" action="search.html" role="search">
<input class="sidebar-search" placeholder="Search" name="q" aria-label="Search">
Expand Down Expand Up @@ -280,7 +280,7 @@ <h1>Python Module Index</h1>
Some rights reserved. Licensed under <a href='https://creativecommons.org/licenses/by-nc-nd/4.0/'>CC BY-NC-ND 4.0</a>.
Built with <a href="https://sphinx-doc.org/">Sphinx</a>
and a customised <a href="https://github.com/pradyunsg/furo">Furo</a> theme.
Last updated on 2023-11-05T12:32:42+1100.
Last updated on 2023-12-11T15:14:53+1100.
This site will never display any ads: it is a non-profit project.
It does not collect any data.
</div>
Expand All @@ -295,7 +295,7 @@ <h1>Python Module Index</h1>

</aside>
</div>
</div><script src="_static/documentation_options.js?v=6f037312"></script>
</div><script src="_static/documentation_options.js?v=cb7bf70b"></script>
<script src="_static/doctools.js?v=888ff710"></script>
<script src="_static/sphinx_highlight.js?v=dc90522c"></script>
<script src="_static/scripts/furo.js?v=32e29ea5"></script>
Expand Down
8 changes: 4 additions & 4 deletions docs/search.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<meta name="color-scheme" content="light dark"><link rel="index" title="Index" href="genindex.html" /><link rel="search" title="Search" href="#" />
<link rel="canonical" href="https://clustering-benchmarks.gagolewski.com/search.html" />

<link rel="shortcut icon" href="https://www.gagolewski.com/_static/img/clustbench.png"/><!-- Generated with Sphinx 7.2.5 and Furo 2023.08.19 --><title>Search - Clustering Benchmarks</title><link rel="stylesheet" type="text/css" href="_static/pygments.css?v=80d5e7a1" />
<link rel="shortcut icon" href="https://www.gagolewski.com/_static/img/clustbench.png"/><!-- Generated with Sphinx 7.2.6 and Furo 2023.09.10 --><title>Search - Clustering Benchmarks</title><link rel="stylesheet" type="text/css" href="_static/pygments.css?v=80d5e7a1" />
<link rel="stylesheet" type="text/css" href="_static/styles/furo.css?v=135e06be" />
<link rel="stylesheet" type="text/css" href="_static/plot_directive.css" />
<link rel="stylesheet" type="text/css" href="_static/graphviz.css?v=eafc0fe6" />
Expand Down Expand Up @@ -165,7 +165,7 @@
<a class="sidebar-brand" href="index.html">Clustering Benchmarks</a>
</span>
<div class="sidebar-brand">
1.1.2
1.1.3
</div>
<form class="sidebar-search-container" method="get" action="#" role="search">
<input class="sidebar-search" placeholder="Search" name="q" aria-label="Search">
Expand Down Expand Up @@ -271,7 +271,7 @@
Some rights reserved. Licensed under <a href='https://creativecommons.org/licenses/by-nc-nd/4.0/'>CC BY-NC-ND 4.0</a>.
Built with <a href="https://sphinx-doc.org/">Sphinx</a>
and a customised <a href="https://github.com/pradyunsg/furo">Furo</a> theme.
Last updated on 2023-11-05T12:32:42+1100.
Last updated on 2023-12-11T15:14:53+1100.
This site will never display any ads: it is a non-profit project.
It does not collect any data.
</div>
Expand All @@ -286,7 +286,7 @@

</aside>
</div>
</div><script src="_static/documentation_options.js?v=6f037312"></script>
</div><script src="_static/documentation_options.js?v=cb7bf70b"></script>
<script src="_static/doctools.js?v=888ff710"></script>
<script src="_static/sphinx_highlight.js?v=dc90522c"></script>
<script src="_static/scripts/furo.js?v=32e29ea5"></script>
Expand Down
2 changes: 1 addition & 1 deletion docs/searchindex.js

Large diffs are not rendered by default.

Loading

0 comments on commit 5b6a153

Please sign in to comment.