1. Homepage
  2. Programming
  3. Natural Language Engineering: Assessed Coursework: Classification

Natural Language Engineering: Assessed Coursework: Classification

Engage in a Conversation
Natural Language EngineeringNLPPythonClassifierNaive Bayes

Natural Language Engineering: Assessed Coursework CourseNana.COM

Submission format: You should submit one file that should either be a Python note- book or a zip file containing a Python notebook and any other files (e.g., images or Python files) that you want to include in the notebook. CourseNana.COM

Due date: Your work should be submitted on the module’s Canvas site before 4pm on Thursday 16th November. This is Thursday of week 7. The standard late penalties apply. CourseNana.COM

Return date: All assignments will be marked during the lab sessions in week 10. Marks and feedback will be available in the lab and then recorded on Canvas by the end of week 10 (Friday 8th December). CourseNana.COM

Weighting This assessment contributes 30% of the mark for the module. Overview CourseNana.COM

For this assignment you are asked to complete a python notebook (‘NLEassignment2023.ipynb‘) which is provided with these guidelines. It is based on activities that you have already completed in labs during weeks 1-4 of the module. Any code you have developed
during the labs can be submitted as part of your answers to the questions in the as- signment. To score highly on this assignment you will need to demonstrate that you:
CourseNana.COM

• understand the theory and your code;
• can write and document high quality python code;
• can develop code further to solve related problems;
• can carry out experiments and display results in a coherent way;
• can analyse and interpret results; and
• can draw conclusions and understand limitations of the technology.
CourseNana.COM

For this report you should submit a single Python notebook containing all of your answers to all of the questions in ‘NLEassignment2023.ipynb‘. You may import from standard libraries. If you wish to import any other code, it must be included in a zip file with your notebook. It must be possible for the assessors to run your Python notebook. CourseNana.COM

Marking Criteria and Requirements CourseNana.COM

Your submission will be marked out of 40. The assignment is broken down into 5 questions – all with multiple parts. All parts should be answered. The breakdown of marks between questions is given here and also specified in the notebook. General and part specific criteria are given below. Please read these guidelines carefully and ask if you have any questions. CourseNana.COM

General: 4 marks available (10%) CourseNana.COM

4 marks (10%) are available for the overall quality of your assignment. When awarding these marks the following general guidelines will be considered. CourseNana.COM

  • In order to avoid misconduct, you should not talk about these coursework questions with your peers. If you are not sure what a question is asking you to do or have any other questions, please ask me or one of the Teaching Assistants. CourseNana.COM

  • Your report should be no more than 2000 words in length excluding code and the content of graphs, tables and any references. CourseNana.COM

  • You should specify the length of your report. 2000 is a strict limit. CourseNana.COM

  • You should use a formal writing style. CourseNana.COM

  • All graphs should have a title and have each axis clearly labelled. CourseNana.COM

  • In all parts, marks will be awarded for the quality of your written answers as well as your code. CourseNana.COM

  • Written / textual answers MUST be included in Markdown cells. Other- wise, you may score 0 for these answers. CourseNana.COM

  • Code on its own does not count as an explanation or a discussion. Nor do code comments. Code should be commented but explanation and discus- sion MUST be given as text in Markdown cells (see previous point!). CourseNana.COM

  • Do not add external text (e.g. code, output) as images. CourseNana.COM

  • Yourcodemustbeappliedtoandyourexplanationsmustrefertotheunique set of examples generated by entering your candidate number at the top of the notebook. This must be your own candidate number. Otherwise you may score 0. CourseNana.COM

  • You should submit your notebook with the code having been run (i.e., with the output displayed rather than cleared) CourseNana.COM

  • It must be possible for the assessors to run your Python notebook. CourseNana.COM

Question 1: 8 marks available (20%)
1) a) Generate a list of 10 content words which are representative of the positive reviews in your training data. CourseNana.COM

b) Generate a list of 10 content words which are representative of the negative reviews in your training data. CourseNana.COM

c) Explain what you have done and why
The following breakdown of marks will be applied
CourseNana.COM

• Clear and effective use of code [6 marks] • Explanation [2 marks] CourseNana.COM

Question 2: 5 marks available (12.5%)
2) a) Use the lists generated in Q1 to build a word list classifier which CourseNana.COM

will classify reviews as being positive or negative. b) Explain what you have done. CourseNana.COM

The following breakdown of marks will be applied CourseNana.COM

• Clear and effective use of code [3 marks] • Explanation [2 marks] CourseNana.COM

Question 3: 8 marks available (20%)
3) 1) Calculate the accuracy, precision, recall and F1 score of your clas- CourseNana.COM

sifier. CourseNana.COM

b) Is it reasonable to evaluate the classifier in terms of its accuracy? Explain your answer and give a counter-example (a scenario where it would / would not be reasonable to evaluate the classifier in terms of its accuracy). CourseNana.COM

The following breakdown of marks will be applied CourseNana.COM

• Clear and effective use of code for calculations [6 marks] • Argument / explanation in part b [2 marks] CourseNana.COM

Question 4: 5 marks available (12.5%)
4) a) Construct a Naive Bayes classifier (e.g., from NLTK). CourseNana.COM

b) Compare the performance of your word list classifier with the Naive Bayes classifier. Discuss your results. CourseNana.COM

The following breakdown of marks will be applied CourseNana.COM

• Clear and effective use of code [3 marks] • Discussion [2 marks] CourseNana.COM

CourseNana.COM

Question 5: 10 marks available (25%) CourseNana.COM

5) a) Design and carry out an experiment into the impact of the length of the wordlists on the wordlist classifier. Make sure you describe design decisions in your experiment, include a graph of your results and discuss your conclusions. CourseNana.COM

b) Would you recommend a wordlist classifier or a Naive Bayes classi- fier for future work in this area? Justify your answer. CourseNana.COM

The following breakdown of marks will be applied CourseNana.COM

• Clear and effective use of code to carry out experiment [3 marks] • Explanation of experimental design [2 marks]
• Graph of results [2 marks]
• Conclusions, recommendation and justification [3 marks]
  CourseNana.COM

Get in Touch with Our Experts

WeChat WeChat
Whatsapp WhatsApp
Natural Language Engineering代写,NLP代写,Python代写,Classifier代写,Naive Bayes代写,Natural Language Engineering代编,NLP代编,Python代编,Classifier代编,Naive Bayes代编,Natural Language Engineering代考,NLP代考,Python代考,Classifier代考,Naive Bayes代考,Natural Language Engineeringhelp,NLPhelp,Pythonhelp,Classifierhelp,Naive Bayeshelp,Natural Language Engineering作业代写,NLP作业代写,Python作业代写,Classifier作业代写,Naive Bayes作业代写,Natural Language Engineering编程代写,NLP编程代写,Python编程代写,Classifier编程代写,Naive Bayes编程代写,Natural Language Engineeringprogramming help,NLPprogramming help,Pythonprogramming help,Classifierprogramming help,Naive Bayesprogramming help,Natural Language Engineeringassignment help,NLPassignment help,Pythonassignment help,Classifierassignment help,Naive Bayesassignment help,Natural Language Engineeringsolution,NLPsolution,Pythonsolution,Classifiersolution,Naive Bayessolution,