Click here for USACO solutions! …just kidding. (You still have until the end of today to take it!)

Slides:



Advertisements
Similar presentations
Chapter 09 AI techniques in different game genres (Puzzle/Card/Shooting)
Advertisements

Godfather to the Singularity
Artificial Intelligence Created by Korbut Fyodor FTF,
Introduction to Artificial Intelligence
Computer Systems Lab TJHSST Current Projects In-House, pt 6.
Tic Tac Toe Prototype Following is a prototype of a Tic Tac Toe program. The main goal of the program is to provide quick and simple entertainment. It.
CHAPTER 4 DECISION SUPPORT AND ARTIFICIAL INTELLIGENCE Brainpower for Your Business.
TECHNOLOGY GUIDE 4: Intelligent Systems
Class Project Due at end of finals week Essentially anything you want, so long as it’s AI related and I approve Any programming language you want In pairs.
ECE457 Applied Artificial Intelligence R. Khoury (2007)Page 1 Please pick up a copy of the course syllabus from the front desk.
Artificial Intelligence
EXPERT SYSTEMS apply rules to solve a problem. –The system uses IF statements and user answers to questions in order to reason just like a human does.
ETHEM ALPAYDIN © The MIT Press, Lecture Slides for.
ICS 101 Fall 2011 Introduction to Artificial Intelligence Asst. Prof. Lipyeow Lim Information & Computer Science Department University of Hawaii at Manoa.
November 10, 2009Introduction to Cognitive Science Lecture 17: Game-Playing Algorithms 1 Decision Trees Many classes of problems can be formalized as search.
ARTIFICIAL INTELLIGENCE Rachelle Yando, Nina Kostyk, & Dave Tokarowski.
An Introduction to Black-Box Complexity
1 Chapter 2 Uses and Limitations. 2 Chapter 2 Contents l The Chinese Room l HAL – Fantasy or Reality? l AI in the 21 st Century.
Random Administrivia In CMC 306 on Monday for LISP lab.
Neural Networks (NN) Ahmad Rawashdieh Sa’ad Haddad.
INTRODUCTION TO Machine Learning 3rd Edition
Introduction to machine learning
3.11 Robotics, artificial intelligence and expert systems Strand 3 Karley Holland.
Computer Programming My Home Page My Paper Job Description Computer programmers write, test, and maintain the detailed instructions, called programs,
Artificial Intelligence By Ryan Shoultes & Jeremy Creighton.
Lecture 2: Introduction to Machine Learning
Brian Duddy.  Two players, X and Y, are playing a card game- goal is to find optimal strategy for X  X has red ace (A), black ace (A), and red two (2)
Machine Learning Chapter 13. Reinforcement Learning
Chapter 10 Artificial Intelligence. © 2005 Pearson Addison-Wesley. All rights reserved 10-2 Chapter 10: Artificial Intelligence 10.1 Intelligence and.
ICS 101 Fall 2011 Introduction to Artificial Intelligence Asst. Prof. Lipyeow Lim Information & Computer Science Department University of Hawaii at Manoa.
IAI Final Lecture. Examples of AI Spam filtering in Gmail Page ranking by Google. Number plate recognition systems Face recognition (in cameras) Handwriting.
Artificial Intelligence
Universit at Dortmund, LS VIII
Game theory Impartial Games.  Two-person games with perfect information  No chance moves  A win-or-lose outcome  Impartial games ◦ Set of moves available.
1 CSC 8520 Spring Paula Matuszek Kinds of Machine Learning Machine learning techniques can be grouped into several categories, in several ways: –What.
CPS 270: Artificial Intelligence Machine learning Instructor: Vincent Conitzer.
Machine Learning for an Artificial Intelligence Playing Tic-Tac-Toe Computer Systems Lab 2005 By Rachel Miller.
How Solvable Is Intelligence? A brief introduction to AI Dr. Richard Fox Department of Computer Science Northern Kentucky University.
I Robot.
Artificial intelligence
WEEK INTRODUCTION IT440 ARTIFICIAL INTELLIGENCE.
Lecture 2: 11/4/1435 Problem Solving Agents Lecturer/ Kawther Abas 363CS – Artificial Intelligence.
ICT-enabled Agricultural Science for Development Scenarios, Opportunities, Issues by ICTs transforming agricultural science, research & technology generation.
Definitions of AI There are as many definitions as there are practitioners. How would you define it? What is important for a system to be intelligent?
Programming in C++ Dale/Weems/Headington Chapter 1 Overview of Programming and Problem Solving.
ARTIFICIALINTELLIGENCE ARTIFICIAL INTELLIGENCE EXPERT SYSTEMS.
What is Artificial Intelligence?
Copyright Paula Matuszek Kinds of Machine Learning.
Reinforcement Learning AI – Week 22 Sub-symbolic AI Two: An Introduction to Reinforcement Learning Lee McCluskey, room 3/10
Search in State Spaces Problem solving as search Search consists of –state space –operators –start state –goal states A Search Tree is an efficient way.
1 Chapter 2 Uses and Limitations. 2 Chapter 2 Contents l The Chinese Room l HAL – Fantasy or Reality? l AI in the 21 st Century.
Introduction to Machine Learning © Roni Rosenfeld,
Artificial Intelligence, simulation and modelling.
1 Introduction to Artificial Intelligence CSE 415 Winter 2006.
Information Systems in Organizations 6.0 Artificial Intelligence.
Network Management Lecture 13. MACHINE LEARNING TECHNIQUES 2 Dr. Atiq Ahmed Université de Balouchistan.
Uses and Limitations Fall 2013 COMP3710 Artificial Intelligence Computing Science Thompson Rivers University.
ECE457 Applied Artificial Intelligence R. Khoury (2007)Page 1 Please pick up a copy of the course syllabus from the front desk.
ARTIFICIAL INTELLIGENCE
Introduction to Machine Learning
Chapter 11: Artificial Intelligence
COMP3710 Artificial Intelligence Thompson Rivers University
Introduction to Programmng in Python
Unit 18: Computational Thinking
What is Pattern Recognition?
Instructor: Vincent Conitzer
Integrating Deep Learning with Cyber Forensics
COMP3710 Artificial Intelligence Thompson Rivers University
Artificial Intelligence
Discrete Mathematics and Its Applications
Presentation transcript:

Click here for USACO solutions! …just kidding. (You still have until the end of today to take it!)

Introduction to Artificial Intelligence Branch of computer science Goal of AI – to figure out what to do when you don’t know what to do o “Uncertainty management” o AI program (“intelligent agent”) gets input from environment via “sensors,” affects its environment through “actuators” (output) o Perception action cycle: Loop of sensor input, decisions, actuator output o AI = How to map sensors to actuators

Applications of AI Robotics o Often associated with AI o Translating input from sensors into output (motors, speakers, etc.) Games o Playing games (e.g. chess) o Making game actors/characters feel more natural Internet o Web crawlers (search engines), spam filters, recommendations, etc. Finance o Predicts price fluctuation for stocks, bonds, commodities, etc. o Helps make trading decisions Medicine o Suggest diagnoses given list of symptoms o Monitor intensive care patients or long-term medication

Machine Translation Utilizes machine learning extensively Translator is fed many, many examples of already- translated text (such as a news article in two languages) o Builds translation model by figuring out which phrases correspond to which o Ex: “My name is” appears in English wherever “Je m’appelle” does in French Google Translate does this for 50+ languages o Constantly improved by user feedback

Spam Filtering Also relies on machine learning Analyzes messages for “spam-like” words/phrases o Figures out which words are most indicative of spam (e.g. “Viagra”) based on past messages o Bayesian probability/inference Other known “spam-like” qualities o Known spammer IP o ed person before? o Addresses recipient by name?

PotW - Cow Vegas In an effort to swindle his cows, Farmer John has devised a (not so) brilliant game to play against Bessie. Bessie, compensating for her bovine intelligence, pays you with milk to write a program that helps play for her. The game begins with n stacks of coins and m i coins in each stack, and Farmer John graciously lets Bessie go first. If each player takes 1 to k coins from one stack on each turn, and the player who takes the last coin out of all stacks wins, determine who will win assuming optimal play. Sample Input: 1 2 (one stack, take up to two) 6 (the stack has one coin) Sample Output: John (either “John” or “Bessie”) For 15 points, solve the problem for n=1 (1 stack of coins). For 15 more points, solve the problem for 1 < n < 1,000,000 All integers in the input are less than 1,000,000 in magnitude.

Hints Sample Input #2: Sample Output #2: 3 3 John Sample Input #3: Sample Output #3: 3 2 Bessie Try to find a pattern for the basic problem Use Sprague-Grundy impartial game theory for the extension o Sprague-Grundy theory gives each pile of coins a "nimber" not necessarily equal to the number of coins o The nimber of a state is equal to the minimum-exclusion of the nimbers of states reachable from the state o Nimber = zero: losing state, otherwise: winning state o XOR nimbers together to combine multiple states (piles) o Consult Google for details Final solution is actually very simple