The user should be able to control what happens to the values in each bin when using
resample(::AbstractUncertainIndexValueDataset, ::BinnedResampling).
This can easily be solved by adding an optional bin_repr field to the BinnedResampling struct, which dictates the bin representation. bin_repr can be a type indicating the representation
UncertainScalarKDE for KDE estimation
UncertainScalarPopulation for an equiprobable population.
RawValues for just returning the raw samples for each bin (if so, need to implement this type too).
The user should be able to control what happens to the values in each bin when using
resample(::AbstractUncertainIndexValueDataset, ::BinnedResampling)
.This can easily be solved by adding an optional
bin_repr
field to theBinnedResampling
struct, which dictates the bin representation.bin_repr
can be a type indicating the representationUncertainScalarKDE
for KDE estimationUncertainScalarPopulation
for an equiprobable population.RawValues
for just returning the raw samples for each bin (if so, need to implement this type too).