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
It would be useful to be able to select the seed for (e.g.) the RandomSelector based on user-specified criteria. This would allow an implementation of more sophisticated sampling methods (cf. #7 ) via rejection sampling, with a compact representation (the seed) of the final date set. Something like the following:
functionacceptance(validation_dates, holdout_dates)
# We want 1st of January to be in the validation datesreturnDateTime(2021, 1, 1) in validation_dates
end# Gives a seed with the desired properties to use with RandomSelector
seed =rejection_sample(RandomSelector, date_range, acceptance)
The text was updated successfully, but these errors were encountered:
It would be useful to be able to select the
seed
for (e.g.) theRandomSelector
based on user-specified criteria. This would allow an implementation of more sophisticated sampling methods (cf. #7 ) via rejection sampling, with a compact representation (theseed
) of the final date set. Something like the following:The text was updated successfully, but these errors were encountered: