API Method: match matrix show pairs

GET /:user_id/matches/:folder_id/pairs

Returns a csv representation of the cosine similarity (and contribution of each term to the similarity score) for each pair of profile items, with a 200 OK HTTP status code. Content disposition is set as attachment so that these urls will prompt a web browser to save to a file rather than display the retrieved content.

Each line of the returned csv file has the following structure:

<item_id1>,<item_id2>,<similarity>,"<term> <contribution>,<term> <contribution>,...,<term> <contribution>"

Where:

URL:

http://subsift.ilrt.bris.ac.uk/user_id/matches/folder_id/pairs.format

Formats (about return formats):

All formats return plain csv text. i.e. the format is ignored (although this may change in the future).

HTTP Methods (about HTTP methods):

GET

Requires Authentication (about authentication):

true  if folder's mode property is set to private
false  if folder's mode property is set to public

Parameters:

Usage Examples:

cURL (about cURL):

curl http://subsift.ilrt.bris.ac.uk/kdd09/matches/pc/pairs

Response (about return values):

Example:

Ad Feelders,paper 1,0.0109207248595044,"relations 1.13167441984441e-05,analysis 1.28341609060094e-05,...,experimental 1.45407492719853e-05"
Ad Feelders,paper 2,0.0109207248595044,"relations 1.13167441984441e-05,knowledge 1.33899127927374e-05,...,classification 3.32139752326722e-06"
Ad Feelders,paper 3,0.00220278749843272,"google 8.73225759614193e-09,related 1.92975612169781e-05,...,learning 1.92245838543954e-05"
Ad Feelders,paper 4,0,""
Ada Fu,paper 1,0.00344574134569426,"mining 5.35365324469984e-06,discovery 1.8932821239972e-06,...,rule 2.19094373121661e-06"
Ada Fu,paper 2,0.00344574134569426,"mining 5.35365324469984e-06,rule 2.19094373121661e-06,...,relational 7.95288288760795e-06"
Ada Fu,paper 3,0.00238871094093343,"mining 5.52271949976603e-07,systems 2.11119688402533e-07,...,user 2.0647037301976e-05"
Ada Fu,paper 4,0,""
.
.
.
Zoran Obradovic,paper 1,0.00713778091229665,"discovery 1.31173529393273e-05,publications 1.20397184159368e-08,...,multi 1.10145819896604e-05"
Zoran Obradovic,paper 2,0.00713778091229665,"mining 4.70097697981554e-06,systems 5.20203132918294e-07,...,classification 9.70723631441994e-07"
Zoran Obradovic,paper 3,0.00237449925107599,"issue 4.71329981079197e-06,heterogeneous 5.81249916920558e-06,...,database 3.02249948617509e-06"
Zoran Obradovic,paper 4,0.00234430063269854,"test 0.00267635875013962"