ContinuousRegTest#
- class ContinuousRegTest(initial_conditions: ndarray, time_domain: ndarray, parameters: ndarray = None, input_function: Callable = None, bound: float = None)[source]#
Test case for regularization selection with time-continuous models.
The
test_cases
argument ofopinf.roms.ROM.fit_regselect_continuous()
is a list of these.- Parameters:
- initial_conditions(n,) ndarray
Initial conditions to be tested.
- time_domain(k,) ndarray
Time domain over which to solve the model forward in time.
- parameters(p,) ndarray or float or None
Parameter value to be tested.
- inputscallable or None
Input function, mapping time to input vectors, to use in the forward prediction, if the model takes inputs.
- boundfloat or None
Amount that the forward prediction is allowed to deviate from the initial conditions without the trajectory being classified as unstable.
Properties:Methods: