Skip to content

Commit 1db54fa

Browse files
committed
more
1 parent d5e54d5 commit 1db54fa

37 files changed

+249
-537
lines changed

.devel/sphinx/weave/Rmd2md-patch.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright (C) 2020-2023, Marek Gagolewski <https://www.gagolewski.com>
1+
# Copyright (C) 2020-2025, Marek Gagolewski <https://www.gagolewski.com>
22

33
# I only want ```{r...``` and ```{python...``` to be recognised as
44
# chunks to-be processed by knitr so that they can be placed within

.devel/sphinx/weave/Rmd2md.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/bin/bash
22

3-
# Copyright (C) 2020-2023, Marek Gagolewski <https://www.gagolewski.com>
3+
# Copyright (C) 2020-2025, Marek Gagolewski <https://www.gagolewski.com>
44

55
set -e
66

.devel/sphinx/weave/how-to-access.Rmd

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
(sec:how-to-access)=
22
# Access from Python, R, MATLAB, etc.
33

4-
54
The current version of the benchmark dataset battery can be downloaded
65
from <https://github.com/gagolews/clustering-data-v1/releases/tag/v1.1.0>.
76

7+
88
## Python
99

1010
To facilitate the comparison of clustering algorithms in the
@@ -125,12 +125,12 @@ data = CSV.read(base_name * ".data.gz", CSV.Tables.matrix; header=false)
125125
labels = CSV.read(base_name * ".labels0.gz", CSV.Tables.matrix; header=false)
126126
```
127127

128+
Thanks to [Torsten Stöter](https://github.com/tstoeter) for contributing
129+
the Julia code.
130+
128131

129132
::::{todo}
130133
Contributions are welcome: Describe how to load
131134
the datasets and benchmark results
132135
in GNU Octave, Scilab, Mathematica, ... (🚧 help needed 🚧)
133-
134-
Thanks to [Torsten Stöter](https://github.com/tstoeter) for contributing
135-
the Julia code.
136136
::::

.devel/sphinx/weave/how-to-access.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,10 @@
55
(sec:how-to-access)=
66
# Access from Python, R, MATLAB, etc.
77

8-
98
The current version of the benchmark dataset battery can be downloaded
109
from <https://github.com/gagolews/clustering-data-v1/releases/tag/v1.1.0>.
1110

11+
1212
## Python
1313

1414
To facilitate the comparison of clustering algorithms in the
@@ -146,16 +146,16 @@ using CSV
146146

147147
base_name = joinpath("~", "Projects", "clustering-data-v1", "wut", "smile")
148148
base_name = expanduser(base_name)
149-
data = CSV.read(base_name * ".data.gz", CSV.Tables.matrix; header=false, delim=' ')
150-
labels = CSV.read(base_name * ".labels0.gz", CSV.Tables.matrix; header=false, delim=' ')
149+
data = CSV.read(base_name * ".data.gz", CSV.Tables.matrix; header=false)
150+
labels = CSV.read(base_name * ".labels0.gz", CSV.Tables.matrix; header=false)
151151
```
152152

153+
Thanks to [Torsten Stöter](https://github.com/tstoeter) for contributing
154+
the Julia code.
155+
153156

154157
::::{todo}
155158
Contributions are welcome: Describe how to load
156159
the datasets and benchmark results
157160
in GNU Octave, Scilab, Mathematica, ... (🚧 help needed 🚧)
158-
159-
Thanks to [Torsten Stöter](https://github.com/tstoeter) for contributing
160-
the Julia code.
161161
::::

.devel/sphinx/weave/options.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ options(digits=5)
77
options(stringsAsFactors=FALSE) # default in R 4.0
88
options(max.print=99)
99
options(useFancyQuotes=FALSE)
10-
reticulate::use_python("/home/gagolews/.virtualenvs/python3-default/bin/python3")
10+
reticulate::use_python("/usr/bin/python3")
1111
options(warnPartialMatchArgs=TRUE)
1212
options(warnPartialMatchAttr=TRUE)
1313
options(warnPartialMatchDollar=TRUE)

docs/_static/basic.css

Lines changed: 2 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,5 @@
11
/*
2-
* basic.css
3-
* ~~~~~~~~~
4-
*
52
* Sphinx stylesheet -- basic theme.
6-
*
7-
* :copyright: Copyright 2007-2024 by the Sphinx team, see AUTHORS.
8-
* :license: BSD, see LICENSE for details.
9-
*
103
*/
114

125
/* -- main layout ----------------------------------------------------------- */
@@ -115,15 +108,11 @@ img {
115108
/* -- search page ----------------------------------------------------------- */
116109

117110
ul.search {
118-
margin: 10px 0 0 20px;
119-
padding: 0;
111+
margin-top: 10px;
120112
}
121113

122114
ul.search li {
123-
padding: 5px 0 5px 20px;
124-
background-image: url(file.png);
125-
background-repeat: no-repeat;
126-
background-position: 0 7px;
115+
padding: 5px 0;
127116
}
128117

129118
ul.search li a {
@@ -752,14 +741,6 @@ abbr, acronym {
752741
cursor: help;
753742
}
754743

755-
.translated {
756-
background-color: rgba(207, 255, 207, 0.2)
757-
}
758-
759-
.untranslated {
760-
background-color: rgba(255, 207, 207, 0.2)
761-
}
762-
763744
/* -- code displays --------------------------------------------------------- */
764745

765746
pre {

docs/_static/doctools.js

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,5 @@
11
/*
2-
* doctools.js
3-
* ~~~~~~~~~~~
4-
*
52
* Base JavaScript utilities for all Sphinx HTML documentation.
6-
*
7-
* :copyright: Copyright 2007-2024 by the Sphinx team, see AUTHORS.
8-
* :license: BSD, see LICENSE for details.
9-
*
103
*/
114
"use strict";
125

docs/_static/graphviz.css

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,5 @@
11
/*
2-
* graphviz.css
3-
* ~~~~~~~~~~~~
4-
*
52
* Sphinx stylesheet -- graphviz extension.
6-
*
7-
* :copyright: Copyright 2007-2024 by the Sphinx team, see AUTHORS.
8-
* :license: BSD, see LICENSE for details.
9-
*
103
*/
114

125
img.graphviz {

docs/_static/language_data.js

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,6 @@
11
/*
2-
* language_data.js
3-
* ~~~~~~~~~~~~~~~~
4-
*
52
* This script contains the language-specific data used by searchtools.js,
63
* namely the list of stopwords, stemmer, scorer and splitter.
7-
*
8-
* :copyright: Copyright 2007-2024 by the Sphinx team, see AUTHORS.
9-
* :license: BSD, see LICENSE for details.
10-
*
114
*/
125

136
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"];

docs/_static/scripts/furo.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)