Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sampling n random samples per class #176

Open
SherlockMones opened this issue Aug 27, 2022 · 0 comments
Open

Sampling n random samples per class #176

SherlockMones opened this issue Aug 27, 2022 · 0 comments
Labels
enhancement New feature or request

Comments

@SherlockMones
Copy link
Collaborator

To simplify exemplary sampling, it would be awesome to allow users to sample a defined set of images from each existing class.

Example

Consider a multiclass problem with three classes: A, B, C, where an image can only ever belong to one class.
If I am done with training and prediction, I'd like to sample random images per class and apply XAI. Right now, I have to manually sample a random image per class.

Possible solution

Either extend the XAI functionality and offer to automatically sample a random image per class or extend the sampling module by adding a function to sample a number of images per class, and not just a percentage split.

@SherlockMones SherlockMones added the enhancement New feature or request label Aug 27, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant