VolterraBasis.basis.SmoothIndicatorFeatures

class VolterraBasis.basis.SmoothIndicatorFeatures(states_boundary, boundary_type='tricube', periodic=False)[source]

Indicator function with smooth boundary

Parameters:
states_boundarylist

Number of knots to use

boundary_typestr or callable

Function to use for the interpolation between zeros and one value If this is a callabe function, first argument is between 0-> 1 and 1 -> 0 and second one is the order of the derivative

periodic: bool

Whatever to use periodic indicator function. If yes, the last indicator will sbe the same function than the first one

__init__(states_boundary, boundary_type='tricube', periodic=False)[source]
Parameters:
states_boundarylist

Number of knots to use

boundary_typestr or callable

Function to use for the interpolation between zeros and one value If this is a callabe function, first argument is between 0-> 1 and 1 -> 0 and second one is the order of the derivative

periodic: bool

Whatever to use periodic indicator function. If yes, the last indicator will sbe the same function than the first one

fit_transform(X, y=None, **fit_params)

Fit to data, then transform it.

Fits transformer to X and y with optional parameters fit_params and returns a transformed version of X.

Parameters:
Xarray-like of shape (n_samples, n_features)

Input samples.

yarray-like of shape (n_samples,) or (n_samples, n_outputs), default=None

Target values (None for unsupervised transformations).

**fit_paramsdict

Additional fit parameters.

Returns:
X_newndarray array of shape (n_samples, n_features_new)

Transformed array.

set_output(*, transform=None)

Set output container.

See Introducing the set_output API for an example on how to use the API.

Parameters:
transform{“default”, “pandas”}, default=None

Configure output of transform and fit_transform.

  • “default”: Default output format of a transformer

  • “pandas”: DataFrame output

  • None: Transform configuration is unchanged

Returns:
selfestimator instance

Estimator instance.

Examples using VolterraBasis.basis.SmoothIndicatorFeatures

Generalized Fokker Planck equation

Generalized Fokker Planck equation

Generalized Fokker Planck equation in underdamped case

Generalized Fokker Planck equation in underdamped case