CS 1150 – Lab #13 – Artificial Intelligence TA – Sanjaya Wijeratne – Web Page -

Slides:



Advertisements
Similar presentations
1 Knowledge Representation Introduction KR and Logic.
Advertisements

Over. new sound take only little work know.
1 CS 4396 Computer Networks Lab General Info. 2 Goal: This course aims at helping students get more insight into how the Internet works and gain hands.
CS 1150 – Lab #4 – Logic Circuits TA – Sanjaya Wijeratne – Web Page -
CS 1150 – Lab #15 – Networking TA – Sanjaya Wijeratne – Web Page -
CS 1150 – Lab #16A & 16B – HTML TA – Sanjaya Wijeratne – Web Page -
CS 1150 – Lab #16A & 16B – HTML TA – Sanjaya Wijeratne – Web Page -
CS 1150 – Lab #2 – Exploring Number Systems TA – Sanjaya Wijeratne – Web Page -
Registered Students: 1. Sign in, pick up a syllabus On the wait list to add? 1. Sign in 2. Add your name and address to the wait list 3. Please.
Introduction to Computer Programming I CSE 113
Computers and Society Lecture 1: administrative details and an introduction to the class Professor: Evan Korth New York University.
IT 240 Intro to Desktop Databases Introduction. About this course Design a database: Entity Relation (ER) modeling and normalization techniques Create.
Welcome to Introduction to Java Programming At J.D.O’Bryant Science & Mathematics Chonho Lee Department of Computer Science University of Massachusetts.
CS 232 Geometric Algorithms: Lecture 1 Shang-Hua Teng Department of Computer Science, Boston University.
CS 206 Introduction to Computer Science II 09 / 03 / 2008 Instructor: Michael Eckmann.
CS 232 Geometric Algorithms: Lecture 1 Shang-Hua Teng Department of Computer Science, Boston University.
OBJECT ORIENTED PROGRAMMING I LECTURE 1 GEORGE KOUTSOGIANNAKIS
Overview of C++ Chapter 2 in both books programs from books keycode for lab: get Program 1 from web test files.
Please open your laptops, log in to the MyMathLab course web site, and open Daily Quiz 16. IMPORTANT NOTE: If you have time left out of your five minutes.
CS 1150 – Lab #2 – Exploring Number Systems TA – Sanjaya Wijeratne – Web Page -
CS 1150 – JavaScript Programming Lab TA – Sanjaya Wijeratne – Web Page -
The Sentence & Its Parts
COP4020/CGS5426 Programming languages Syllabus. Instructor Xin Yuan Office: 168 LOV Office hours: T, H 10:00am – 11:30am Class website:
Computer Science 102 Data Structures and Algorithms V Fall 2009 Lecture 1: administrative details Professor: Evan Korth New York University 1.
CS 241 – Computer Programming II Lab Kalpa Gunaratna –
CS 1150 – JavaScript Programming Lab TA – Sanjaya Wijeratne – Web Page -
1 Please switch off your mobile phones. 2 Prolog: The Initiation ET: Hey Alice! What is this on your desk? Alice: That’s a digital computer. ET: Digital.
Turing Test and other amusements. Read this! The Actual Article by Turing.
CS1502 Formal Methods in Computer Science Lecture Notes 1 Course Information Introduction to Logic Part 1.
Welcome to CS 3260 Dennis A. Fairclough. Overview Course Canvas Web Site Course Materials Lab Assignments Homework Grading Exams Withdrawing from Class.
Lecture 1 Page 1 CS 111 Summer 2015 Introduction CS 111 Operating System Principles.
CS 1150 – Lab #3 – Representing Numbers TA – Sanjaya Wijeratne – Web Page -
CST 229 Introduction to Grammars Dr. Sherry Yang Room 213 (503)
1 Introduction to Physics 260 Dr. Phil Womble Applied Physics Institute Office Hours: MWF 8-5, TR 1-5 API.
Welcome to Physics 1403!!. Class Web Page! There, you can find: 1. Posted (MS Word format): Syllabus,
CS1201: Programming Language 2 C++(Course Introduction) Level 2 Nouf Aljaffan 1 st Term Nouf Aljaffan (C) CSC 1201 Course at KSU.
CSCI 51 Introduction to Computer Science Dr. Joshua Stough January 20, 2009.
Welcome to CS 115! Introduction to Programming. Class URL Write this down!
Game Design LIVE Class Session 01/12/2012. Agenda for LIVE Class Weekly road map Review of basic course information Review of key course information and.
Computer Science 102 Data Structures and Algorithms CSCI-UA.0102 Fall 2012 Lecture 1: administrative details Professor: Evan Korth New York University.
Welcome to CSCI 230/B279 Computing I Spring 2004 Dale Roberts, Lecturer Department of Computer and Information Science IUPUI.
Artificial Intelligence Programming in Prolog Lecture 1: An Introduction 23/09/04.
Programming In Perl CSCI-2230 Thursday, 2pm-3:50pm Paul Lalli - Instructor.
Please get out your completed 8.2B Graphing Worksheet 2 and pass it to the center aisle to be collected by the TA.
Lecture 1 Page 1 CS 111 Summer 2013 Introduction CS 111 Operating System Principles Peter Reiher.
Welcome to CSCI 230/B377 Computing I Fall 2003 Dale Roberts, Lecturer Department of Computer and Information Science IUPUI.
CS 1150 – Lab #3 – Representing Numbers TA – Sanjaya Wijeratne – Web Page -
Introduction to ECE 2401 Data Structure Fall 2005 Chapter 0 Chen, Chang-Sheng
CS 1150 – Lab #8 – Using Algorithms for Painting TA – Sanjaya Wijeratne – Web Page -
ICS202 Data Structures King Fahd University of Petroleum & Minerals College of Computer Science & Engineering Information & Computer Science Department.
COP4610/CGS5765 Operating Systems Syllabus. Instructor Xin Yuan Office: 168 LOV Office hours: W M F 9:10am – 10:00am, or by appointments.
DAY 4: EXCEL CHAPTER 1 Sravanthi Lakkimsetty Aug 26,2015.
Winter 2016CMPE212 - Prof. McLeod1 CMPE212 Object Oriented Programming for Engineers Course Web Site: Lecture.
Data Structures and Algorithms in Java AlaaEddin 2012.
CS 1150 – Lab #12B – Databases TA – Sanjaya Wijeratne – Web Page -
1 CS 4396 Computer Networks Lab General Info. 2 Goal: This course aims at helping students get more insight into how the Internet works and gain hands.
Computer Networks CNT5106C
1 Welcome to KU 121 Unit 8 Seminar Louisa Fordyce IM user ID: LRFordyce Office Hours by appointment.
1 Computer Science 1021 Programming in Java Geoff Draper University of Utah.
Introduction to Criminology Crim Opening Day.
Welcome to MT140 Introduction to Management Unit 1 Seminar – Introduction to Management.
CS 201 Accelerated Introduction to Computer Science LECTURE 1 GEORGE KOUTSOGIANNAKIS 1 Copyright: FALL 2016 Illinois Institute of Technology/ George Koutsogiannakis.
CS 1150 – Lab #4 – Logic Circuits TA – Sanjaya Wijeratne – Web Page -
CS 1150 – Lab #8 – Using Algorithms for Painting
Direct and Indirect objects
CS5040: Data Structures and Algorithms
Computer Science 102 Data Structures CSCI-UA
Welcome to CS220/MATH 320 – Applied Discrete Mathematics Fall 2018
Accelerated Introduction to Computer Science
CS 232 Geometric Algorithms: Lecture 1
Presentation transcript:

CS 1150 – Lab #13 – Artificial Intelligence TA – Sanjaya Wijeratne – Web Page -

TA Labs, Office Hours Laboratory Polices Lab Hours 2:30 PM - 4:20 PM, Monday at Room Oelman Hall TA Office Hours 4:45 PM - 5:45 PM, Monday at Room Russ Engineer Center By appointment – Please to Refer to CS 1150 Course Syllabus for Class and Laboratory Policies Zero tolerance policy for Academic Misconduct – All parties will get 0% marks 2CS 1150 – Lab 13 – Artificial Intelligence

Lab # 13 Overview Learn how semantic networks and rule-based natural language systems can simulate intelligent behavior Answer all questions in Exercises 1 and 2 Lab #13 Due Date – Apr 7, :55 AM CS 1150 – Lab 13 – Artificial Intelligence3

How to Submit Lab #13 Hard copy (Preferred) When you complete, hand it over to me Pilot Go to Pilot Course Page and Use Dropbox Submission Link to upload your files My Mailbox at CS Department Go to CS Department Front Desk and ask them to put your assignment in my mailbox – Please write my name on your assignment (TA – CS 1150 – Sanjaya Wijeratne) 4CS 1150 – Lab 13 – Artificial Intelligence

Introduction to Semantic Networks CS 1150 – Lab 13 – Artificial Intelligence5 Knowledge is represented as a set of concepts that are connected by different relationships among them. Nodes = Concepts Arcs = Relationships Graph = Semantic Network

Inheritance and Instantiation CS 1150 – Lab 13 – Artificial Intelligence6 Instantiation – X is an INSTANCE of Y if X is a specific example of the general concept Y. Eg – Mary is a Woman (Woman is a General Concept and Mary is an example of a Woman) Inheritance – X ISA Y if X and Y both are general concepts and X is a subset of the more general concept Y. Eg – Woman is a Human (Humans are consist of Men and Women and Woman is a subset of Human)

Building Semantic Networks CS 1150 – Lab 13 – Artificial Intelligence7 Mary Woman Human Animal Food Man Mammal Hair Place is-a instance-of eats moves Skin has is-a

Close World and Open World Assumptions CS 1150 – Lab 13 – Artificial Intelligence8 Close World Assumption – What is not currently known to be true is false Anything that is not in our Semantic Network is false. Open World Assumption – Truth-value of a statement is independent of whether or not it is known by an observer to be true Anything that is not in our Semantic Network, we cannot say that they are true or false.

Rule Patterns Supported by the Applet CS 1150 – Lab 13 – Artificial Intelligence9 noun isa noun Eg – Mary is a woman noun verb Eg – Animal moves noun verb object Eg – Animal eats food noun’s noun verb object

How Deduction Works - Woman eats food?? CS 1150 – Lab 13 – Artificial Intelligence10 Rules We Have R1 – woman isa human R2 – human isa animal R3 – animal eats food Deduction human isa animal (R2) and animal eats food (R3), therefore: human eats food (I1) woman isa human (R1) and human eats food (I1), therefore: woman eats food (I2)

Eliza Therapist Applet CS 1150 – Lab 13 – Artificial Intelligence11 Read the rules $ is used to define variables Eg - $0 is the first variable Variables are single words * - More than one word

How Eliza Therapist Applet Works? CS 1150 – Lab 13 – Artificial Intelligence12 Eliza turns what you type into a question merely by appending a question mark to the statement and switching the pronouns, as shown below: What would you do if you want to use a variable to replace mother? How would Eliza turns it to a question?

Writing Rules for Eliza Therapist CS 1150 – Lab 13 – Artificial Intelligence13 Rules takes the form pattern=>response Eg.1 – I have a problem=>What kind of problem? Eg.2 – I hate my $0 *=>Tell me more about your $0. Variables can appear in pattern part and response part both (See Eg.2) To match more than one word for a variable, surround the variable with an asterisk and parentheses *($0)=>$0 ? Eg.3 – *($0) usually believe *($1)=>Do $0 usually believe $1 ?

Writing Rules for Eliza Therapist Cont. CS 1150 – Lab 13 – Artificial Intelligence14 Forbid the matching of some words, use / with variable Eg – $0/You are $1=>Do you really believe that $0 are $1 ? This rule tries to match a sentence that has “are” as the second word, but the first word cannot be You. Limitations of Eliza Therapist Applet Program Doesn’t know about English grammar rules Cannot recognize uppercase and lowercase words as essentially the same word

Additional Help CS 1150 – Lab 13 – Artificial Intelligence15 Chapter 13 of Course Text Book – Artificial Intelligence

Questions ? If you have questions, please raise your hand, Colin or I will come to help you CS 1150 – Lab 13 – Artificial Intelligence16