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

Better ways to sample patches? #14

Open
jchen42703 opened this issue Jul 10, 2019 · 2 comments
Open

Better ways to sample patches? #14

jchen42703 opened this issue Jul 10, 2019 · 2 comments
Assignees
Labels
enhancement New feature or request

Comments

@jchen42703
Copy link
Owner

What we've currently got:

  • Regular random/positive sampling based on n_pos
  • Random/positive sampling based on n_pos AND muti-class sampling based on user-defined probability distributions

How can we do better?

@jchen42703 jchen42703 added the enhancement New feature or request label Jul 10, 2019
@jchen42703 jchen42703 self-assigned this Jul 10, 2019
@jchen42703
Copy link
Owner Author

Quick idea: randomizing label_probs and allow the option to specify a specific range

@jchen42703
Copy link
Owner Author

Quick idea: use on_epoch_end -> store self.epochs -> adjust n_pos and/or label_probs based on self.epochs
i.e. starting off with n_pos=10 and then slowing decreasing it to n_pos=5

@jchen42703 jchen42703 pinned this issue Jul 13, 2019
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