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

New feature: weighted neighborhood sampling (sample by value) #152

Open
deepakagrawal opened this issue Jul 11, 2021 · 3 comments
Open

New feature: weighted neighborhood sampling (sample by value) #152

deepakagrawal opened this issue Jul 11, 2021 · 3 comments
Labels
enhancement New feature or request

Comments

@deepakagrawal
Copy link

deepakagrawal commented Jul 11, 2021

I have a SparseTensor with value, how can extend sample method or some other function where the neighborhood sampling probability is based on the value of the SparseTensor.

@rusty1s
Copy link
Owner

rusty1s commented Jul 12, 2021

This is sadly not supported yet. I think this needs its own condition here, where we want to perform weighted neighborhood sampling rather than uniform sampling.

@deepakagrawal
Copy link
Author

This is sadly not supported yet. I think this needs its own condition here, where we want to perform weighted neighborhood sampling rather than uniform sampling.

How can I create a feature request for this?

@deepakagrawal deepakagrawal changed the title New features: sample by value New feature: sample by value Jul 12, 2021
@deepakagrawal deepakagrawal changed the title New feature: sample by value New feature: weighted neighborhood sampling (sample by value) Jul 12, 2021
@rusty1s
Copy link
Owner

rusty1s commented Sep 16, 2021

Feel free to send a PR with the applied changes. Other-wise, I will find some time to implement it by myself.

@rusty1s rusty1s added the enhancement New feature or request label Sep 16, 2021
RexYing added a commit to RexYing/pytorch_sparse that referenced this issue Apr 26, 2022
early stopping, ckpt, test set

Co-authored-by: rusty1s <[email protected]>
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

2 participants