PolynomialLifter#
- class PolynomialLifter(orders: tuple)[source]#
Polynomial lifting map \(q \to (q, q^2, q^3, ...)\).
- Parameters:
- orderstuple
Polynomial orders in the learning variables. For example,
orders=(1, 2, 4)
means the lifting transformation is given by \(q \to (q, q^2, q^4)\). The orders need not be positive integers, e.g.,orders=(-1, 0.5)
indicates \(q \to (1/q, \sqrt{q})\).
Properties:- num_variables#
Number of learning variables.
- orders#
Polynomial orders in the learning variables. For example,
orders=(1, 2, 4)
means the lifting transformation is given by \(q \to (q, q^2, q^4)\). The orders need not be positive integers, e.g.,orders=(-1, 0.5)
indicates \(q \to (1/q, \sqrt{q})\).
Methods:Apply the lifting map \(q \to (q, q^2, ...)\).
Get the time derivatives of the lifted variables, \((q_t, 2qq_t, ...)\).
Apply the reverse lifting map \((q, q^2, ...) \to q\).
Verify that
lift()
andunlift()
are consistent and thatlift_ddts()
, if implemented, gives valid time derivatives.