代做Introduction to AI - Coursework代写留学生Python程序

Introduction to AI - Coursework

Coursework

Question 1 (25 pts)

The idea for this question is to cluster words; for the question you will need a substantial piece of text. I suggest you use Project Gutenberg

https://www. gutenberg. org/

and download a few novels and concatenate them.  Try to pick reasonably recent novels since they will have a more contemporary language use, how- ever, because of the copyright restrictions the books tend to older.  In what follows there are a series of “marking waypoints” indicated with numbers in square brackets of the form [m1] to [m6], these will be explained after the overall requirements are discussed.

When you have created your text [m1] pick a set of about 100 words, these should not be function words like  “the” or  “of”, so, for example, pick  100 nouns or a set split between nouns, verbs, adjective and adverbs.  These might be the most common words in these classes or they may all be words in a specitic category, abstract nouns for example, or words related to needlework [m2]. Call this list L.

Now we want to create a set of similarities or distances between pairs of words in L. The similarity I have in mind is how often two words occur in the same sentence, or the average distance apart the words are in the text [m3]. Use this distance or similarity measure to perform unsupervised learning, any algorithm you want, and describe the results [m4].

The distance between two words may be greater than distance you get if you go by way of a third word: for example, and this example is a completely made up, image

d(soup, bed) = 34.4                                        (1)

d(soup, spoon) = 2.8                                          (2)

d(spoon, bed) = 4.6                                         (3)

Now it is quicker to get from soup to bed if you go by way of spoon and it might be more correct to regard

d(soup, bed) = 2.8 + 4.6 = 7.4                                 (4)

Use Dijkstra’s algorithm to find the shortest distance between an pair of words in L [m5] and repeat the unsupervised learning.  Is it any different? [m6]

The mark waypoints [m1]-[m6] are there to give an idea of the marking scheme but is intended to be a rough guide, not a rigid scheme.  At  [m1] four marks will have been allocated, to get a particularly good mark here make sure the data has been cleaned. At [m2] an additional two marks have been allocated, as an aside, this is a place an LLM could sensibly be used, for example, to pick the nouns from a list.  At [m3] another four marks have been allocated, be careful to explain how you are calculating the distance, why you made that choice and what you see, for example, by noting which words are closest and which furthest apart.  Six more marks are allocated by [m4], for a very good mark discuss the choice of algorithm and any meta-parameters, use graphs to compare different choices.  Six more marks are allocated by  [m5]; obviously the challenge here is implementing the algorithm. Explain clearly what you have done. Finally there are three more marks to be allocated by [m6].

Question 3 (15 marks)

Generate a data set in two dimensions with a division boundary of the form y = ax2 +x, so points one side of this boundary belong to class A and to the other, class B. Investigate how well logistic regression works for these data as a is varied. What about a small neural network? How are these approaches affected if the number of points is varied, or the balance between class A and class B in the number of points?  How does changing the size of the network change the performance.

Question 3 (10 marks)

Do large language models have rights or other attributes of personhood? Do they have rights and will they acquire them?   Discuss this in an essay of about one page.

● Your essay should stay focused on that topic throughout.

● If you argue for or against a position, ensure your points directly sup- port your stance.  If you’re presenting both sides, weigh the pros and cons.

● Start with a clear introduction that states your main argument or the scope of your discussion.

● Organise your points logically in the body of your essay.  Each para- graph should advance your argument or analysis.

● Conclude with a summary of your argument or final reflection on the topic.

● Reference key studies or theories that support your argument.   Pro- vide brief explanations of why the cited studies are important for your argument.

● Don’t just summarise; engage critically with the literature.

● For higher marks, address counterarguments or limitations in the ap- proaches you’re discussing.

● Aim for clear and precise writing.  Avoid jargon unless necessary and explain technical terms.

● Ensure that your essay is free of grammatical and spelling errors, and that your ideas flow smoothly from one to the next.

You can use AI in helping develop your thoughts,  or  for finding  and fixing errors, but I expect clarity, originality and incisive thought with strong, clearly held views while avoiding platitudes and weasel statements. None of this will be present in an essay which has, from the start, been taken from an LLM.

Report

Your report should be no longer than seven pages, excluding any references. Use an 11 or 12pt font and use a standard page layout, do not expand the page just to make it fit more text!

Your report must be submitted in pdf and should be prepared in LaTeX; overleaf is a good approach, but not required as long as LaTeX has been used.   As  always  when  using  LaTeX,  give  yourself  over  to defaults,  our expectation of what a document should look like has been conditioned on LaTeX, so it is best not to try to override the look of the document.

Avoid code snippets in the report unless that feels like the best way to illustrate some subtle aspect of an algorithm; do always though consider a mathematical description if possible.  You will be asked to submit code and it may be tested to make sure it works and matches your report.  It will not, however, be marked in and of itself.

Submission

The deadline for report and code:  13h00  (GMT+1) on Monday 2025-04- 28, there will be a submission point on Blackboard under the “assessment, submission and feedback” link. Please upload the following two files:

1. Your report as a PDF with filename ¡student number¿.pdf, where “¡stu- dent number” is replaced by your student number, not your username. Upload this to the submission point  “Introduction to AI Coursework (Turnitin)”.

2. Your code inside a single zip file with filename ¡student number¿.zip. Inside the zip file there should be a single folder containing your code, with your student number as the folder name. Please remove datasets and other large files to minimise the upload size - we only need the code itself. Upload this file to the submission point “Code for Introduction to AI Coursework”.

We may review your Python code by eye but your marks will be based on the contents of your report, with the code used to check how you carried out the experiments described in your report. We will not give marks for the coding style, comments, or organisation of the code.  Code written in Julia or R is also acceptable as is the use of a standard notebook format.  If you are particularly keen on another programming language let me know and I will consider this.

Please do not include your name in the report text itself: to ensure fair- ness, we mark the reports anonymously.

Avoiding Academic Offences:  Please re-read the university’s plagiarism rules to make sure you do not break any rules.  Academic offences include submission of work that is not your own, falsification of data / evidence or the use of materials without appropriate referencing.  Note that sharing your report with others is also not allowed.   These  offences  are  all taken very seriously by the University and we have very little leeway within the framework the University has set out.  Do not copy text directly from your sources - always rewrite in your own words and provide a citation.  Work independently – do not share your code or reports with others; you can, of course, discuss your work with your classmates, but do not share text or code.

Suspected offences will be dealt with in accordance with the University’s policies and procedures. If an academic offence is suspected in your work, you will be asked to attend an interview with senior members of the school, where you will be given the opportunity to defend your work.  The plagiarism panel can apply a range of penalties, depending on the severity of the offence. These include a requirement to resubmit work, capping of grades and the award of no mark for an element of assessment.  Again, we are not in a position to be lenient here, the academic offences procedure is not one we control.



热门主题

课程名

mktg2509 csci 2600 38170 lng302 csse3010 phas3226 77938 arch1162 engn4536/engn6536 acx5903 comp151101 phl245 cse12 comp9312 stat3016/6016 phas0038 comp2140 6qqmb312 xjco3011 rest0005 ematm0051 5qqmn219 lubs5062m eee8155 cege0100 eap033 artd1109 mat246 etc3430 ecmm462 mis102 inft6800 ddes9903 comp6521 comp9517 comp3331/9331 comp4337 comp6008 comp9414 bu.231.790.81 man00150m csb352h math1041 eengm4100 isys1002 08 6057cem mktg3504 mthm036 mtrx1701 mth3241 eeee3086 cmp-7038b cmp-7000a ints4010 econ2151 infs5710 fins5516 fin3309 fins5510 gsoe9340 math2007 math2036 soee5010 mark3088 infs3605 elec9714 comp2271 ma214 comp2211 infs3604 600426 sit254 acct3091 bbt405 msin0116 com107/com113 mark5826 sit120 comp9021 eco2101 eeen40700 cs253 ece3114 ecmm447 chns3000 math377 itd102 comp9444 comp(2041|9044) econ0060 econ7230 mgt001371 ecs-323 cs6250 mgdi60012 mdia2012 comm221001 comm5000 ma1008 engl642 econ241 com333 math367 mis201 nbs-7041x meek16104 econ2003 comm1190 mbas902 comp-1027 dpst1091 comp7315 eppd1033 m06 ee3025 msci231 bb113/bbs1063 fc709 comp3425 comp9417 econ42915 cb9101 math1102e chme0017 fc307 mkt60104 5522usst litr1-uc6201.200 ee1102 cosc2803 math39512 omp9727 int2067/int5051 bsb151 mgt253 fc021 babs2202 mis2002s phya21 18-213 cege0012 mdia1002 math38032 mech5125 07 cisc102 mgx3110 cs240 11175 fin3020s eco3420 ictten622 comp9727 cpt111 de114102d mgm320h5s bafi1019 math21112 efim20036 mn-3503 fins5568 110.807 bcpm000028 info6030 bma0092 bcpm0054 math20212 ce335 cs365 cenv6141 ftec5580 math2010 ec3450 comm1170 ecmt1010 csci-ua.0480-003 econ12-200 ib3960 ectb60h3f cs247—assignment tk3163 ics3u ib3j80 comp20008 comp9334 eppd1063 acct2343 cct109 isys1055/3412 math350-real math2014 eec180 stat141b econ2101 msinm014/msing014/msing014b fit2004 comp643 bu1002 cm2030
联系我们
EMail: 99515681@qq.com
QQ: 99515681
留学生作业帮-留学生的知心伴侣!
工作时间:08:00-21:00
python代写
微信客服:codinghelp
站长地图