GaussNewtonModel.objective_value#

t3toolbox.fitting.GaussNewtonModel.objective_value()#
def objective_value(self) -> NDArray:  # c = ½‖r‖² (+ ρ(X)), shape C

The least-squares objective at the frame, c = ½‖r‖² (the model constant m(0)); plus ρ(X) when a regularizer is set (X = the frame’s tensor (U, P)).

Return type:

NDArray