43 Pages

PPT Chap 11

Course: COSC 105, Fall 2009
School: IUP
Rating:
 
 
 
 
 

Word Count: 979

Document Preview

11: Chapter Artificial Intelligence Computer Science: An Overview Tenth Edition by J. Glenn Brookshear Copyright 2008 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Chapter 11: Artificial Intelligence 11.1 Intelligence and Machines 11.2 Perception 11.3 Reasoning 11.4 Additional Areas of Research 11.5 Artificial Neural Networks 11.6 Robotics 11.7 Considering the Consequences 11-2 Copyright...

Register Now

Unformatted Document Excerpt

Coursehero >> Pennsylvania >> IUP >> COSC 105

Course Hero has millions of student submitted documents similar to the one
below including study guides, practice problems, reference materials, practice exams, textbook help and tutor support.

Course Hero has millions of student submitted documents similar to the one below including study guides, practice problems, reference materials, practice exams, textbook help and tutor support.
11: Chapter Artificial Intelligence Computer Science: An Overview Tenth Edition by J. Glenn Brookshear Copyright 2008 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Chapter 11: Artificial Intelligence 11.1 Intelligence and Machines 11.2 Perception 11.3 Reasoning 11.4 Additional Areas of Research 11.5 Artificial Neural Networks 11.6 Robotics 11.7 Considering the Consequences 11-2 Copyright 2008 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Intelligent Agents Agent: A "device" that responds to stimuli from its environment Sensors Actuators Much of the research in artificial intelligence can be viewed in the context of building agents that behave intelligently Copyright 2008 Pearson Education, Inc. Publishing as Pearson Addison-Wesley 11-3 Levels of Intelligent Behavior Reflex: actions are predetermined responses to the input data More intelligent behavior requires knowledge of the environment and involves such activities as: Goal seeking Learning Copyright 2008 Pearson Education, Inc. Publishing as Pearson Addison-Wesley 11-4 Figure 11.1 The eight-puzzle in its solved configuration Copyright 2008 Pearson Education, Inc. Publishing as Pearson Addison-Wesley 11-5 Figure 11.2 Our puzzle-solving machine Copyright 2008 Pearson Education, Inc. Publishing as Pearson Addison-Wesley 11-6 Approaches to Research in Artificial Intelligence Engineering track Performance oriented Theoretical track Simulation oriented Copyright 2008 Pearson Education, Inc. Publishing as Pearson Addison-Wesley 11-7 Turing Test Test setup: Human interrogator communicates with test subject by typewriter. Test: Can the human interrogator distinguish whether the test subject is human or machine? Copyright 2008 Pearson Education, Inc. Publishing as Pearson Addison-Wesley 11-8 Techniques for Understanding Images Template matching Image processing edge enhancement region finding smoothing Image analysis Copyright 2008 Pearson Education, Inc. Publishing as Pearson Addison-Wesley 11-9 Language Processing Syntactic Analysis Semantic Analysis Contextual Analysis Copyright 2008 Pearson Education, Inc. Publishing as Pearson Addison-Wesley 11-10 Figure 11.3 A semantic net Copyright 2008 Pearson Education, Inc. Publishing as Pearson Addison-Wesley 11-11 Components of a Production Systems 1. Collection of states Start (or initial) state Goal state (or states) 2. Collection of productions: rules or moves Each production may have preconditions 3. Control system: decides which production to apply next Copyright 2008 Pearson Education, Inc. Publishing as Pearson Addison-Wesley 11-12 Reasoning by Searching State Graph: All states and productions Search Tree: A record of state transitions explored while searching for a goal state Breadth-first search Depth-first search Copyright 2008 Pearson Education, Inc. Publishing as Pearson Addison-Wesley 11-13 Figure 11.4 A small portion of the eight-puzzle's state graph Copyright 2008 Pearson Education, Inc. Publishing as Pearson Addison-Wesley 11-14 Figure 11.5 Deductive reasoning in the context of a production system Copyright 2008 Pearson Education, Inc. Publishing as Pearson Addison-Wesley 11-15 Figure 11.6 An unsolved eight-puzzle Copyright 2008 Pearson Education, Inc. Publishing as Pearson Addison-Wesley 11-16 Figure 11.7 A sample search tree Copyright 2008 Pearson Education, Inc. Publishing as Pearson Addison-Wesley 11-17 Figure 11.8 Productions stacked for later execution Copyright 2008 Pearson Education, Inc. Publishing as Pearson Addison-Wesley 11-18 Heuristic Strategies Heuristic: A "rule of thumb" for making decisions Requirements for good heuristics Must be easier to compute than a complete solution Must provide a reasonable estimate of proximity to a goal Copyright 2008 Pearson Education, Inc. Publishing as Pearson Addison-Wesley 11-19 Figure 11.9 An unsolved eight-puzzle Copyright 2008 Pearson Education, Inc. Publishing as Pearson Addison-Wesley 11-20 Figure 11.10 An algorithm a for control system using heuristics Copyright 2008 Pearson Education, Inc. Publishing as Pearson Addison-Wesley 11-21 Figure 11.11 The beginnings of our heuristic search Copyright 2008 Pearson Education, Inc. Publishing as Pearson Addison-Wesley 11-22 Figure 11.12 The search tree after two passes Copyright 2008 Pearson Education, Inc. Publishing as Pearson Addison-Wesley 11-23 Figure 11.13 The search tree after three passes Copyright 2008 Pearson Education, Inc. Publishing as Pearson Addison-Wesley 11-24 Figure 11.14 The complete search tree formed by our heuristic system Copyright 2008 Pearson Education, Inc. Publishing as Pearson Addison-Wesley 11-25 Handling Real-World Knowledge Representation and storage Accessing relevant information Meta-Reasoning Closed-World Assumption Frame problem Copyright 2008 Pearson Education, Inc. Publishing as Pearson Addison-Wesley 11-26 Learning Imitation Supervised Training Reinforcement Evolutionary Techniques Copyright 2008 Pearson Education, Inc. Publishing as Pearson Addison-Wesley 11-27 Artificial Neural Networks Artificial Neuron Each input is multiplied by a weighting factor. Output is 1 if sum of weighted inputs exceeds the threshold value; 0 otherwise. Network is programmed by adjusting weights using feedback from examples. Copyright 2008 Pearson Education, Inc. Publishing as Pearson Addison-Wesley 11-28 Figure 11.15 A neuron in a living biological system Copyright 2008 Pearson Education, Inc. Publishing as Pearson Addison-Wesley 11-29 Figure 11.16 The activities within a processing unit Copyright 2008 Pearson Education, Inc. Publishing as Pearson Addison-Wesley 11-30 Figure 11.17 Representation of a processing unit Copyright 2008 Pearson Education, Inc. Publishing as Pearson Addison-Wesley 11-31 Figure 11.18 A neural network with two different programs Copyright 2008 Pearson Education, Inc. Publishing as Pearson Addison-Wesley 11-32 Figure 11.19 An artificial neural network Copyright 2008 Pearson Education, Inc. Publishing as Pearson Addison-Wesley 11-33 Figure 11.20 Training an artificial neural network Copyright 2008 Pearson Education, Inc. Publishing as Pearson Addison-Wesley 11-34 Figure 11.20 Training an artificial neural network (continued) Copyright 2008 Pearson Education, Inc. Publishing as Pearson Addison-Wesley 11-35 Figure 11.20 Training an artificial neural network (continued) Copyright 2008 Pea...

Find millions of documents on Course Hero - Study Guides, Lecture Notes, Reference Materials, Practice Exams and more. Course Hero has millions of course specific materials providing students with the best way to expand their education.

Below is a small sample set of documents:

IUP - COSC - 427
Indiana University of Pennsylvania (IUP)Computer Science DepartmentCourse Syllabus Course:Textbook:COSC 427 Cryptography"Introduction to Cryptography with Coding Theory" by Wade Trappe and Lawrence Washington, Prentice Hall, 2002, ISBN #0-13-0
George Mason - CS - 672
A Framework for QoS-Aware Software ComponentsDaniel A. Menasc menasce@cs.gmu.edu Honglei Ruan hruan@cs.gmu.edu Hassan Gomaa hgomaa@ise.gmu.edu George Mason University, Fairfax, VA 22030 2004 D. A . Menasc. All Rights Reserved.1MotivationqChar
George Mason - EC - 512
.NET Technology and DemoDr. Ranjan K Sen Academic Developer Evangelist Microsoft CorporationWhy .NET Software to be built using components from various sources Software no longer created by single expert in isolation Applications not built from
Mississippi State - MKT - 212
Mississippi State - MKT - 212
Want a Keepsake for Your Favorite Daycare?Purchase Your Specialized Products HERE!Choose your color and logo! Available Colors:Blue Lime Green Pink YellowOrangeRedWhite
CSU Fullerton - DBP - 830
SQL> clear screenSQL> select count(*) 2 from emp 3 where deptno = 10; COUNT(*) -
CSU Fullerton - DBL - 526
declarevar1 varchar2(15) default 'outter1';var2 varchar2(15) default 'outter2';begindbms_output.put_line('var1 is '|var1);dbms_output.put_line('var2 is '|var2);declarevar1 varchar2(15) := 'inner1';-var2 varchar2(15) default 'inner2'
CSU Fullerton - DBL - 526
Student Student_ID 1 2 Enrollment Student_ID 1 1 1 Score Student_ID 1 1 1 1Course First_Name Gregory Dave Section_ID 1 3 5 Quiz_ID 1 2 3 4 Last_Name Daveson Cattran Enrollment_Date 04-Jan-01 04-Jan-01 04-Jan-01 Score 10 30 17 33 Course_ID 1 2 3 Sec
CSU Fullerton - IPC - 144
example 1#include <stdio.h>/arraysvoid main(void){/defining arraysint a[5],i,j;for (i=0; i < 5; i+){printf("Enter element No %d ",i+1);scanf("%d",&a[i]);}for (j=0; j < 5; j+)printf("Element %d has the value %d\n",j+1,a[j]);
CSU Fullerton - DBL - 526
create or replaceprocedure enroll_student(v_student_id student.student_id%type,v_section_id section.section_id%type)isv_count number;num_of_prereqs number;prereqs_taken number;beginif ((v_student_id is not null) and(v_
CSU Fullerton - IPC - 144
example 1#include <stdio.h>void main (void){/*Multi dimension arrays*/int a [2][2];int b [2][2];int c [2][2];int i,j;for (i=0; i<2; i+)for(j=0; j<2; j+){printf("Enter element a%d,%d ",i+1,j+1);scanf("%d",&a[i][j]);}
CSU Fullerton - DBL - 526
create or replaceprocedure enroll_student(v_student_id student.student_id%type,v_section_id section.section_id%type)isv_count number;num_of_prereqsnumber;prereqs_takennumber;beginif((v_student_id is not null) and(v_section_
CSU Fullerton - DBP - 830
Types of Blocks1. Anonymous - have no name - can be embedded in host languages like C/C+, Cobol - can be a part of a procedure or a function - can update, delete or insert records in a table - does not return a value - does not hav
CSU Fullerton - DBL - 526
Student Student_ID 1 2 Enrollment Student_ID 1 1 Score Student_ID 1 1 1 1 PreReq Course_Id 3First_Name Gregory Dave Section_ID 1 3Last_Name Daveson Cattran Enrollment_Date 04-Sep-00 04-Sep-00Course Course_ID 1 2 3 Section Section_ID 1 2 3 4 5 Q
CSU Fullerton - DBL - 526
create or replaceprocedure GPA( v_student_id score.student_id%type)is v_gpa number; v_count number;begin if (v_student_id is not null) then Select count(*) into v_count from student where student_id =
CSU Fullerton - IPC - 144
example 1#include<stdio.h>#include<malloc.h>/*we need to create a function whichadds two integer arrays and give us a anotherarray whoes elements are the sum of corresponding element of the two arrays*/int * addIntegerArrays(int *array1, int
CSU Fullerton - DBP - 830
SQL> select object_name, object_type from user_objects;OBJECT_NAME -OBJECT_TYPE
CSU Fullerton - DBL - 526
Cursors- Implicit- ExplicitCursor is a table created in memory to access multiple recordsSteps to Create a cursor1. Definition of the CursorCursor name_of_cursor is Query2. Open a cursorOpen name_of_cursor3. Fetch rows from the cursorF
CSU Fullerton - DBL - 526
create or replacefunction Average_Marks( v_student_id score.student_id%type)return numberis v_total_marks number default 0; v_total_score number default 0;begin select sum(maximum_marks) into v_total_marks from quiz wh
CSU Fullerton - DBP - 830
Private Sub Form_Load() Dim MyConnection As ADODB.Connection Set MyConnection = New ADODB.Connection 'Dim MyConnection2 As New ADODB.Connection Dim connectString As String connectString = "Provider=MSDAORA.1;" & _
CSU Fullerton - DBL - 526
create or replaceprocedure insert_score(v_student_id score.student_id%type,v_quiz_id score.quiz_id%type,v_score score.score%type)is v_count number not null default 0; v_maximum_marks quiz.maximum_marks%type not null default 0;be
CSU Fullerton - DBL - 526
create or replaceprocedure GPA( v_student_id score.student_id%type)is v_gpa number; v_count number;begin if (v_student_id is not null) then Select count(*) into v_count from student where student_id =
CSU Fullerton - DBP - 830
import java.sql.*; / this package should be imported for manipulating relational databasespublic class DbConnect2{private Connection MyConnection;/Connection is an interface which cannot be instantiated/used to create an object that refers to
CSU Fullerton - DBL - 526
select count(prereq_id)from prereqwhere course_id =(select course_idfrom sectionwhere section_id = 5)/select count(course_id)from section s, enrollment ewhere s.section_id = e.section_id and student_id = 1 and
CSU Fullerton - DBL - 526
Anonynous BlockBegindbms_output.put_line('Welcome to PL/SQL');End;Declare var1 number(5) not null default 18; var2 number(6) not null default 10;Begindbms_output.put_line('Sum of the two variables is '|(var1+var2);End;Declarevar1
CSU Fullerton - DBL - 526
declarevar1 varchar2(15) default 'outter1';var2 varchar2(15) default 'outter2';begindbms_output.put_line('var1 is '|var1);dbms_output.put_line('var2 is '|var2);declarevar1 varchar2(15) := 'inner1';-var2 varchar2(15) default 'inner2'
CSU Fullerton - DBL - 526
select count(prereq_id)from prereqwhere course_id =(select course_idfrom sectionwhere section_id = 5)/select count(course_id)from section s, enrollment ewhere s.section_id = e.section_id and student_id = 1 and
CSU Fullerton - DBL - 526
create or replaceprocedure enroll_student(v_student_id student.student_id%type,v_section_id section.section_id%type)isv_count number;num_of_prereqs number;prereqs_taken number;beginif ((v_student_id is not null) and(v_
CSU Fullerton - DBL - 526
create or replaceprocedure enroll_student(v_student_id student.student_id%type,v_section_id section.section_id%type)isv_count number;num_of_prereqsnumber;prereqs_takennumber;beginif((v_student_id is not null) and(v_section_
CSU Fullerton - DBL - 526
Student Student_ID 1 2 Enrollment Student_ID 1 1 1 Score Student_ID 1 1 1 1Course First_Name Gregory Dave Section_ID 1 3 5 Quiz_ID 1 2 3 4 Last_Name Daveson Cattran Enrollment_Date 04-Jan-01 04-Jan-01 04-Jan-01 Score 10 30 17 33 Course_ID 1 2 3 Sec
CSU Fullerton - DBL - 526
Anonynous BlockBegindbms_output.put_line('Welcome to PL/SQL');End;Declare var1 number(5) not null default 18; var2 number(6) not null default 10;Begindbms_output.put_line('Sum of the two variables is '|(var1+var2);End;Declarevar1