Learn R Programming

refund (version 0.1-40)

build_cl2_working_standard: Build CL2 working representation for standard single-LP families

Description

Factorizes per-observation scores as `Xw_i * z_i` to avoid constructing a dense score matrix.

Usage

build_cl2_working_standard(b, cluster_id)

Value

List with `Xw`, `z`, and `cluster_id`.

Arguments

b

Fitted GAM object.

cluster_id

Cluster vector.