Skip to content

Commit

Permalink
last main commit
Browse files Browse the repository at this point in the history
  • Loading branch information
kchardon committed Nov 11, 2024
1 parent 9662a7f commit a4ec3c9
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 13 deletions.
4 changes: 1 addition & 3 deletions docs/releases/unreleased.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
## cluster
- Added `cluster.HierarchicalClustering`.
# Unreleased

- The units used in River have been corrected to be based on powers of 2 (KiB, MiB). This only changes the display, the behaviour is unchanged.
- The methods `learn_one`, `learn_many`, `update`, `revert`, and `append` now return `None`.
Expand All @@ -10,7 +9,6 @@
- Change `draw` in `cluster.ODAC` to draw the hierarchical cluster's structure as a Graphviz graph.
- Add `render_ascii` in `cluster.ODAC` to render the hierarchical cluster's structure in text format.
- Work with `stats.Var` in `cluster.ODAC` when cluster has only one time series.
- Added `cluster.HierarchicalClustering`.

## drift

Expand Down
10 changes: 1 addition & 9 deletions river/cluster/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,4 @@
from .streamkmeans import STREAMKMeans
from .textclust import TextClust

__all__ = [
"CluStream",
"DBSTREAM",
"DenStream",
"KMeans",
"ODAC",
"STREAMKMeans",
"TextClust",
]
__all__ = ["CluStream", "DBSTREAM", "DenStream", "KMeans", "ODAC", "STREAMKMeans", "TextClust"]
5 changes: 4 additions & 1 deletion river/linear_model/test_glm.py
Original file line number Diff line number Diff line change
Expand Up @@ -426,7 +426,10 @@ def test_lin_reg_sklearn_l1_non_regression():
def test_log_reg_sklearn_l1_non_regression():
"""Checks that the river L1 implementation results are no worse than sklearn L1."""

(X, y,) = make_classification(
(
X,
y,
) = make_classification(
n_samples=1000,
n_features=20,
n_informative=4,
Expand Down

0 comments on commit a4ec3c9

Please sign in to comment.