athena.projection_factory.ProjectionFactory.laplace

static ProjectionFactory.laplace(input_dim, n_features, params)[source]

Laplace distribution

Parameters
  • input_dim (int) – dimension of the inputs.

  • n_features (int) – dimension of the RKHS.

  • params (list) – the single parameter is the scale of the distribution, the mean is set to 0.

Returns

n_features-by-input_dim projection matrix.

Return type

numpy.ndarray.