Open hvgazula opened 1 year ago
https://github.com/hassonlab/247-encoding/blob/e0b7468824bc950f15dd8e47f9b7c4bdb3615109/scripts/tfsenc_utils.py#L175-L185
Write a for loop around rp (make it a dict or list) using fold_tes as indexing. For example
for
rp
dict
list
fold_tes
rp = dict() for i in fold_tes.unique(): rp[i], _, _ = encColCorr(Y_new[fold_tes == i], PY_hat[fold_tes == i])
@VeritasJoker comments?
Yeah should work
Thanks! I'm on it.
https://github.com/hassonlab/247-encoding/blob/e0b7468824bc950f15dd8e47f9b7c4bdb3615109/scripts/tfsenc_utils.py#L175-L185
Write a
for
loop aroundrp
(make it adict
orlist
) usingfold_tes
as indexing. For example