Skip to content

Commit

Permalink
release: v2.0.1
Browse files Browse the repository at this point in the history
release: v2.0.1
  • Loading branch information
eonu committed Apr 2, 2024
2 parents b1aeb60 + f3b0ab0 commit 5062288
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 4 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -388,6 +388,12 @@ Nothing, initial release!

</details>

## [v2.0.1](https://github.com/eonu/sequentia/releases/tag/v2.0.1) - 2024-04-02

### Bug Fixes

- use log probs for `KNNClassifier.predict_log_proba` ([#247](https://github.com/eonu/sequentia/issues/247))

## [v2.0.0](https://github.com/eonu/sequentia/releases/tag/v2.0.0) - 2024-04-01

### Refactor
Expand Down
2 changes: 1 addition & 1 deletion docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
project = "sequentia"
copyright = "2019-2025, Sequentia Developers" # noqa: A001
author = "Edwin Onuonga (eonu)"
release = "2.0.0"
release = "2.0.1"

# -- General configuration ---------------------------------------------------

Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "sequentia"
version = "2.0.0"
version = "2.0.1"
license = "MIT"
authors = ["Edwin Onuonga <ed@eonu.net>"]
maintainers = ["Edwin Onuonga <ed@eonu.net>"]
Expand Down
2 changes: 1 addition & 1 deletion sequentia/models/knn/classifier.py
Original file line number Diff line number Diff line change
Expand Up @@ -297,7 +297,7 @@ def predict_log_proba(
-----
This method requires a trained classifier — see :func:`fit`.
"""
return np.log(self.predict_scores(X, lengths=lengths))
return np.log(self.predict_proba(X, lengths=lengths))

@_validation.requires_fit
def predict_proba(
Expand Down
2 changes: 1 addition & 1 deletion sequentia/version.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@

__all__ = ["VERSION", "version_info"]

VERSION = "2.0.0"
VERSION = "2.0.1"


def version_info() -> str:
Expand Down

0 comments on commit 5062288

Please sign in to comment.