Frobenius Norm Based Probability Distribution
Opened this issue · 0 comments
nathanielpritchard commented
Write a function that computes a probability distribution over the rows or columns of a matrix,
- Computes the frobenius norm of
$A$ ,$\|A\|_F^2$ - Computes norm squared of each row/column
- Returns vector of each (row/column norm squared)/
$\|A\|_F^2$
See Page 5 for a description in the row case
- Add a folder in
linear_samplers
calledinduced_distributions
- Add file to that folder that Implements function that takes in a matrix, as input and a boolean indicating if a row or column distribution should be used. Should return a Weights data structure
- add include statement for file with method in
linear_samplers.jl
- Export function in
RLinearAlgebra.jl
- Add tests for the function
- Add a section under
docs/src/api/linear_samplers.md
aboutMatrix Induced Probability Distributions
- Add docstring reference to the created function under this new section