panel.matrix_completion_lambda_max

Guide & worked example · Source

panel.matrix_completion_lambda_max(
    Y,
    mask,
    fit_unit_effects=True,
    fit_time_effects=True,
    n_effect_iters=20,
)

Largest lambda for which the SVT update returns a zero low-rank matrix.