Skip to content

Commit

Permalink
Release 0.22.0
Browse files Browse the repository at this point in the history
  • Loading branch information
gbolmier committed Nov 23, 2024
1 parent 30e2e09 commit 34ba8a5
Show file tree
Hide file tree
Showing 4 changed files with 35 additions and 34 deletions.
33 changes: 33 additions & 0 deletions docs/releases/0.22.0.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
# 0.22.0 - 2024-11-23

- Dropped support for Python 3.9 and added support for Python 3.13.
- The methods `learn_one`, `learn_many`, `update`, `revert`, and `append` now return `None`.
- 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.

## cluster

- Update the description of `cluster.ODAC`.
- 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.

## drift

- Make `drift.ADWIN` comply with the reference MOA implementation.

## feature extraction

- The mini-batch methods for `feature_extraction.TFIDF` now systematically raise an exception, as they are not implemented.

## stats

- Removed the unexported class `stats.CentralMoments`.

## tree

- Instead of letting trees grow indefinitely, setting the `max_depth` parameter to `None` will stop the trees from growing when they reach the system recursion limit.
- Added `tree.LASTClassifier` (Local Adaptive Streaming Tree Classifier).

## stream

- `stream.iter_arff` now supports blank values (treated as missing values).
32 changes: 0 additions & 32 deletions docs/releases/unreleased.md
Original file line number Diff line number Diff line change
@@ -1,33 +1 @@
# 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`.
- Dropped support for Python 3.9 and added support for Python 3.13.

## cluster

- Update the description of `cluster.ODAC`.
- 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.

## drift

- Make `drift.ADWIN` comply with the reference MOA implementation.

## feature extraction

- The mini-batch methods for `feature_extraction.TFIDF` now systematically raise an exception, as they are not implemented.

## stats

- Removed the unexported class `stats.CentralMoments`.

## tree

- Instead of letting trees grow indefinitely, setting the `max_depth` parameter to `None` will stop the trees from growing when they reach the system recursion limit.
- Added `tree.LASTClassifier` (Local Adaptive Streaming Tree Classifier).

## stream

- `stream.iter_arff` now supports blank values (treated as missing values).
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ build-backend = "poetry.core.masonry.api"

[tool.poetry]
name = "river"
version = "0.21.2"
version = "0.22.0"
description = "Online machine learning in Python"
readme = "README.md"
homepage = "https://riverml.xyz/"
Expand Down
2 changes: 1 addition & 1 deletion river/__version__.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
from __future__ import annotations

__version__ = "0.21.2"
__version__ = "0.22.0"

0 comments on commit 34ba8a5

Please sign in to comment.