detkit.FitLogdet.fit#

FitLogdet.fit(x, y, lam=0.0, smooth_interval=None, verbose=False)#

Fit model to data.

Parameters:
xnumpy.array

One-dimensional arrays of length N

ynumpy.array

One-dimensional arrays of length N

lamfloat, default=0.0

Regularization strength. If set to zero, the model reverts to standard least squares fitting.

smooth_intervaltuple (x_low, x_high) or None

If given, the second derivative penalty is enforced in this range.

verboseboolean, default=False

If True, the optimization results will be printed.

See also

eval