athena.projection_factory.ProjectionFactory.dirichlet

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

Dirichlet distribution

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

  • n_features (int) – dimension of the RKHS.

  • params (list) – the single parameter is a scale to the input_dim dimensional shape parameter.

Returns

n_features-by-input_dim projection matrix.

Return type

numpy.ndarray.