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



how can I calculate these two values using KNIME?

* Precision@k

* ndcg (normalized discounted cumulative gain)



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:

Hope that helps,