39
B4M36SMU Second tutorial Monday 20 th February, 2017

B4M36SMU - Second tutorial

  • Upload
    others

  • View
    7

  • Download
    0

Embed Size (px)

Citation preview

Page 1: B4M36SMU - Second tutorial

B4M36SMUSecond tutorial

Monday 20th February, 2017

Page 2: B4M36SMU - Second tutorial

What the course will be about?

I How to design a rational agent — an agent maximizing theexpected utility.

I How such agent can learn from various types of experience.

Page 3: B4M36SMU - Second tutorial

Agent - PEAS description

[https://www.tutorialspoint.com/artificial_intelligence/artificial_intelligence_agents_and_environments.htm]

Page 4: B4M36SMU - Second tutorial

Example 1 - chess player PEAS description

I What is performance measure?

I Win/loose.

I What is environment?

I Chess board and chess pieces

I What are actuators?

I Player can do any valid move of his/her pieces.

I What are sensors?

I Anything that describes pieces location on the board.

Page 5: B4M36SMU - Second tutorial

Example 1 - chess player PEAS description

I What is performance measure?

I Win/loose.

I What is environment?

I Chess board and chess pieces

I What are actuators?

I Player can do any valid move of his/her pieces.

I What are sensors?

I Anything that describes pieces location on the board.

Page 6: B4M36SMU - Second tutorial

Example 1 - chess player PEAS description

I What is performance measure?

I Win/loose.

I What is environment?

I Chess board and chess pieces

I What are actuators?

I Player can do any valid move of his/her pieces.

I What are sensors?

I Anything that describes pieces location on the board.

Page 7: B4M36SMU - Second tutorial

Example 1 - chess player PEAS description

I What is performance measure?

I Win/loose.

I What is environment?

I Chess board and chess pieces

I What are actuators?

I Player can do any valid move of his/her pieces.

I What are sensors?

I Anything that describes pieces location on the board.

Page 8: B4M36SMU - Second tutorial

Example 1 - chess player PEAS description

I What is performance measure?

I Win/loose.

I What is environment?

I Chess board and chess pieces

I What are actuators?

I Player can do any valid move of his/her pieces.

I What are sensors?

I Anything that describes pieces location on the board.

Page 9: B4M36SMU - Second tutorial

Example 1 - chess player PEAS description

I What is performance measure?

I Win/loose.

I What is environment?

I Chess board and chess pieces

I What are actuators?

I Player can do any valid move of his/her pieces.

I What are sensors?

I Anything that describes pieces location on the board.

Page 10: B4M36SMU - Second tutorial

Example 1 - chess player PEAS description

I What is performance measure?

I Win/loose.

I What is environment?

I Chess board and chess pieces

I What are actuators?

I Player can do any valid move of his/her pieces.

I What are sensors?

I Anything that describes pieces location on the board.

Page 11: B4M36SMU - Second tutorial

Example 1 - chess player PEAS description

I What is performance measure?

I Win/loose.

I What is environment?

I Chess board and chess pieces

I What are actuators?

I Player can do any valid move of his/her pieces.

I What are sensors?

I Anything that describes pieces location on the board.

Page 12: B4M36SMU - Second tutorial

Example 2 - taxi driver

I Performance measure

I safe, fast, legal, comfortable, maximal profit

I Environment

I Road, other traffic, pedestrians, customer

I Actuators

I Steering, accelerator/brakes, signal, horn, . . .

I Sensors

I cameras, sonar, speedometer, GPS, accelerometer, enginesensor, . . .

Page 13: B4M36SMU - Second tutorial

Example 2 - taxi driver

I Performance measure

I safe, fast, legal, comfortable, maximal profit

I Environment

I Road, other traffic, pedestrians, customer

I Actuators

I Steering, accelerator/brakes, signal, horn, . . .

I Sensors

I cameras, sonar, speedometer, GPS, accelerometer, enginesensor, . . .

Page 14: B4M36SMU - Second tutorial

Example 2 - taxi driver

I Performance measure

I safe, fast, legal, comfortable, maximal profit

I Environment

I Road, other traffic, pedestrians, customer

I Actuators

I Steering, accelerator/brakes, signal, horn, . . .

I Sensors

I cameras, sonar, speedometer, GPS, accelerometer, enginesensor, . . .

Page 15: B4M36SMU - Second tutorial

Example 2 - taxi driver

I Performance measure

I safe, fast, legal, comfortable, maximal profit

I Environment

I Road, other traffic, pedestrians, customer

I Actuators

I Steering, accelerator/brakes, signal, horn, . . .

I Sensors

I cameras, sonar, speedometer, GPS, accelerometer, enginesensor, . . .

Page 16: B4M36SMU - Second tutorial

Example 2 - taxi driver

I Performance measure

I safe, fast, legal, comfortable, maximal profit

I Environment

I Road, other traffic, pedestrians, customer

I Actuators

I Steering, accelerator/brakes, signal, horn, . . .

I Sensors

I cameras, sonar, speedometer, GPS, accelerometer, enginesensor, . . .

Page 17: B4M36SMU - Second tutorial

Example 2 - taxi driver

I Performance measure

I safe, fast, legal, comfortable, maximal profit

I Environment

I Road, other traffic, pedestrians, customer

I Actuators

I Steering, accelerator/brakes, signal, horn, . . .

I Sensors

I cameras, sonar, speedometer, GPS, accelerometer, enginesensor, . . .

Page 18: B4M36SMU - Second tutorial

Example 2 - taxi driver

I Performance measure

I safe, fast, legal, comfortable, maximal profit

I Environment

I Road, other traffic, pedestrians, customer

I Actuators

I Steering, accelerator/brakes, signal, horn, . . .

I Sensors

I cameras, sonar, speedometer, GPS, accelerometer, enginesensor, . . .

Page 19: B4M36SMU - Second tutorial

Example 2 - taxi driver

I Performance measure

I safe, fast, legal, comfortable, maximal profit

I Environment

I Road, other traffic, pedestrians, customer

I Actuators

I Steering, accelerator/brakes, signal, horn, . . .

I Sensors

I cameras, sonar, speedometer, GPS, accelerometer, enginesensor, . . .

Page 20: B4M36SMU - Second tutorial

Example 3 - medical diagnosis system

?

Page 21: B4M36SMU - Second tutorial

Properties of the environment

I Fully observable vs. partially observable

I Single agent vs. multiagent

I Deterministic vs. stochastic

I Episodic vs. sequential

I Static vs. dynamic

I Discrete vs. continuous

I Known vs. unknown

I In the course we will go from easier cases to the harder ones.

Page 22: B4M36SMU - Second tutorial

Properties of the environment

I Fully observable vs. partially observable

I Single agent vs. multiagent

I Deterministic vs. stochastic

I Episodic vs. sequential

I Static vs. dynamic

I Discrete vs. continuous

I Known vs. unknown

I In the course we will go from easier cases to the harder ones.

Page 23: B4M36SMU - Second tutorial

Properties of the environment

I Fully observable vs. partially observable

I Single agent vs. multiagent

I Deterministic vs. stochastic

I Episodic vs. sequential

I Static vs. dynamic

I Discrete vs. continuous

I Known vs. unknown

I In the course we will go from easier cases to the harder ones.

Page 24: B4M36SMU - Second tutorial

Properties of the environment

I Fully observable vs. partially observable

I Single agent vs. multiagent

I Deterministic vs. stochastic

I Episodic vs. sequential

I Static vs. dynamic

I Discrete vs. continuous

I Known vs. unknown

I In the course we will go from easier cases to the harder ones.

Page 25: B4M36SMU - Second tutorial

Properties of the environment

I Fully observable vs. partially observable

I Single agent vs. multiagent

I Deterministic vs. stochastic

I Episodic vs. sequential

I Static vs. dynamic

I Discrete vs. continuous

I Known vs. unknown

I In the course we will go from easier cases to the harder ones.

Page 26: B4M36SMU - Second tutorial

Properties of the environment

I Fully observable vs. partially observable

I Single agent vs. multiagent

I Deterministic vs. stochastic

I Episodic vs. sequential

I Static vs. dynamic

I Discrete vs. continuous

I Known vs. unknown

I In the course we will go from easier cases to the harder ones.

Page 27: B4M36SMU - Second tutorial

Properties of the environment

I Fully observable vs. partially observable

I Single agent vs. multiagent

I Deterministic vs. stochastic

I Episodic vs. sequential

I Static vs. dynamic

I Discrete vs. continuous

I Known vs. unknown

I In the course we will go from easier cases to the harder ones.

Page 28: B4M36SMU - Second tutorial

Properties of the environment

I Fully observable vs. partially observable

I Single agent vs. multiagent

I Deterministic vs. stochastic

I Episodic vs. sequential

I Static vs. dynamic

I Discrete vs. continuous

I Known vs. unknown

I In the course we will go from easier cases to the harder ones.

Page 29: B4M36SMU - Second tutorial

Format of input knowledge in machine Learning

I Attribute - value data. Covered in A4B33RPZ. Example:Image recognition.

I Sequences. Example: Time series, text processing,bioinformatics.

I Trees. Example: Information retrieval from web pages.

I General graphs. Example: Drug discovery.

I First-order logical formulas. Example: Guiding automatedproof assistants.

Page 30: B4M36SMU - Second tutorial

Format of input knowledge in machine Learning

I Attribute - value data. Covered in A4B33RPZ. Example:Image recognition.

I Sequences. Example: Time series, text processing,bioinformatics.

I Trees. Example: Information retrieval from web pages.

I General graphs. Example: Drug discovery.

I First-order logical formulas. Example: Guiding automatedproof assistants.

Page 31: B4M36SMU - Second tutorial

Format of input knowledge in machine Learning

I Attribute - value data. Covered in A4B33RPZ. Example:Image recognition.

I Sequences. Example: Time series, text processing,bioinformatics.

I Trees. Example: Information retrieval from web pages.

I General graphs. Example: Drug discovery.

I First-order logical formulas. Example: Guiding automatedproof assistants.

Page 32: B4M36SMU - Second tutorial

Format of input knowledge in machine Learning

I Attribute - value data. Covered in A4B33RPZ. Example:Image recognition.

I Sequences. Example: Time series, text processing,bioinformatics.

I Trees. Example: Information retrieval from web pages.

I General graphs. Example: Drug discovery.

I First-order logical formulas. Example: Guiding automatedproof assistants.

Page 33: B4M36SMU - Second tutorial

Format of input knowledge in machine Learning

I Attribute - value data. Covered in A4B33RPZ. Example:Image recognition.

I Sequences. Example: Time series, text processing,bioinformatics.

I Trees. Example: Information retrieval from web pages.

I General graphs. Example: Drug discovery.

I First-order logical formulas. Example: Guiding automatedproof assistants.

Page 34: B4M36SMU - Second tutorial

Format of input knowledge in machine Learning

I Attribute - value data. Covered in A4B33RPZ. Example:Image recognition.

I Sequences. Example: Time series, text processing,bioinformatics.

I Trees. Example: Information retrieval from web pages.

I General graphs. Example: Drug discovery.

I First-order logical formulas. Example: Guiding automatedproof assistants.

Page 35: B4M36SMU - Second tutorial

Format of output of machine-learned models

I Classification

I Regression

I Structured prediction

Page 36: B4M36SMU - Second tutorial

Format of output of machine-learned models

I Classification

I Regression

I Structured prediction

Page 37: B4M36SMU - Second tutorial

Format of output of machine-learned models

I Classification

I Regression

I Structured prediction

Page 38: B4M36SMU - Second tutorial

Format of output of machine-learned models

I Classification

I Regression

I Structured prediction

Page 39: B4M36SMU - Second tutorial

Motivational demos

I Eve, the Robot Scientisthttps://mips-build.cs.kuleuven.be/eve-demo/

I Akinator, the Web Genius http://en.akinator.com/