Ask a question
Can't find the answer? Try online tutoring
We have the UK’s best selection of online tutors, when and for how long you need them.
Getting 1-on-1 support is cheaper than you might think.
Hi, I'm stuck on evaluation, average precision, Im struggling to understand how to calaculate them. for example: A query has 6 relevant answers in a collection. In ranked order, the tigerland retrieval system returns the following results: (1) relevant; (2) irrelevant; (3) relevant; (4) relevant; (5) irrelevant; (6) relevant; (7) relevant; (8) relevant; (9) irrelevant; and (10) irrelevant. Calculate the average precision (AP). Answer: (1 + 2/3 + 3/4 + 4/6 + 5/7 + 6/8 ) / 6 Suppose that there is a seventh relevant item, which your system does not find. Does this affect average precision? Answer: Yes – the seventh (missed) item must be counted in the averaging (i.e. the denominator of the fraction becomes 7 instead of 6).
why and how can we get this answer? what are the steps to get the result?
Hi. I am stuck on this question. Any help will be appreciated.
The overall aim of this assignment is to implement a simple graphics tool. This must be built as a graphical application using the Java Swing and/or AWT classes. The software will allow users to type in simple commands which cause a virtual pen (sometimes it is also called a turtle after the Logo programming language which was popular in schools in the 1980s) to move around a virtual canvas area drawing lines as it moves. The final product should be a fully working application which includes a typical application window, containing a menu bar and supporting dialogue boxes. You should use GraphicsPanel.java inside your program. It sets up a canvas for you to draw on and displays a simple turtle. You can modify it as you see fit.
Requirement 1 – basic application 20 marks
The first requirement is to develop a simple GUI which contains an outer window (frame), a canvas drawing area, a console type text input area, and a menu bar. Themenu bar should contain at least a ‘File’ and a ‘Help’ menu. The ‘File’ menu should contain the options “New”, “Load”, “Save” and “Exit”. The ‘Help’ menu should contain an “About” option. The application window should be resizable by the user. For this first requirement the menu options can be blank and have no attached functionality, subsequent requirements will provide the actual functionality. When selected each option should pop–up a dialogue saying that the option has been selected.
Program runs Panel for drawing is displayed You need to demonstrate that the panel can be drawn on (note if you have implemented subsequent requirements they will do this). Console text area Note this could be the console itself or some sort of component such as a TextArea or TextField. You need to demonstrate that text can be entered and minimally echoed back (note if you have implemented subsequent requirements they will do this). (5 marks)
File Menu Items with pop ups for each New (1 mark) Load (1 mark) Save (1 mark) Exit (1 mark) Help Menu About (1 mark)
UML Diagram (10 marks) Should show internal detail of your classes (including GraphicsScreen.java). Any Swing/AWT classes or other external classes should be shown as boxes only. Requirement 2 – command support 35 marks The second requirement is to implement some basic commands to allow drawing. The users should be able to type in these commands within the console text area. The “New” menu option should cause the canvas to be cleared. The application should be able to spot invalid commands and report this to the user. The commands to be supported are very explicit and MUST match those shown in the following table. The command must be typed in by the user and not selected from a menu as some of them will have parameters which MUST be typed with the command, for example “forward 90”. The parameters must not be entered separately, either after the command or in a separate text field. These commands must not be entered using separate textfields for command and parameter. When the program first runs the turtle/pen should be set to the middle of the canvas and point down the screen and the pen should be set to “down”. Hence if the first command was “forward 100” a line from the middle of the screen to nearer the bottom would be drawn. Requirement 3 – loading, saving and exiting. 20 marks The main aim of requirement three is to implement the remaining menu options. The “Load” and “Save” should allow the user to select a file name via a dialogue box. The current image should then be either loaded or saved to a file. If the user attempts to load a new image without the current one been saved first then a warning dialogue should be shown to the user, which should provide the opportunity for the current image to be saved first. The “Exit” and “About” menu options should also be completed. During exit a similar check should be made to see whether the user is attempting to exit without saving changes.
Basic lists Make a program that lets a user input a series of names into a list. The program should then ask the user whether they want to print out the list in the original order, or in reverse. Extensions: 1. Enable the user to choose what number item in the list they want to print out 2. Enable the user to only print out a ‘slice’ of the list (eg item three to item nine only) 3. Enable the user to remove any items of the list that they want to 4. Enable the user to save their list to a file for later, and also enable them to load it back up again too 5. ‘Clean’ the list by making all the items lowercase.
Averages Make a program that asks the user for a series of numbers until they either want to output the average or quit the program. Extensions: 1. Expand the program to print the median and mode averages also 2. Include options so that if the user wants to, they can save their list of numbers to a text file and read them back out later on.
Given an integer K and a sequence integers, list the K largest integers from that sequence using c++
Which smart device is best? A smart phone, laptop, or tablet? What's best for a work team and why? What are the advantages and disadvantages of using each of these devices? Is apple better or android or something else? What smart device would you use for work purposes? What smart devices are useful for a work team to be able to share files, etc?
Your boss at Innovations R Us, Rita Webb, has agreed to equip a selected work team with SMART devices. Instructions: 1. Rita asks you to prepare a report for the Purchasing Committee that will analyse the advantages and disadvantages of each type of device for the staff team to use. Relevant factors could be: Specific features/advantages at least 2 devices relevant for a specific work team Purchase price/budget considerations Ongoing costs/future proofing Information technology trends for business use Need for staff training Operability with existing operating systems/technology platforms e.g. Windows, iOS or Android Other relevant issues such as types of software to be run 2. Innovations R Us is an authorised reseller of IT equipment. As the report author, you are free to make any realistic assumptions about this NZ based company and its operations. However the information presented about the appropriate technology, must be from actual acknowledged sources. E.g. online publications and web sites of similar businesses. 3. The report will need to come to some valid conclusions and make recommendations based on your investigation. 4. The report must be structured according to an acceptable format such as found at: http://www.monash.edu...ogy/report/1.3.3.xml and will include: Cover page Table of contents Introduction Relevant sections/subsections Conclusions Recommendations Reference list/bibliography Appendices (where relevant) 5. References must be formatted using APA (MS Word APA acceptable)
CHALLENGE: Case of the missing crystal eggs
The scientists noticed a set of crystal eggs had been stolen when they reported to work early Tuesday morning. Reliable witnesses say the eggs were definitely there on Monday morning. The thieves must have come in sometime between Monday morning and Tuesday morning.
The camera system had been disconnected, but the laboratory had a backup system: a webcam took a picture of the crystals every 5 minutes and stored it securely. Every hour 12 pictures were taken, so in the 24-hour period, 12 * 24 = 288 pictures were taken.
Write rough pseudocode to find out the time of the crime as quickly as possible