Docsity

Assignment 1 - tdt4136, Assignments of Artificial Intelligence

Toggle sidebar
bg1
1. Artificial Intelligence definitions:
a. Artificial intelligence leverages computers and machines to mimic the
problemsolving and decision-making capabilities of the human mind
1
.
b. The ability of machines to perform tasks that are typically associated with human
intelligence, such as learning and problem-solving
2
.
c. The term ā€˜artificial intelligence’ means a machine-based system that can, for a
given set of human-defined objectives, make predictions, recommendations or
decisions influencing real or virtual environments
3
.
2. Person A is having a conversation with subject B and C, where one of the two are a real
person, while the other is AI. If person A does not distinguish the answers from the two
subjects, the AI passes the Turing test. This tests the ability of the AI to demonstrate
intelligent behavior, like a human being.
3. Rational thinking is using logic. Acting rationally is acting by the rational thinking.
Rational thinking is not an absolute condition for acting rationally, since there is not
always enough time for excessive thinking about how one should act. For example,
removing your hand when you accidentally touch something hot.
4. Aristotle believed knowledge was crucial in guiding how one should act. This argument
can be implemented by updating the AI’s knowledge and make it capable of learning
from past actions to continue to improve.
a. Allen Newell, Herbert A. Simon, and Cliff Shaw.
b. They created the first program made to perform automated reasoning, and
therefore can be called the first AI program, named ā€œLogic Theoristā€. 4
5. Q: While crossing the road, an elk crashes into the robot and smashes it. Is the robot
rational?
A: Yes, because there is no way to predict such a thing happening.
1
https://www.ibm.com/topics/artificial-intelligence
2
https://en.wikipedia.org/wiki/Artificial_intelligence
3
https://www.state.gov/artificial-intelligence/
4
https://en.wikipedia.org/wiki/Logic_Theorist#:~:text=Logic%20Theorist%20is%20a%20computer,the%20first%20ar
tificial%20intelligence%20program".
pf3
pf4

Partial preview of the text

Download Assignment 1 - tdt4136 and more Assignments Artificial Intelligence in PDF only on Docsity!

  1. Artificial Intelligence definitions: a. Artificial intelligence leverages computers and machines to mimic the problemsolving and decision-making capabilities of the human mind^1. b. The ability of machines to perform tasks that are typically associated with human intelligence, such as learning and problem-solving^2. c. The term ā€˜artificial intelligence’ means a machine-based system that can, for a given set of human-defined objectives, make predictions, recommendations or decisions influencing real or virtual environments^3.
  2. Person A is having a conversation with subject B and C, where one of the two are a real person, while the other is AI. If person A does not distinguish the answers from the two subjects, the AI passes the Turing test. This tests the ability of the AI to demonstrate intelligent behavior, like a human being.
  3. Rational thinking is using logic. Acting rationally is acting by the rational thinking. Rational thinking is not an absolute condition for acting rationally, since there is not always enough time for excessive thinking about how one should act. For example, removing your hand when you accidentally touch something hot.
  4. Aristotle believed knowledge was crucial in guiding how one should act. This argument can be implemented by updating the AI’s knowledge and make it capable of learning from past actions to continue to improve. a. Allen Newell, Herbert A. Simon, and Cliff Shaw. b. They created the first program made to perform automated reasoning, and therefore can be called the first AI program, named ā€œLogic Theoristā€. 4
  5. Q: While crossing the road, an elk crashes into the robot and smashes it. Is the robot rational? A: Yes, because there is no way to predict such a thing happening. (^1) https://www.ibm.com/topics/artificial-intelligence (^2) https://en.wikipedia.org/wiki/Artificial_intelligence (^3) https://www.state.gov/artificial-intelligence/ 4 https://en.wikipedia.org/wiki/Logic_Theorist#:~:text=Logic%20Theorist%20is%20a%20computer,the%20first%20ar tificial%20intelligence%20program".

Q: While crossing the road on a green light, a passing car drives into the robot and crashes, preventing the robot from crossing to the other side. Is the robot rational? A: This depends on if the light green for the car, or the robot. If the light was green for the robot, it is rational. If the light was green for the car on the other hand, it is not rational.

  1. Q: Could a simple reflex agent be rational for this environment? Why? A: It could almost be rational, but it will not stop moving after cleaning. Q: Could a reflex agent with state be rational in this environment? Why? A: Yes, it would be rational since it tracks previous states and therefore know how it’s actions affect the environment and will stop after everything is clean. Q: Assume now that the simple reflex agent (i.e., with no internal state) can perceive the clean status of both locations at the same time. Could this agent be rational? Why? In case it could be rational, write the agent function using mathematical notation or a table. A: The agent would know what rational action to take in the different scenarios, since it knows the status of both areas. The agent function could look like this: Def agent_Function(): if percept = rightDirty: if rightWall: suck() else: rightMove elif percept = leftDirty: leftWall: suck() else: leftMove elif percept = bothClean: wait()
  2. Episodic:

action it is about to take and evaluates how ā€œhappyā€ it will be after the action is executed.