Skip to content

karlhigley/ranking-metrics-torch

Repository files navigation

ranking-metrics-torch

This is a small set of PyTorch-based CPU and GPU friendly implementations of common ranking metrics.

Included metrics:

  • Precision/Recall
  • Average Precision
  • Discounted Cumulative Gain
  • Normalized Discounted Cumulative Gain

Implementations are tested against scikit-learn with hypothesis property-based testing (where possible.)

About

Simple ranking metrics for PyTorch on CPU or GPU

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages