Topic: Matrix Manipulation Problem / Level: advanced

Problem: Write a program to compute the average precision for a set of ranked documents represented as a matrix.

Run the code to see the output here...