You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Could be fixed by adjusting _build_bool_array or _build_bin_array by subsetting those with unset indices (initializing bool_array with np.full(-1) instead of np.zeros)
Leaving this open for now, and will circle back once the rest of the merge is complete
The text was updated successfully, but these errors were encountered:
This is to address the conversation from @artemy-bakulin original commit fe68880
Artemy brings up the point about class imbalance here: https://github.com/noamteyssier/pypage/issues/33#issuecomment-1167958248
I agree with the new order of operations, but we need to address the following bug in this commits current form.
The Bug
The current form will return a
bin_array
of sizen_genes
regardless of the size of the gene subset provided.currently fails the following test:
Solution
Could be fixed by adjusting
_build_bool_array
or_build_bin_array
by subsetting those with unset indices (initializingbool_array
withnp.full(-1)
instead ofnp.zeros
)Leaving this open for now, and will circle back once the rest of the merge is complete
The text was updated successfully, but these errors were encountered: