Giving a fraction of samples instead of a number of samples in the Subsample class #238
Labels
developers
Proposed by developers.
enhancement
New feature or request
good first issue
Good for newcomers
Projects
Actually, the
Subsample
class inmapie/subsample.py
is initiated with a parametern_samples
, which is necessarily anint
. This implies to hard set the number of samples used.Would it be possible to allow
n_samples
to be a float between 0 and 1, interpreted as a fraction of samples to take ?The text was updated successfully, but these errors were encountered: