#function #approximation #linear #ai #rl

lfa

Native rust implementations of linear function approximators

30 releases (15 breaking)

0.15.0 Jun 7, 2020
0.14.0 Mar 17, 2020
0.13.0 Aug 31, 2019
0.12.1 May 4, 2019
0.2.1 Feb 21, 2018

#1166 in Data structures

Download history 17/week @ 2022-11-28 19/week @ 2022-12-05 56/week @ 2022-12-12 17/week @ 2022-12-19 16/week @ 2022-12-26 9/week @ 2023-01-02 47/week @ 2023-01-09 9/week @ 2023-01-16 25/week @ 2023-01-23 31/week @ 2023-01-30 39/week @ 2023-02-06 142/week @ 2023-02-13 77/week @ 2023-02-20 14/week @ 2023-02-27 25/week @ 2023-03-06 18/week @ 2023-03-13

142 downloads per month
Used in rsrl

MIT license

115KB
3K SLoC

LFA (api)

Crates.io Build Status Coverage Status

Overview

lfa provides a set of implementations for common linear function approximation techniques used in reinforcement learning.

Installation

[dependencies]
lfa = "0.15"

Note that rsrl enables the blas feature of its ndarray dependency, so if you're building a binary, you additionally need to specify a BLAS backend compatible with ndarray. For example, you can add these dependencies:

blas-src = { version = "0.2.0", default-features = false, features = ["openblas"] }
openblas-src = { version = "0.6.0", default-features = false, features = ["cblas", "system"] }

See ndarray's README for more information.

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate and adhere to the angularjs commit message conventions (see here).

License

MIT

Dependencies

~2MB
~38K SLoC