Skip to content

Giving a fraction of samples instead of a number of samples in the Subsample class #238

@gmartinonQM

Description

@gmartinonQM

Actually, the Subsample class in mapie/subsample.py is initiated with a parameter n_samples, which is necessarily an int. 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 ?

Metadata

Metadata

Assignees

Labels

Good first issueEasy issue to start to contribute to MAPIE

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions