GaussianRFConfig

class franken.config.GaussianRFConfig(num_random_features, length_scale=<factory>, use_offset=True, rng_seed=1337)

Bases: RFConfig

Orthogonal random features to approximate the Gaussian kernel.

length_scale: HPSearchConfig | list[float] | float

Gaussian length-scale sigma.

num_random_features: int

Number of random features

rng_seed: int = 1337

Random seed for reproducibility of the random features

use_offset: bool = True

Whether or not to use the version of Gaussian random features with a uniform offset. Set to true, increases the estimator’s efficiency.