-
Notifications
You must be signed in to change notification settings - Fork 244
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
add PRDC #431
add PRDC #431
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for your PR! This looked like a nice addition to d3rlpy 😄 I found a dependency problem as I commented. Please take a look at that. There might be trivial code changes that I would add. But, that's my job after we merge this PR. Thanks again!
|
||
import numpy as np | ||
import torch | ||
from scipy.spatial import KDTree |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this is not used anywhere.
setup.py
Outdated
@@ -43,6 +43,7 @@ | |||
"colorama", | |||
"dataclasses-json", | |||
"gymnasium>=1.0.0", | |||
"scipy", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I believe what you need here is scikit-learn instead of scipy.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks to your careful review. I have made the corresponding changes.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
btw, I've also fix errors from running ./scripts/lint
.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. Thank you for the update!
Add Implementation of PRDC, arXiv link: https://arxiv.org/abs/2306.06569