mofaflex.SmoothOptions#

class mofaflex.SmoothOptions(*, n_inducing=100, kernel='RBF', mefisto_kernel=True, independent_lengthscales=False, group_covar_rank=1, warp_groups=<factory>, warp_interval=20, warp_open_begin=True, warp_open_end=True, warp_reference_group=None)#

Options for Gaussian processes.

Attributes table#

group_covar_rank

Rank of the group correlation matrix.

independent_lengthscales

Whether to use a separate lengthscale per covariate dimension.

kernel

Kernel function to use.

mefisto_kernel

Whether to use the MEFISTO group covariance kernel or treat groups independently.

n_inducing

Number of inducing points.

warp_interval

Apply dynamic time warping every warp_interval epochs.

warp_open_begin

Perform open-ended alignment.

warp_open_end

Perform open-ended alignment.

warp_reference_group

Reference group to align the others to.

warp_groups

List of groups to apply dynamic time warping to.

Methods table#

Attributes#

SmoothOptions.group_covar_rank: int = 1#

Rank of the group correlation matrix. Only relevant if mefisto_kernel=True.

SmoothOptions.independent_lengthscales: bool = False#

Whether to use a separate lengthscale per covariate dimension.

SmoothOptions.kernel: Literal['RBF', 'Matern'] = 'RBF'#

Kernel function to use.

SmoothOptions.mefisto_kernel: bool = True#

Whether to use the MEFISTO group covariance kernel or treat groups independently.

SmoothOptions.n_inducing: int = 100#

Number of inducing points.

SmoothOptions.warp_interval: int = 20#

Apply dynamic time warping every warp_interval epochs.

SmoothOptions.warp_open_begin: bool = True#

Perform open-ended alignment.

SmoothOptions.warp_open_end: bool = True#

Perform open-ended alignment.

SmoothOptions.warp_reference_group: str | None = None#

Reference group to align the others to. Defaults to the first group of warp_groups.

SmoothOptions.warp_groups: Sequence[str] = <dataclasses._MISSING_TYPE object>#

List of groups to apply dynamic time warping to.

Methods#