Comments (3)
We will add it to the library! Thank you @cthoyt :)
from rexmex.
Reference implementation in PyKEEN here: https://github.com/pykeen/pykeen/blob/139c3d1db77c9e443d03db5383a163297345adfd/src/pykeen/evaluation/rank_based_evaluator.py#L468-L478
from rexmex.
I am one of the authors and happy to contribute an implementation. To this end, I have a question regarding the existing metrics, e.g.,
rexmex/rexmex/metrics/ranking.py
Lines 64 to 73 in 8e5d0ad
If I understand the API correctly, you assume that there is a single recommendation
, a sequence of items, and some of them are relevant (relevant_items
). The mean in mean rank is then computed over the relevant items.
This seems to be a bit different than the evaluation protocol frequently used in (Knowledge Graph) Link Prediction, where we have multiple recommendations (e.g. for each head
-relation
pair), each with relevant items (the tail
entities), and compute the mean over all of these.
from rexmex.
Related Issues (19)
- Running ./dev_setup.sh fails HOT 1
- Filtered Metrics HOT 2
- API Suggestions HOT 2
- Add structured data about metrics
- DCG
- Why are there duplicate functions? HOT 3
- Add the DeepCCI model
- NDCG
- Improve binning in `binarize()`
- Binarizing a metric set HOT 2
- Examples link is broken
- Cover metrics from this paper
- Pandas versioning issue HOT 2
- Pandas versioning HOT 1
- Rexmex uses the deprecated sklearn dependency
- Cover metrics and typization from this paper
- Information Retrieval
- Learning to rank
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rexmex.