What does this implement/fix? Explain your changes
Refactoring the base fingerprint kernel class to mirror changes in latest version of GPyTorch.
What testing did you do to verify the changes in this PR?
test suite in test_tanimoto.py
Pull Request Checklist
[ ] Added a note about the modification or contribution to the ./CHANGELOG.md file (if applicable)
[ ] Added appropriate unit test functions in the ./gauche/tests/* directories (if applicable)
[ ] Modify documentation in the corresponding Jupyter Notebook under ./notebooks/ (if applicable)
[ ] Ran python -m py.test tests/ and make sure that all unit tests pass (for small modifications, it might be sufficient to only run the specific test file, e.g., python -m py.test tests/kernels/test_graph_kernels.py)
[ ] Checked for style issues by running black . and isort .
Reference Issues/PRs
What does this implement/fix? Explain your changes
Refactoring the base fingerprint kernel class to mirror changes in latest version of GPyTorch.
What testing did you do to verify the changes in this PR?
test suite in
test_tanimoto.py
Pull Request Checklist
./CHANGELOG.md
file (if applicable)./gauche/tests/*
directories (if applicable)./notebooks/
(if applicable)python -m py.test tests/
and make sure that all unit tests pass (for small modifications, it might be sufficient to only run the specific test file, e.g.,python -m py.test tests/kernels/test_graph_kernels.py
)black .
andisort .