{"id":34404,"date":"2024-10-29T16:37:43","date_gmt":"2024-10-29T06:37:43","guid":{"rendered":"https:\/\/myassignmenthelp.info\/assignments\/?p=34404"},"modified":"2024-10-29T16:37:44","modified_gmt":"2024-10-29T06:37:44","slug":"introduction-to-artificial-intelligence-2339222","status":"publish","type":"post","link":"https:\/\/myassignmenthelp.info\/assignments\/introduction-to-artificial-intelligence-2339222\/","title":{"rendered":"Introduction to Artificial Intelligence-2339222"},"content":{"rendered":"<p><div class=\"ppw-restricted-content\"><\/p>\n\n\n\n<p><strong>Question : Task Environment<\/strong><strong><\/strong><\/p>\n\n\n\n<p>Self-driving car on a road: Continuous<\/p>\n\n\n\n<p>The self-driving car works in a continuous environment because it needs to make decisions based on continuous data such as position, speed, and time. The car sensors receive inputs such as distances to other vehicles, traffic lights, pedestrians, all of which vary smoothly over time.<\/p>\n\n\n\n<p>Game of basketball: Multi-agent<\/p>\n\n\n\n<p>Basketball is a multi-agent environment because it involves multiple agents, that both play on the same team and the opposing team. The actions of other players have an impact on the outcome and the players must respond to these actions.<\/p>\n\n\n\n<p>Cooking with a recipe with all ingredients available: Fully observable<\/p>\n\n\n\n<p>When cooking with all ingredients available, the environment is fully observable since all the information (ingredients, tools, and recipe steps) are available to the cook at all times.<\/p>\n\n\n\n<p>Empty house: Static<\/p>\n\n\n\n<p>For an empty house, the environment is static as nothing about the surroundings is changed unless the agent (i.e. person or robot) performs something on the environment. The state of the house is not influenced by external factors.<\/p>\n\n\n\n<p>Tic-Tac-Toe game: Sequential<\/p>\n\n\n\n<p>Tic Tac Toe is a sequential environment since a move impacts the next state of the game and decisions taken in an earlier move have sequential effects on what is to follow.<\/p>\n\n\n\n<p>Question 2: Iterative Deepening Search<\/p>\n\n\n\n<p>Visited Order for Each Depth<\/p>\n\n\n\n<p>Depth 0: A<\/p>\n\n\n\n<p>Depth 1: A, B,C<\/p>\n\n\n\n<p>Depth 2: A, B, C, D, E , F, G,<\/p>\n\n\n\n<p>Depth 3: A, B, C, D, E , F, G, H, I &nbsp;(solution found at depth 3).<\/p>\n\n\n\n<p>Tree search<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><a href=\"https:\/\/myassignmenthelp.info\/assignments\/wp-content\/uploads\/2024\/10\/image-17.png\"><img loading=\"lazy\" decoding=\"async\" width=\"511\" height=\"481\" src=\"https:\/\/myassignmenthelp.info\/assignments\/wp-content\/uploads\/2024\/10\/image-17.png\" alt=\"\" class=\"wp-image-34405\" srcset=\"https:\/\/myassignmenthelp.info\/assignments\/wp-content\/uploads\/2024\/10\/image-17.png 511w, https:\/\/myassignmenthelp.info\/assignments\/wp-content\/uploads\/2024\/10\/image-17-300x282.png 300w\" sizes=\"auto, (max-width: 511px) 100vw, 511px\" \/><\/a><\/figure>\n\n\n\n<figure class=\"wp-block-image size-full\"><a href=\"https:\/\/myassignmenthelp.info\/assignments\/wp-content\/uploads\/2024\/10\/Capture.png\"><img loading=\"lazy\" decoding=\"async\" width=\"297\" height=\"296\" src=\"https:\/\/myassignmenthelp.info\/assignments\/wp-content\/uploads\/2024\/10\/Capture.png\" alt=\"\" class=\"wp-image-34406\" srcset=\"https:\/\/myassignmenthelp.info\/assignments\/wp-content\/uploads\/2024\/10\/Capture.png 297w, https:\/\/myassignmenthelp.info\/assignments\/wp-content\/uploads\/2024\/10\/Capture-150x150.png 150w\" sizes=\"auto, (max-width: 297px) 100vw, 297px\" \/><\/a><\/figure>\n\n\n\n<figure class=\"wp-block-image size-full\"><a href=\"https:\/\/myassignmenthelp.info\/assignments\/wp-content\/uploads\/2024\/10\/image-18.png\"><img loading=\"lazy\" decoding=\"async\" width=\"314\" height=\"931\" src=\"https:\/\/myassignmenthelp.info\/assignments\/wp-content\/uploads\/2024\/10\/image-18.png\" alt=\"\" class=\"wp-image-34407\" srcset=\"https:\/\/myassignmenthelp.info\/assignments\/wp-content\/uploads\/2024\/10\/image-18.png 314w, https:\/\/myassignmenthelp.info\/assignments\/wp-content\/uploads\/2024\/10\/image-18-101x300.png 101w\" sizes=\"auto, (max-width: 314px) 100vw, 314px\" \/><\/a><\/figure>\n\n\n\n<figure class=\"wp-block-image size-full\"><a href=\"https:\/\/myassignmenthelp.info\/assignments\/wp-content\/uploads\/2024\/10\/Capture-1.png\"><img loading=\"lazy\" decoding=\"async\" width=\"205\" height=\"269\" src=\"https:\/\/myassignmenthelp.info\/assignments\/wp-content\/uploads\/2024\/10\/Capture-1.png\" alt=\"\" class=\"wp-image-34408\"\/><\/a><\/figure>\n\n\n\n<figure class=\"wp-block-image size-full\"><a href=\"https:\/\/myassignmenthelp.info\/assignments\/wp-content\/uploads\/2024\/10\/image-19.png\"><img loading=\"lazy\" decoding=\"async\" width=\"314\" height=\"931\" src=\"https:\/\/myassignmenthelp.info\/assignments\/wp-content\/uploads\/2024\/10\/image-19.png\" alt=\"\" class=\"wp-image-34409\" srcset=\"https:\/\/myassignmenthelp.info\/assignments\/wp-content\/uploads\/2024\/10\/image-19.png 314w, https:\/\/myassignmenthelp.info\/assignments\/wp-content\/uploads\/2024\/10\/image-19-101x300.png 101w\" sizes=\"auto, (max-width: 314px) 100vw, 314px\" \/><\/a><\/figure>\n\n\n\n<figure class=\"wp-block-image size-full\"><a href=\"https:\/\/myassignmenthelp.info\/assignments\/wp-content\/uploads\/2024\/10\/Capture-2.png\"><img loading=\"lazy\" decoding=\"async\" width=\"200\" height=\"267\" src=\"https:\/\/myassignmenthelp.info\/assignments\/wp-content\/uploads\/2024\/10\/Capture-2.png\" alt=\"\" class=\"wp-image-34410\"\/><\/a><\/figure>\n\n\n\n<figure class=\"wp-block-image size-full\"><a href=\"https:\/\/myassignmenthelp.info\/assignments\/wp-content\/uploads\/2024\/10\/image-20.png\"><img loading=\"lazy\" decoding=\"async\" width=\"314\" height=\"931\" src=\"https:\/\/myassignmenthelp.info\/assignments\/wp-content\/uploads\/2024\/10\/image-20.png\" alt=\"\" class=\"wp-image-34411\" srcset=\"https:\/\/myassignmenthelp.info\/assignments\/wp-content\/uploads\/2024\/10\/image-20.png 314w, https:\/\/myassignmenthelp.info\/assignments\/wp-content\/uploads\/2024\/10\/image-20-101x300.png 101w\" sizes=\"auto, (max-width: 314px) 100vw, 314px\" \/><\/a><\/figure>\n\n\n\n<figure class=\"wp-block-image size-full\"><a href=\"https:\/\/myassignmenthelp.info\/assignments\/wp-content\/uploads\/2024\/10\/Capture-3.png\"><img loading=\"lazy\" decoding=\"async\" width=\"224\" height=\"305\" src=\"https:\/\/myassignmenthelp.info\/assignments\/wp-content\/uploads\/2024\/10\/Capture-3.png\" alt=\"\" class=\"wp-image-34412\" srcset=\"https:\/\/myassignmenthelp.info\/assignments\/wp-content\/uploads\/2024\/10\/Capture-3.png 224w, https:\/\/myassignmenthelp.info\/assignments\/wp-content\/uploads\/2024\/10\/Capture-3-220x300.png 220w\" sizes=\"auto, (max-width: 224px) 100vw, 224px\" \/><\/a><\/figure>\n\n\n\n<figure class=\"wp-block-image size-full\"><a href=\"https:\/\/myassignmenthelp.info\/assignments\/wp-content\/uploads\/2024\/10\/image-21.png\"><img loading=\"lazy\" decoding=\"async\" width=\"338\" height=\"931\" src=\"https:\/\/myassignmenthelp.info\/assignments\/wp-content\/uploads\/2024\/10\/image-21.png\" alt=\"\" class=\"wp-image-34413\" srcset=\"https:\/\/myassignmenthelp.info\/assignments\/wp-content\/uploads\/2024\/10\/image-21.png 338w, https:\/\/myassignmenthelp.info\/assignments\/wp-content\/uploads\/2024\/10\/image-21-109x300.png 109w\" sizes=\"auto, (max-width: 338px) 100vw, 338px\" \/><\/a><\/figure>\n\n\n\n<figure class=\"wp-block-image size-full\"><a href=\"https:\/\/myassignmenthelp.info\/assignments\/wp-content\/uploads\/2024\/10\/Capture-4.png\"><img loading=\"lazy\" decoding=\"async\" width=\"200\" height=\"268\" src=\"https:\/\/myassignmenthelp.info\/assignments\/wp-content\/uploads\/2024\/10\/Capture-4.png\" alt=\"\" class=\"wp-image-34414\"\/><\/a><\/figure>\n\n\n\n<figure class=\"wp-block-image size-full\"><a href=\"https:\/\/myassignmenthelp.info\/assignments\/wp-content\/uploads\/2024\/10\/image-22.png\"><img loading=\"lazy\" decoding=\"async\" width=\"354\" height=\"931\" src=\"https:\/\/myassignmenthelp.info\/assignments\/wp-content\/uploads\/2024\/10\/image-22.png\" alt=\"\" class=\"wp-image-34415\" srcset=\"https:\/\/myassignmenthelp.info\/assignments\/wp-content\/uploads\/2024\/10\/image-22.png 354w, https:\/\/myassignmenthelp.info\/assignments\/wp-content\/uploads\/2024\/10\/image-22-114x300.png 114w\" sizes=\"auto, (max-width: 354px) 100vw, 354px\" \/><\/a><\/figure>\n\n\n\n<figure class=\"wp-block-image size-full\"><a href=\"https:\/\/myassignmenthelp.info\/assignments\/wp-content\/uploads\/2024\/10\/Capture-5.png\"><img loading=\"lazy\" decoding=\"async\" width=\"216\" height=\"290\" src=\"https:\/\/myassignmenthelp.info\/assignments\/wp-content\/uploads\/2024\/10\/Capture-5.png\" alt=\"\" class=\"wp-image-34416\"\/><\/a><\/figure>\n\n\n\n<figure class=\"wp-block-image size-full\"><a href=\"https:\/\/myassignmenthelp.info\/assignments\/wp-content\/uploads\/2024\/10\/image-23.png\"><img loading=\"lazy\" decoding=\"async\" width=\"354\" height=\"931\" src=\"https:\/\/myassignmenthelp.info\/assignments\/wp-content\/uploads\/2024\/10\/image-23.png\" alt=\"\" class=\"wp-image-34417\" srcset=\"https:\/\/myassignmenthelp.info\/assignments\/wp-content\/uploads\/2024\/10\/image-23.png 354w, https:\/\/myassignmenthelp.info\/assignments\/wp-content\/uploads\/2024\/10\/image-23-114x300.png 114w\" sizes=\"auto, (max-width: 354px) 100vw, 354px\" \/><\/a><\/figure>\n\n\n\n<p>Question 5: Ontology Development<\/p>\n\n\n\n<p>a) Class Hierarchy and Class Descriptions<\/p>\n\n\n\n<p>Class Hierarchy:<\/p>\n\n\n\n<p>Country: Represents countries, e.g., &#8220;United Kingdom.&#8221;<\/p>\n\n\n\n<p>City: Represents cities, e.g., &#8220;Edinburgh.&#8221;<\/p>\n\n\n\n<p>Landmark: Represents famous landmarks, e.g., &#8220;Edinburgh Castle.&#8221;<\/p>\n\n\n\n<p>Event: Represents major events, e.g., &#8220;Edinburgh Festival Fringe.&#8221;<\/p>\n\n\n\n<p>Institution: Describes institutions based in Edinburgh for instance \u201cUniversity of Edinburgh.\u201d<\/p>\n\n\n\n<p>Neighborhood: Stands for other areas in Edinburgh, for example \u201cOld town.\u201d<\/p>\n\n\n\n<p>Person: Referred to important people, for instance, \u201cCharles Darwin.\u201d<\/p>\n\n\n\n<p>Profession: Symbolizes the status of certain persons, for instance, \u201cBiologist.\u201d<\/p>\n\n\n\n<p>Location: A broader class that would encompass a place, including cities and landmarks or anything that can be a place.<\/p>\n\n\n\n<p>Cultural Entity: The general class for events and institutions.<\/p>\n\n\n\n<p>Class Descriptions:<\/p>\n\n\n\n<p>Country: It is a geopolitical representative. It is people like &#8220;United Kingdom.&#8221;.<\/p>\n\n\n\n<p>City: It contains names of major urban areas, such as &#8220;Edinburgh&#8221;, but is an individual.<\/p>\n\n\n\n<p>Landmark: Features include &#8216;Edinburgh Castle, Holyrood Palace, Arthur&#8217;s seat.&#8217;<\/p>\n\n\n\n<p>Event: Occur regularly as a cultural or a social activity (e.g. &#8216;Hogmanay&#8217; and &#8216;Royal Edinburgh Military Tattoo&#8217;).<\/p>\n\n\n\n<p>Institution: Educational or public service entity, e.g., &#8216;National Museum of Scotland.&#8217;<\/p>\n\n\n\n<p>Neighborhood: It represents smaller administrative or cultural areas in the city such as &#8216;New Town&#8217;.<\/p>\n\n\n\n<p>Person: For example, being something that represents a particular James Clerk Maxwell.<\/p>\n\n\n\n<p>Profession: Includes these professions like &#8220;Physicist&#8221; and &#8220;Author.&#8221;<\/p>\n\n\n\n<p>Location: A common hierarchy of both cities and landmarks to be used as a parent class.<\/p>\n\n\n\n<p>Cultural Entity: It is a parent class for custom events and institutions in capturing culturally significance..<\/p>\n\n\n\n<p>b) Object and Data Properties<\/p>\n\n\n\n<p>Object Properties:<\/p>\n\n\n\n<p>hasLandmark: Domain = City, Range = Landmark. This property links a city (e.g., Edinburgh) with its landmarks (e.g., Edinburgh Castle).<\/p>\n\n\n\n<p>hasEvent: Domain = City, Range = Event. This property links a city to events that take place there (e.g., Edinburgh Festival Fringe).<\/p>\n\n\n\n<p>hasInstitution: Domain = City, Range = Institution. This links a city to its institutions (e.g., University of Edinburgh).<\/p>\n\n\n\n<p>hasNeighborhood: Domain = City, Range = Neighborhood. This property associates a city with its neighborhoods (e.g., Leith).<\/p>\n\n\n\n<p>hasNotablePerson: Domain = City, Range = Person. This links a city to its notable people (e.g., Charles Darwin).<\/p>\n\n\n\n<p>hasProfession: Domain = Person, Range = Profession. This connects a notable person to their profession (e.g., Charles Darwin to Biologist).<\/p>\n\n\n\n<p>Data Properties:<\/p>\n\n\n\n<p>name: Domain = City, Landmark, Event, Institution, Person, Neighborhood; Range = String. This property stores the names of individuals, places, and events.<\/p>\n\n\n\n<p>yearEstablished: Domain = Institution, Event; Range = Integer. This property can be used to represent when an institution or event was established.<\/p>\n\n\n\n<p>c) Asserted Individuals<\/p>\n\n\n\n<p>The following individuals have been added to represent specific entities in the ontology:<\/p>\n\n\n\n<p>Individuals:<\/p>\n\n\n\n<p>Edinburgh:<\/p>\n\n\n\n<p>Class: City<\/p>\n\n\n\n<p>Relationships:<\/p>\n\n\n\n<p>hasLandmark: Edinburgh Castle, Holyrood Palace, Arthur\u2019s Seat<\/p>\n\n\n\n<p>hasEvent: Edinburgh Festival Fringe, Hogmanay, Royal Edinburgh Military Tattoo<\/p>\n\n\n\n<p>hasInstitution: University of Edinburgh, National Museum of Scotland, Edinburgh Public Library<\/p>\n\n\n\n<p>hasNeighborhood: Old Town, New Town, Leith<\/p>\n\n\n\n<p>hasNotablePerson: Charles Darwin, James Clerk Maxwell, J.K. Rowling<\/p>\n\n\n\n<p>Edinburgh Castle:<\/p>\n\n\n\n<p>Class: Landmark<\/p>\n\n\n\n<p>Property: name = &#8220;Edinburgh Castle&#8221;<\/p>\n\n\n\n<p>Charles Darwin:<\/p>\n\n\n\n<p>Class: Person<\/p>\n\n\n\n<p>Properties:<\/p>\n\n\n\n<p>hasProfession: Biologist<\/p>\n\n\n\n<p>J.K. Rowling:<\/p>\n\n\n\n<p>Class: Person<\/p>\n\n\n\n<p>Properties:<\/p>\n\n\n\n<p>hasProfession: Author<\/p>\n\n\n\n<p>Hogmanay:<\/p>\n\n\n\n<p>Class: Event<\/p>\n\n\n\n<p>Property: name = &#8220;Hogmanay&#8221;<\/p>\n\n\n\n<p>Old Town:<\/p>\n\n\n\n<p>Class: Neighborhood<\/p>\n\n\n\n<p>Property: name = &#8220;Old Town&#8221;<\/p>\n\n\n\n<p>These individuals are used to represent real-world entities, with relationships linking them back to Edinburgh through object properties.<\/p>\n\n\n\n<p>Question 6: Propositional Logic<\/p>\n\n\n\n<p>a)<\/p>\n\n\n\n<p>Propositional Symbols:<\/p>\n\n\n\n<p>Let p represent &#8220;The train is delayed.&#8221;<\/p>\n\n\n\n<p>Let q represent &#8220;I will be on time.&#8221;<\/p>\n\n\n\n<p>Propositional Logic:<\/p>\n\n\n\n<p>pVq<\/p>\n\n\n\n<p>(Either p or q is true.)<\/p>\n\n\n\n<p>b)<\/p>\n\n\n\n<p>Propositional Symbols:<\/p>\n\n\n\n<p>Let p represent &#8220;I will go for a walk.&#8221;<\/p>\n\n\n\n<p>Let q represent &#8220;It is raining.&#8221;<\/p>\n\n\n\n<p>Propositional Logic:<\/p>\n\n\n\n<p>p q<\/p>\n\n\n\n<p>c)<\/p>\n\n\n\n<p>Propositional Symbols:<\/p>\n\n\n\n<p>Let p represent &#8220;I study hard.&#8221;<\/p>\n\n\n\n<p>Let q represent &#8220;I will pass the exam.&#8221;<\/p>\n\n\n\n<p>Let r represent &#8220;I will get a good grade.&#8221;<\/p>\n\n\n\n<p>Propositional Logic:<\/p>\n\n\n\n<p>p(pq)<\/p>\n\n\n\n<p>(If p is true, then both q and r must be true.)<\/p>\n\n\n\n<p>d) Invalid Inference:<\/p>\n\n\n\n<p>pVq<\/p>\n\n\n\n<p>This inference is invalid because from the disjunction <img loading=\"lazy\" decoding=\"async\" src=\"\" width=\"37\" height=\"18\">&nbsp;(either p or q is true), you cannot conclude that both are true at the same time.<\/p>\n\n\n\n<p>Example:<\/p>\n\n\n\n<p>Let p represent &#8220;It is snowing.&#8221;<\/p>\n\n\n\n<p>Let q represent &#8220;The sun is shining.&#8221;<\/p>\n\n\n\n<p>Premises:<\/p>\n\n\n\n<p>&#8220;Either it is snowing or the sun is shining&#8221; <img loading=\"lazy\" decoding=\"async\" src=\"\" width=\"37\" height=\"18\">&nbsp;can be true if at least one of the conditions holds.<\/p>\n\n\n\n<p>Conclusion:<\/p>\n\n\n\n<p>The statement &#8220;It is snowing and the sun is shining&#8221; <img loading=\"lazy\" decoding=\"async\" src=\"\" width=\"37\" height=\"18\">&nbsp;is false because both cannot be true simultaneously.<\/p>\n\n\n\n<p>e) Invalid Inference:<\/p>\n\n\n\n<p>pq<\/p>\n\n\n\n<p>This inference is invalid because from the conditional <img loading=\"lazy\" decoding=\"async\" src=\"\" width=\"43\" height=\"18\">&nbsp;(if p then q), you cannot conclude the disjunction <img loading=\"lazy\" decoding=\"async\" src=\"\" width=\"37\" height=\"18\">&nbsp;(either p or q is true).<\/p>\n\n\n\n<p>Example:<\/p>\n\n\n\n<p>Let p represent &#8220;It is hot outside.&#8221;<\/p>\n\n\n\n<p>Let q represent &#8220;I will turn on the air conditioner.&#8221;<\/p>\n\n\n\n<p>Premises:<\/p>\n\n\n\n<p>The statement &#8220;If it is hot outside, I will turn on the air conditioner&#8221; <img loading=\"lazy\" decoding=\"async\" src=\"\" width=\"43\" height=\"18\">&nbsp;can be true.<\/p>\n\n\n\n<p>Conclusion:<\/p>\n\n\n\n<p>The statement &#8220;It is hot outside or I will turn on the air conditioner&#8221; <img loading=\"lazy\" decoding=\"async\" width=\"43\" height=\"18\" src=\"\">\u00a0can be false, because it may not be hot outside and I still choose not to turn on the air conditioner. Therefore, the disjunction <img loading=\"lazy\" decoding=\"async\" width=\"37\" height=\"18\" src=\"\">\u00a0does not necessarily follow.<\/p>\n\n\n<p><\/div><\/p>\n","protected":false},"excerpt":{"rendered":"","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[359],"tags":[],"class_list":["post-34404","post","type-post","status-publish","format-standard","hentry","category-education"],"_links":{"self":[{"href":"https:\/\/myassignmenthelp.info\/assignments\/wp-json\/wp\/v2\/posts\/34404","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/myassignmenthelp.info\/assignments\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/myassignmenthelp.info\/assignments\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/myassignmenthelp.info\/assignments\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/myassignmenthelp.info\/assignments\/wp-json\/wp\/v2\/comments?post=34404"}],"version-history":[{"count":1,"href":"https:\/\/myassignmenthelp.info\/assignments\/wp-json\/wp\/v2\/posts\/34404\/revisions"}],"predecessor-version":[{"id":34418,"href":"https:\/\/myassignmenthelp.info\/assignments\/wp-json\/wp\/v2\/posts\/34404\/revisions\/34418"}],"wp:attachment":[{"href":"https:\/\/myassignmenthelp.info\/assignments\/wp-json\/wp\/v2\/media?parent=34404"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/myassignmenthelp.info\/assignments\/wp-json\/wp\/v2\/categories?post=34404"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/myassignmenthelp.info\/assignments\/wp-json\/wp\/v2\/tags?post=34404"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}