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
is a bug that results in 'DataFrame' object has no attribute 'isel'.
How to reproduce:
from batchglm.api.models.numpy.glm_nb import Simulator
sim = Simulator()
sim.generate_sample_description(shuffle_assignments=True)
I think this is a remnant of the time when we used xarray.DataSet instead of pandas.DataFrame.
The question is now if we wanna fix this or get rid of it?
The method returns a design matrix based on the sample_description anyways so shuffling only reorders the rows of the matrix but at the time of generating the sample description, no data has been sampled yet because we need the sample description to simulate counts. So this has no real effect?
So is there any reason to keep it?
The text was updated successfully, but these errors were encountered:
This here:
batchglm/batchglm/models/base_glm/simulator.py
Lines 43 to 48 in 2348481
is a bug that results in 'DataFrame' object has no attribute 'isel'.
How to reproduce:
I think this is a remnant of the time when we used
xarray.DataSet
instead ofpandas.DataFrame
.The question is now if we wanna fix this or get rid of it?
The method returns a design matrix based on the
sample_description
anyways so shuffling only reorders the rows of the matrix but at the time of generating the sample description, no data has been sampled yet because we need the sample description to simulate counts. So this has no real effect?So is there any reason to keep it?
The text was updated successfully, but these errors were encountered: