Skip to content

Commit 58087d1

Browse files
committed
updating docs
1 parent 37c4460 commit 58087d1

File tree

5 files changed

+8
-6
lines changed

5 files changed

+8
-6
lines changed

CHANGELOG.md

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

3-
## [1.2.3] - 2025-06-18
3+
## [1.3.0] - 2025-06-18
44

55
### Added
66

docs/source/conf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
project = "Radius Clustering"
1717
copyright = "2024, Haenn Quentin, Chardin Brice, Baron Mickaël"
1818
author = "Haenn Quentin, Chardin Brice, Baron Mickaël"
19-
release = "1.0"
19+
release = "1.3.0"
2020

2121
# -- General configuration ---------------------------------------------------
2222
# https://www.sphinx-doc.org/en/master/usage/configuration.html#general-configuration

docs/source/usage.rst

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,9 @@ Here's a basic example of how to use Radius Clustering:
1212
X = np.random.rand(100, 2)
1313
1414
# Create an instance of MdsClustering
15-
rad = RadiusClustering(manner="approx", threshold=0.5)
15+
rad = RadiusClustering(manner="approx", radius=0.5)
16+
# Attention: the 'threshold' parameter is deprecated by version 1.3.0
17+
# and will be removed in a future version. Use 'radius' instead.
1618
1719
# Fit the model to the data
1820
rad.fit(X)

examples/plot_iris_example.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@
8282
# We create an instance of the `RadiusClustering` class and fit it to the Iris dataset.
8383
import time
8484

85-
rad = RadiusClustering(manner="exact", threshold=1.43)
85+
rad = RadiusClustering(manner="exact", radius=1.43)
8686
t0 = time.time()
8787
rad.fit(X)
8888
t_rad = time.time() - t0
@@ -242,7 +242,7 @@ def get_order_labels(kmeans, rad, data):
242242

243243
# Compute clustering with MDS
244244

245-
rad = RadiusClustering(manner="exact", threshold=232.09)
245+
rad = RadiusClustering(manner="exact", radius=232.09)
246246
t0 = time.time()
247247
rad.fit(X)
248248
t_rad = time.time() - t0

src/radius_clustering/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22
from .radius_clustering import RadiusClustering
33

44
__all__ = ["RadiusClustering"]
5-
__version__ = "1.2.3"
5+
__version__ = "1.3.0"

0 commit comments

Comments
 (0)