CS 470 - Spring 2020.


[Home]

Welcome to CS 470!

Video of the Day

Spot is hot!

Poll of the Day

The AI Fairy will grant you one wish. What would you like computers to do (or not to do)?

https://pollev.com/cs470 You may also download the app to your phone. Use the "cs470" poll id.

Lecture : Classic Yale AI / Intelligent Agents. 1/22/2020

Administrivia

  • I have office hours Wednesdays from 4-6 pm, Room 014 AKW. Also, I invite students to join me for lunch in a residential college after class on Wednesdays. Today at noon at Franklin.

  • ULA office hours have begun. See the [Contact Info and Schedule] as well as piazza.

  • The course assumes proficiency in python programming. We will spend a few lectures on python, but generally expect you to accomplish that on your own, if you are not already an adept. If you would like some help, as well as course credit, in learning python, we recommend CS 200, which meets MW 2:30pm in WLH 120. We hear that the instructor is quite charming. You can drop by this afternoon.

    If you're thinking of taking CPSC 470, please do the following.

  • Complete this online Student Information form.
  • Get a course account for CPSC 470 on the Zoo. When you register for this class, your course account should be created within one hour or so of signing up.
  • Confirm your piazza account. I have created piazza accounts for the class. You should have received an email requesting that you validate your account. The guys at Canvas have alerted the Yale community that Piazza now automatically shares your information with potential employers and their ilk. ( how to turn this feature off.)
  • Start the homework assignment: [Assignments]. It is a python refresher. hw1 is now available.

    Lecture: Intelligent Agents

  • Slides: 2019 Intelligent Agents These slides are from Professor Scassellati.
  • Eliza in emacs: meta-x doctor
  • POMDP Partially Observable Markov Decision Processes. MDP + HMM = POMDP
  • ALIVE (Artificial Life Interactive Video Environment)
  • Slides: AIMA chapter 2 uses LISP. From Russell at Berkeley. 6 up

  • agents.ipynb agents jupyter notebook, from Norvig. You need to understand this code and its related python modules to tackle hw1.
  • hw1.html is now available: vacuum cleaner world! hw1.ipynb
    Classic Yale AI
    The second approach is how can we get computers to replicate human cognitive behavior. That is, we assume that human cognition comprises a vast number of processes and algorithms. What are those processes and can we embody those in a computer?

    The goal is not only to create smart programs, but also to provide insights into how people think. This is a cognitive science approach, which has a variety of benefits. Classic Yale AI began in 1974 with the arrival of Roger Schank at the Yale Computer Science Department, who collaborated with Robert Abelson in psychology. Here are the players. You are familiar with the Turing Test for AI, which is often dismissed these days. The Turing Test was largely replaced in the academic community by Searle's Chinese Room, which was inspired by a 1979 visit by Searle to the Yale Artificial Intelligence Lab.

    Modern AI and Classic Yale AI are two perspectives. You may view them in Hegelian terms of thesis and antithesis. In this course, we argue for the synthesis. Other dimensions of the duality include

  • CS 470 Thought Experiment Please complete. The purpose of this is to get you thinking about the topics, not to find the correct answer.

    Python and Jupyter Notebooks

  • Google Python Class
  • Notes on Google Python Class

    Once you have a foundation in python from the google class, you should tackle the following topics, needed for AI programming:

  • recursion.py
  • listcomp.py list comprehensions
  • object oriented programming load: oop.py
  • stack.py stacks / data structures
  • 0117.ipynb jupyter note book to demo above files. You need to open it in jupyter in a directory containing the above python files.

    Other topics: exceptions, iterators, generators, decorators, networking, python virtual machine.

  • hw0a.ipynb This is a jupyter notebook. You need to open it in jupyter.
    [Home]