Random Projection codec implementation for the numcodecs
API.
RandomProjectionCodec
.K
is selecteddensity
if it is Some(_)
, or compute the minimum
required density 1/sqrt(d)
as recommended by Li et al .K
to randomly project to.data
and outputs into the
projected
array.data
with the given seed
,
reduction
method, and projection
kind and returns the resulting
projected array.projected
array to reconstruct the input data with dimensionality d
and returns the
resulting reconstructed array.projected
array to reconstruct the input data outputs into the reconstructed
array.projected
array to reconstruct the input data with the given seed
and projection
kind and outputs into the reconstructed
array.projected
array.