Week 5 - Friday CS 113.

Slides:



Advertisements
Similar presentations
Turing’s Test, Searle’s Objection
Advertisements

A8 – Control Structures if, if-else, switch Control of flow in Java Any sort of complex program must have some ability to control flow.
Artificial intelligence. I believe that in about fifty years' time it will be possible, to programme computers, with a storage capacity of about 10.
Artificial Intelligence
Shailesh Appukuttan : M.Tech 1st Year CS344 Seminar
Artificial Intelligence
CS190/295 Programming in Python for Life Sciences: Lecture 1 Instructor: Xiaohui Xie University of California, Irvine.
Alan Turing In 1950 asked - Can Machines Think? Turing changed that into the Turing Test “Can Computers Understand Language?” would have been.
CSCI 4410 Introduction to Artificial Intelligence.
Artificial Intelligence Introduction (2). What is Artificial Intelligence ?  making computers that think?  the automation of activities we associate.
Chapter 14: Artificial Intelligence Invitation to Computer Science, C++ Version, Third Edition.
Turing Test and other amusements. Read this! The Actual Article by Turing.
Invitation to Computer Science, Java Version, Second Edition.
Introduction to Programming Peggy Batchelor.
Artificial Intelligence Introductory Lecture Jennifer J. Burg Department of Mathematics and Computer Science.
Philosophy “ Artificial Intelligence ”. Artificial Intelligence Questions!!! What is consciousness? What is consciousness? What is mind? What is mind?
How Solvable Is Intelligence? A brief introduction to AI Dr. Richard Fox Department of Computer Science Northern Kentucky University.
Introduction to Machine Learning Kamal Aboul-Hosn Cornell University Chess, Chinese Rooms, and Learning.
Section 2.3 I, Robot Mind as Software McGraw-Hill © 2013 McGraw-Hill Companies. All Rights Reserved.
Complexity & Computability. Limitations of computer science  Major reasons useful calculations cannot be done:  execution time of program is too long.
September 7, 2004ICP: Chapter 3: Control Structures1 Introduction to Computer Programming Chapter 3: Control Structures Michael Scherger Department of.
ARTIFICIAL INTELLIGENCE include people, procedures, hardware, software, data and knowledge needed to develop computer systems and machines that demonstrated.
Artificial Intelligence Skepticism by Josh Pippin.
Uses and Limitations Fall 2013 COMP3710 Artificial Intelligence Computing Science Thompson Rivers University.
Overview of Artificial Intelligence (1) Artificial intelligence (AI) Computers with the ability to mimic or duplicate the functions of the human brain.
PROBLEM SOLVING WARM-UP Fill in the spaces using any operation to solve the following (!, (), -/+,÷,×): = 6.
GCSE COMPUTER SCIENCE Practical Programming using Python Lesson 4 - Selection.
Chapter 1: Introduction to Computer Science and Media Computation.
Creativity of Algorithms & Simple JavaScript Commands
Collision Theory and Logic
JavaScript/ App Lab Programming:
GCSE COMPUTER SCIENCE Practical Programming using Python
Software Development.
CSE202: Introduction to Formal Languages and Automata Theory
Collision Theory and Logic
Making Choices with if Statements
COMP3710 Artificial Intelligence Thompson Rivers University
PHILOSOPHY 100 (Ted Stolze)
Programming Mehdi Bukhari.
Announcements Homework 6 due Friday 11:59pm.
Algorithm and Ambiguity
New Horizon College English II
CS190/295 Programming in Python for Life Sciences: Lecture 1
Artificial Intelligence
Creativity in Algorithms
Course Instructor: knza ch
Artificial Intelligence Includes:
Artificial Intelligence (Lecture 1)
UNIT 3 CHAPTER 1 LESSON 4 Using Simple Commands.
Understanding the Three Basic Structures
Items, Group Boxes, Check Boxes & Radio Buttons
Algorithm Discovery and Design
Coding Concepts (Basics)
Using Functions
Programming.
Algorithm and Ambiguity
Problem Solving Designing Algorithms.
Chapter 3: Selection Structures: Making Decisions
Boolean Expressions to Make Comparisons
Artificial Intelligence
Flowcharts and Pseudo Code
For loops Taken from notes by Dr. Neil Moore
Tonga Institute of Higher Education IT 141: Information Systems
Winter 2019 CISC101 4/16/2019 CISC101 Reminders
Tonga Institute of Higher Education IT 141: Information Systems
COMP3710 Artificial Intelligence Thompson Rivers University
Chapter 3: Selection Structures: Making Decisions
Artificial Intelligence
Information Retrieval
Primary School Computing
Presentation transcript:

Week 5 - Friday CS 113

Last time What did we talk about last time? Simulation and modeling Bioinformatics If statements in Python

Project 2

Questions?

Artificial Intelligence

Artificial intelligence Artificial intelligence (AI) is hard to define Trying to make machines think? Goals Problem solving Representing knowledge Creating machines that can learn Natural language processing Interpreting and interacting with the physical world and humans Creativity General intelligence is perhaps the combination of all these things Achieving general intelligence is sometimes called strong AI

Approaches There are many approaches for generating various aspects of artificial intelligence Simulating the human brain Like with Blue Gene Symbolic approaches Views all intelligence as manipulating symbols Sub-symbolic approaches Became popular in the 1980s Tries to process data without directly manipulating symbols Statistical approaches Combinations

i Neural networks Neural networks are a popular sub-symbolic tool They are composed of simple nodes that take numerical inputs and add them together with different weights By adjusting the weights, you can train a group of nodes to solve a problem There are handwriting recognizers and speech recognizers that use neural networks i

Statistical approaches In the 1990s, statistical approaches became popular For example, you can analyze language statistically and Find rarely used words, are some of them misspelled? Find buzzwords Link different search terms together Know that this phrase in Farsi is almost always translated into that phrase in English Most of Google's success in AI has been statistical Like neural networks, statistical models of how speech (or other intelligent behavior) is formed tend to give us little insight into how intelligence works But they work!

Turing test Alice: Are you a human? Bob: What else would I be? Alan Turing, a great early computer scientist, argued that acting like a human being was proof of intelligence In the Turing test, person A (call her Alice) texts with entity B (call him Bob) Bob could be a computer or a human If a computer can reliably fool Alice into thinking is a human, it is displaying human intelligence Alice: Are you a human? Bob: What else would I be? Alice: Do you like pie? Bob: The value of pi is approximately 3.141592

Chinese Room John Searle proposed an argument against symbolic AI and the Turing test: Imagine a room filled with rules to manipulate symbols A man in the room receives symbols written on paper slipped through a slot in the door He follows the rules, creates new symbols, writes them on paper, and slips them back out the slot The symbols are actually Chinese characters Because the rules are complex enough, the Chinese speaker on the outside believes that she is interacting with someone who understands Chinese Does the man in the room understand Chinese? Do our brains understand English or are they just manipulating symbols?

Evil AI So, what about the evil AI we see in movies? Will Skynet take over the world? Computers are stupid They follow our instructions blindly (though quickly) Maybe some of the brain simulation research will lead to a machine with human intelligence At the moment, we are very far away Some people like Ray Kurzweil think that change will happen fast If computers become intelligent enough to write programs, who knows what could happen? I'm not worried

Siri The most impressive feature of Siri is her voice recognition Some is done on the device, some is done in the cloud After that, some statistical work is done to decide what your command or question means And how good is it? For a limited set of commands that relate directly to iPhone functions (playing songs, calling contacts), it's great Apple engineers put in some clever answers to a few set questions Otherwise, it gets disappointing fast

Review of while loops The while loop runs as long as a condition is true In this case, when countdown becomes 0, the loop stops (since 0 is not less than 0) Note that while loops use the same relational operators as if statements countdown = 10 while countdown > 0: print(countdown) countdown = countdown – 1 print("Blast-off!")

Review of for loops If you want to do something, say, 10 times in Python, you can use a for loop But you need to call the range() method to generate a list of numbers for you In this case, the loop will run 10 times, and the numbers 0, 1, 2, 3, 4, 5, 6, 7, 8, and 9 will print out for i in range(10): print(i)

Review of Python if statements In Python, the primary way to make a choice is with an if statement Whatever code is under the if and tabbed in will only be executed if the condition is true Optionally, an else section can be added if you want to do something if the condition is false Conditions often use the following relational operators to make a comparison: ==, !=, <, <=, >, >= if phrase == "open sesame": print("Welcome, Ali Baba!") else: print("Access denied!")

Multiple conditions The if and else constructs allow us to choose between two possibilities What if we wanted more? We can extend these constructs with elif to handle additional conditions

elif elif is short for "else if" It's used when the prior condition wasn't true and we want to check another condition if number == 1: print("First") elif number == 2: print("Second") elif number == 3: print("Third") else: print(number + "th")

Use of elif The elif construct if used if you want a bunch of mutually exclusive outcomes Only one of the choices is possible It is very common to end a sequence of if, elif, elif, elif, … statements with an else, whose code will be executed if none of the previous cases was true However, the else is not used if there's nothing to be done when no case matches

Lab 5

Upcoming

Next time… Graph theory

Reminders Start working on Project 2 Read Python Chapter 5