scdrs.pp.reg_out# scdrs.pp.reg_out(mat_Y, mat_X)[source]# Regress mat_X out of mat_Y. Parameters: mat_Ynp.ndarrayResponse variable of shape (n_sample, n_response). mat_Xnp.ndarrayCovariates of shape (n_sample, n_covariates). Returns: mat_Y_residnp.ndarrayResponse variable residual of shape (n_sample, n_response).