undark-lab/swyft

create a weighted samples dataclass

bkmi opened this issue · 1 comments

bkmi commented

It could be quite natural by saving the weights as a map from MartinalIndex to weights and the parameters separately. It could also have functions like to_block_representation which puts the parameters into a block array.

bkmi commented

that was easy