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

Test and fix components when input ratings are doubles #630

Merged
merged 14 commits into from
Feb 6, 2025

Conversation

mdekstrand
Copy link
Member

@mdekstrand mdekstrand commented Feb 6, 2025

This adds tests for input ratings being doubles, fixes user KNN.

Also removes our compatibility shim for Torch, and fixes implicit on CUDA.

@mdekstrand mdekstrand added components LensKit recommendation components batch Batch recommendation facilities labels Feb 6, 2025
@mdekstrand mdekstrand added this to the 2025.1 milestone Feb 6, 2025
Copy link

codecov bot commented Feb 6, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 91.23%. Comparing base (e1e4e92) to head (47803a4).
Report is 15 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #630      +/-   ##
==========================================
+ Coverage   91.20%   91.23%   +0.03%     
==========================================
  Files         117      117              
  Lines        8069     8081      +12     
==========================================
+ Hits         7359     7373      +14     
+ Misses        710      708       -2     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@mdekstrand mdekstrand changed the title Fix UKNN when rating is of type double Test and fix components when input ratings are doubles Feb 6, 2025
@mdekstrand mdekstrand merged commit b9fdf76 into lenskit:main Feb 6, 2025
45 checks passed
@mdekstrand mdekstrand deleted the fix/uknn-double-ratings branch February 6, 2025 23:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
batch Batch recommendation facilities components LensKit recommendation components
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant