TSVDCompression¶
- class mrinversion.linear_model.TSVDCompression(K, s, r=None)[source]¶
Bases:
object
SVD compression.
- Parameters:
K – The kernel.
s – The data.
r – The number of singular values used in data compression.
- truncation_index¶
The number of singular values retained.
- Type:
int
- compressed_K¶
The compressed kernel.
- Type:
ndarray
- compressed_s¶
The compressed data.
- Type:
ndarray of CSDM object