PowerLawMatrixSampler#
- class sdm.prior.PowerLawMatrixSampler(normalize: bool = True)#
Bases:
MatrixSamplerSample Gaussian matrices with random power-law weights.
Each row is multiplied by an independent random power-law weight vector.
- Parameters:
normalize (bool) – Add small Gaussian noise and L2-normalize rows.