VolterraBasis.basis.TensorialBasis2D

class VolterraBasis.basis.TensorialBasis2D(b1, b2=None)[source]

Combine two 1D basis to get a 2D basis

Take two of basis

__init__(b1, b2=None)[source]

Take two of basis

comb_indices(i, j)[source]

Get index k of the (i,j) element of the basis

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.

split_index(k)[source]

Get (i,j) decomposition of the keme element of the basis

Examples using VolterraBasis.basis.TensorialBasis2D

Kernel Estimation for 2D observable

Kernel Estimation for 2D observable

Generalized Fokker Planck equation in underdamped case

Generalized Fokker Planck equation in underdamped case