Simple program in either Java or C++ or PHP [url removed, login to view]

This project received 16 bids from talented freelancers with an average bid price of €157 EUR.

Get free quotes for a project like this
Project Budget
€30 - €250 EUR
Total Bids
Project Description

Task\r\n\r\n**************************************************************\r\n !!! IMPORTANT !!!\r\n**************************************************************\r\n\r\nBefore you attempt to bid on this task please note:\r\n\r\n- The task submission HAS to be on time.\r\n- You will the first payment at the beginning\r\n but you will not be made the second and final \r\n payment untill the 25th of January. This task\r\n has to be checked out to be complete and working\r\n and only then full payment will be made.\r\n\r\n- The deadline for submission is 27th of December 2013.\r\n\r\n- Do not copy and paste from the internet. You will\r\n not be paid for plagiarised work.\r\n\r\n- If you can\'t do it then don\'t bid on it. If you don\'t\r\n understand then ask the question.\r\n\r\n- Please read carefully "Task Must Have\'s" and "What\r\n needs to be submitted in the end.\r\n\r\n**************************************************************\r\n\r\nFor this task, you are required to implement three standard Information Retrieval evaluation metrics, as listed later in this document. You must create a programme, using a programming language of your choice, that can do the following:\r\n\r\n1. Accept two command line arguments. The first is the name of a file containing the results that need to be evaluated for a set of queries. The second is \r\n the set of relevance judgements. The format of these files is given below. The files to use for this assignment will be attached to this post, although your \r\n work should be able to access any file in this format other that the one\'s attached in this post. As an example, your programme will be run like this, \r\n depending on the programming language used:\r\n\r\n - perl [url removed, login to view] [url removed, login to view] [url removed, login to view]\r\n - python [url removed, login to view] [url removed, login to view] [url removed, login to view]\r\n - [url removed, login to view] [url removed, login to view] [url removed, login to view]\r\n - java MyProgram [url removed, login to view] [url removed, login to view]\r\n Using PHP, our interface to PHP can be via a simple web page form\r\n\r\n2. The file containing relevant documents has two columns. The first column contains a query ID. The second column contains a list of the IDs of \r\n documents that are relevant to that query (separated by commas). There may be any number of queries. Query IDs will be in order (i.e. starting from 1 \r\n and ascending). If a document is not included in this file, you can assume that it is not relevant. Example:\r\n\r\n (1) 109,76,3\r\n (2) 32,43,1\r\n (3) 89,2\r\n\r\n - Relevant documents for Query 1 are 109,76,3,934\r\n - Relevant documents for Query 2 are 32,43,1\r\n - Relevant documents for Query 3 are 8,2\r\n\r\n3. When given these two files, your programme should output the following three evaluation metrics:\r\n\r\nPrecision:\r\nYou should calculate the Precision for each query separately, and output the average at the end. Note that this is not the same as the average Precision for one query.\r\n\r\nRecall:\r\nYou should calculate the Recall for each query separately, and output the average at the end\r\n\r\nMAP:\r\nCalculate the Mean Average Precision (MAP).\r\n\r\n4. It is Essential that this can be run as a standalone programme, without requiring IDEs such as Visual Studio, Eclipse, Netbeans or similar\r\n\r\n*********************\r\nTask Must Have\'s:\r\n*********************\r\nThe following will be taken into consideration before making a complete and full payment to freelancer\'s, beginning with the most important:\r\n- The mathematical correctness of your code (30%)\r\n- Code formatting and commenting (30%)\r\n- Does it run (20%)\r\n- Code eficiency (10%)\r\n- Accurate instructions being contained in the accompanying README file (see below) (10%)\r\n\r\n********************************\r\nWhat Should Be Submitted:\r\n********************************\r\nYou should submit a single ZIP archive containing the following:\r\n - The source code for your programme.\r\n - A compile executable, if appropriate (this is not necessary for interpreted languages such as Perl, Python, etc).\r\n - A [url removed, login to view] file with brief instructions on how to use your programme and any other relevant information.

Skills Required

Looking to make some money?

  • Set your budget and the timeframe
  • Outline your proposal
  • Get paid for your work

Hire Freelancers who also bid on this project

    • Forbes
    • The New York Times
    • Time
    • Wall Street Journal
    • Times Online