LinearFitBasis
Provides a container to build bases of functions for fitting. Asks for a generator for each dimension, which is just a function that takes an integer and returns a basis function at that order. Product functions are taken up to some max order
Properties and Methods
__init__(self, *generators, order=3):
generators
:Iterable[function]
the generating functions for the bases in each dimenion
order
:int
the maximum order for the basis functions (currently turning off coupling isn’t possible, but that could come)
@property
functions(self):
@property
names(self):
@property
order(self):
construct_basis(self):
<lambda>(x, k):
<lambda>(x, n):
Examples
Edit Examples or
Create New Examples
Edit Template or
Create New Template
Edit Docstrings