athena.projection_factory.ProjectionFactory.uniform

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

Uniform distribution

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

  • n_features (int) – dimension of the RKHS.

  • params (list) – the two parameters are the extremals of the domain.

Returns

n_features-by-input_dim projection matrix.

Return type

numpy.ndarray.