Precision@K and ndcg (normalized discounted cumulative gain)?

Hi

 

how can I calculate these two values using KNIME?

* Precision@k

* ndcg (normalized discounted cumulative gain)

 

Samer

Hi Samer,

At the moment KNIME Analytics Platform does not offer any node able to compute the metrics that you listed.

At the moment what you could do is to use the integration with Python in KNIME to achieve this. Here you can find an example that shows how to compute those metrics in Python: https://gist.github.com/bwhite/3726239.

Hope that helps,

Best,

Vincenzo