PLEASE NOTE: the upgrades to this server, secure.csse.uwa.edu.au, have not yet been completed.
Hopefully the changes will be completed on THURSDAY 8th December.
Web-based programs, such as csmarks, cssubmit, and the help fora, will be unavailable at some time on Thursday 8th.
  It's UWAweek 49

help2003/help4407

This forum is provided to promote discussion amongst students enrolled in Open Source Tools and Scripting.

Please consider offering answers and suggestions to help other students! And if you fix a problem by following a suggestion here, it would be great if other interested students could see a short "Great, fixed it!"  followup message.

How do I ask a good question?
Displaying the 9 articles in this topic
Showing 9 of 564 articles.
Currently 5 other people reading this forum.


 UWA week 16 (1st semester, non-teaching week) ↓
SVG not supported

Login to reply

👍?
helpful
8:49pm Mon 18th Apr, Bryan C.

Hello, with regards to the incedenceOfMalaria.csv dataset, I noticed that some countries are recorded in a way that is not standard (e.g. Vietnam is recorded as Viet Nam). Are we meant to account for this? For example, malaria_incidence vietnam should return the same output as malaria_incidence "Viet Nam". Or can we simply search if the provided argument (either year or country) is present in the dataset, and if not, return an appropriate error message?


SVG not supported

Login to reply

👍?
helpful
6:54pm Tue 19th Apr, Michael W.

"Bryan Chan" <22*0*2*[email protected]*u*e*t*u*a*e*u*a*> wrote:
> Hello, with regards to the incedenceOfMalaria.csv dataset, I noticed that some countries are recorded in a way that is not standard (e.g. Vietnam is recorded as Viet Nam). Are we meant to account for this? For example, malaria_incidence vietnam should return the same output as malaria_incidence "Viet Nam". > > Or can we simply search if the provided argument (either year or country) is present in the dataset, and if not, return an appropriate error message?
Hi Bryan, Seeing that is the format that the data as downloaded uses, that is the format I'll be using for testing. Cheers MichaelW


SVG not supported

Login to reply

👍?
helpful
4:59am Wed 20th Apr, Hanlin Z.

Could u plz clarify this issue: If user enter 'Vietnam', does shell need to return the result of 'Viet nam' (Vietnam show as Viet nam in the data set)? Or shell should say something like 'country not found in the data set' if user enter 'Vietnam' instead of 'Viet nam'?


SVG not supported

Login to reply

👍?
helpful
4:39pm Thu 21st Apr, Hanlin Z.
Edited: 2 mins later

:)


SVG not supported

Login to reply

👍?
helpful
4:39pm Thu 21st Apr, Hanlin Z.

nobody able to reply this question?


SVG not supported

Login to reply

👍?
helpful
10:43pm Thu 21st Apr, Michael W.

"Hanlin Zhang" <22*4*4*[email protected]*u*e*t*u*a*e*u*a*> wrote:
> Could u plz clarify this issue: > > If user enter 'Vietnam', does shell need to return the result of 'Viet nam' (Vietnam show as Viet nam in the data set)? Or shell should say something like 'country not found in the data set' if user enter 'Vietnam' instead of 'Viet nam'?
Hi Hanlin, Greetings from Kalgoorlie. Clearly, Viet Nam and Vietnam are the same place, and it would be incorrect and unhelpful to say that the data is not found in the dataset. Clearly, your program will need to do some data cleaning up front on the country data, and then also on the user queries to make sure that the things that are in fact the same, end up looking the same. Does that make sense? Cheers MichaelW


SVG not supported

Login to reply

👍?
helpful
12:32am Fri 22nd Apr, Lance B.
Edited: 11 mins later

Im so confused. So the search is case insensitive? if user pass srilanka it should match Sri Lanka? what if user enter Guinea, it would also pickup Guinea-Bissau and Equatorial Guinea which are all different? Should it be case sensitive?


SVG not supported

Login to reply

👍?
helpful
12:32am Fri 22nd Apr, ANONYMOUS

Im so confused. So the search is not sensitive? if user pass srilanka it should match Sri Lanka? what if user enter Guinea, it would also pickup Guinea-Bissau and Equatorial Guinea which are all different?


SVG not supported

Login to reply

👍?
helpful
1:10am Fri 22nd Apr, ANONYMOUS

"Michael Wise" <mi*h*e*.*i*[email protected]*a*e*u*a*> wrote:
> "Hanlin Zhang" <22*4*4*[email protected]*u*e*t*u*a*e*u*a*> wrote: > > > Could u plz clarify this issue: > > > > If user enter 'Vietnam', does shell need to return the result of 'Viet nam' (Vietnam show as Viet nam in the data set)? Or shell should say something like 'country not found in the data set' if user enter 'Vietnam' instead of 'Viet nam'? > > Hi Hanlin, > Greetings from Kalgoorlie. > Clearly, Viet Nam and Vietnam are the same place, and it would be incorrect and unhelpful to say that the data is > not found in the dataset. Clearly, your program will need to do some data cleaning up front on the country data, and then also on the user queries to make sure that the things that are in fact the same, end up looking the same. > > Does that make sense? > > Cheers > MichaelW
Hi Michael, Sorry to harp on this issue, but I am still confused on how to deal with the different variants of a country's name. I took your earlier reply "Seeing that is the format that the data as downloaded uses, that is the format I'll be using for testing." to mean that you will test our programs using the spelling of a country's name as found in the dataset, meaning that we need not worry about cleaning "Viet Nam" into "Vietnam" such that a user's input of "Viet Nam" and "Vietnam" will yield the same results. However, your later reply seems to indicate that you expect us to account for the different possible variations of a country's name, which would be impossible to implement aside from hard-coding every possibility (Laos and Lao's People Democratic Republic, U.K and United Kingdom, Siam and Thailand, Myanmar and Burma). Do you just mean that our code must account for easily implementable cases like Vietnam and Viet Nam (we can easily remove spaces between words)? Based on the reasoning "Clearly, Viet Nam and Vietnam are the same place, and it would be incorrect and unhelpful to say that the data is
> not found in the dataset.", can we instead, if our program does not recognise a user input, return a list of country names found in the dataset (along with an appropriate error message)?

The University of Western Australia

Computer Science and Software Engineering

CRICOS Code: 00126G
Written by [email protected]
Powered by history
Feedback always welcome - it makes our software better!
Last modified  1:17AM Sep 14 2022
Privacy policy