Crate numcodecs_random_projection

source ·
Expand description

CI Status MSRV Latest Version Rust Doc Crate Rust Doc Main

Random Projection codec implementation for the numcodecs API.

Structs§

Enums§

Traits§

Functions§

  • Extract the provided density if it is Some(_), or compute the minimum required density 1/sqrt(d) as recommended by Li et al .
  • Find a ‘safe’ number of components K to randomly project to.
  • Applies random projection to the input data and outputs into the projected array.
  • Applies random projection to the input data with the given seed, reduction method, and projection kind and returns the resulting projected array.
  • Applies the (approximate) inverse of random projection to the projected array to reconstruct the input data with dimensionality d and returns the resulting reconstructed array.
  • Applies the (approximate) inverse of random projection to the projected array to reconstruct the input data outputs into the reconstructed array.
  • Applies the (approximate) inverse of random projection to the projected array to reconstruct the input data with the given seed and projection kind and outputs into the reconstructed array.
  • Applies the (approximate) inverse of random projection to the projected array to reconstruct the input data with the given seed and projection kind and returns the resulting reconstructed array.