Version bump to 0.2.2 [skip ci]

This commit is contained in:
Andrew Kane
2022-09-25 17:19:20 -07:00
parent 9145082db2
commit b35e8df2af
3 changed files with 8 additions and 12 deletions

View File

@@ -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` and `q`
- Added `p_iter` and `q_iter`
## 0.2.1 (2021-11-15) ## 0.2.1 (2021-11-15)

View File

@@ -1,6 +1,6 @@
[package] [package]
name = "libmf" name = "libmf"
version = "0.2.1" version = "0.2.2"
description = "Large-scale sparse matrix factorization for Rust" description = "Large-scale sparse matrix factorization for Rust"
repository = "https://github.com/ankane/libmf-rust" repository = "https://github.com/ankane/libmf-rust"
license = "BSD-3-Clause" license = "BSD-3-Clause"

View File

@@ -40,15 +40,11 @@ model.predict(row_index, column_index);
Get the latent factors (these approximate the training matrix) Get the latent factors (these approximate the training matrix)
```rust ```rust
model.p_factors(); model.p(row_index);
model.q_factors(); model.q(column_index);
``` // or
model.p_iter();
Get the latent factors of a specific row or column [unreleased] model.q_iter();
```rust
model.p(index);
model.q(index);
``` ```
Get the bias (average of all elements in the training matrix) Get the bias (average of all elements in the training matrix)