refit()#
- ParametricDiscreteModel.refit()#
Solve the Operator Inference regression using the data from the last
fit()
call, then extract the inferred operators.This method is useful for calibrating the model operators with different
solver
hyperparameters without reprocessing any training data. For example, ifsolver
is anopinf.lstsq.L2Solver
, changing itsregularizer
attribute and calling this method solves the regression with the new regression value without re-factorizing the data matrix.