Category | Assignment | Subject | Education |
---|---|---|---|
University | ____ | Module Title | Introduction to Artificial Intelligence |
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 and download a few novels and concatenate them. Try to pick reasonably recent novels since they will have a more contemporary language use, however, 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
d(soup,spoon) = 2.8
d(spoon, bed) = 4.6
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
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?
Achieve Higher Grades This Assignment Solutions
Order Non Plagiarized Assignment[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].
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.
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.
Need Help With Assignment of This Question
Order Non Plagiarized AssignmentLooking for solution your Assignment? Here is the best assignment help service for you! Do you need Artificial Intelligence Assignment Help? Then be tension free! We not only provide coursework assignment help but also provide you free assignment solutions which will make your concepts crystal clear. You will get 100% original content written by our PhD expert writers which will be plagiarism-free. Understanding is easy, writing is perfect! With the guarantee of A+ grade. Contact us now and remove your tension!
Let's Book Your Work with Our Expert and Get High-Quality Content