Tensors¶
Gaussian tensor¶
-
class
mushroom_rl.features.tensors.gaussian_tensor.
PyTorchGaussianRBF
(mu, scale, dim)[source]¶ Bases:
sphinx.ext.autodoc.importer._MockObject
Pytorch module to implement a gaussian radial basis function.
-
static
generate
(n_centers, low, high, dimensions=None)[source]¶ Factory method that generates the list of dictionaries to build the tensors representing a set of uniformly spaced Gaussian radial basis functions with a 25% overlap.
Parameters: - n_centers (list) – list of the number of radial basis functions to be used for each dimension;
- low (np.ndarray) – lowest value for each dimension;
- high (np.ndarray) – highest value for each dimension;
- dimensions (list, None) – list of the dimensions of the input to be
considered by the feature. The number of dimensions must match
the number of elements in
n_centers
andlow
.
Returns: The list of dictionaries as described above.
-
static