Version bump to 0.2.2 [skip ci]
This commit is contained in:
@@ -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)
|
||||
|
||||
|
||||
@@ -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"
|
||||
|
||||
14
README.md
14
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)
|
||||
|
||||
Reference in New Issue
Block a user