q_1pl_constraint {ML2Pvae} | R Documentation |
A custom kernel constraint function that forces nonzero weights to be equal to one, so the VAE will estimate the 1-parameter logistic model. Nonzero weights are determined by the Q matrix.
q_1pl_constraint(Q)
Q |
a binary matrix of size |
returns a function whose parameters match keras kernel constraint format