https://github.com/eddytheco/fisher_matrix
https://github.com/eddytheco/fisher_matrix
Last synced: 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/eddytheco/fisher_matrix
- Owner: EddyTheCo
- Created: 2022-11-02T13:06:10.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-03-27T15:41:33.000Z (about 2 years ago)
- Last Synced: 2025-02-07T08:34:39.456Z (4 months ago)
- Language: C++
- Size: 7.81 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Fisher Information Matrix
This repository produce a library to calculate the Fisher Information Matrix and the effective dimension of a statistical model.
The library is based on the article [The power of quantum neural networks](https://doi.org/10.1038/s43588-021-00084-1).
The library works for any [Pytorch](https://pytorch.org/)(c++) module.
The module function parameters() represent the $\theta\in\Theta\subset[-1,1]^d$ in the previous reference.
In the constructor of the module one has to take care of the proper initialization of the module parameters## Dependencies
* libtorch from [Pytorch](https://pytorch.org/)
* Intel oneAPI DPC++ Library ([oneDPL](https://www.intel.com/content/www/us/en/develop/documentation/oneapi-programming-guide/top/api-based-programming/intel-oneapi-dpcpp-library-onedpl.html))
* Intel oneAPI Threading Building Blocks ([oneTBB](https://www.intel.com/content/www/us/en/developer/tools/oneapi/onetbb.html#gs.hiug8u))