From b35e8df2af507695c696ae68223f0ddb33cb5007 Mon Sep 17 00:00:00 2001 From: Andrew Kane Date: Sun, 25 Sep 2022 17:19:20 -0700 Subject: [PATCH] Version bump to 0.2.2 [skip ci] --- CHANGELOG.md | 4 ++-- Cargo.toml | 2 +- README.md | 14 +++++--------- 3 files changed, 8 insertions(+), 12 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index d27f9e4..08e781f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,7 +1,7 @@ -## 0.2.2 (unreleased) +## 0.2.2 (2022-09-23) -- Added `p_iter` and `q_iter` - Added `p` and `q` +- Added `p_iter` and `q_iter` ## 0.2.1 (2021-11-15) diff --git a/Cargo.toml b/Cargo.toml index baa368e..966ed9f 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "libmf" -version = "0.2.1" +version = "0.2.2" description = "Large-scale sparse matrix factorization for Rust" repository = "https://github.com/ankane/libmf-rust" license = "BSD-3-Clause" diff --git a/README.md b/README.md index 95ac8e0..ae6061d 100644 --- a/README.md +++ b/README.md @@ -40,15 +40,11 @@ model.predict(row_index, column_index); Get the latent factors (these approximate the training matrix) ```rust -model.p_factors(); -model.q_factors(); -``` - -Get the latent factors of a specific row or column [unreleased] - -```rust -model.p(index); -model.q(index); +model.p(row_index); +model.q(column_index); +// or +model.p_iter(); +model.q_iter(); ``` Get the bias (average of all elements in the training matrix)