WPI Worcester Polytechnic Institute

Computer Science Department
------------------------------------------

CS4341 Introduction to Artificial Intelligence 
Project 4 - B 2003

PROF. CAROLINA RUIZ 

DUE DATE: Tuesday, December 16, 9:00 pm. 
------------------------------------------

PROJECT DESCRIPTION

This project consists of constructing a learning system for face recognition using neural networks and the error back propagation procedure. This project is based on the
source code and dataset provided online as a companion to Chapter 4 of Tom M. Mitchell's "Machine Learning" textbook (McGraw-Hill, 1997). For your convenience, here is a PDF version of the code documentation.

For this project, you are allowed to work in groups of 2 students or individually.


PROJECT ASSIGNMENT

This project consists of three subparts:
  1. Sunglasses Recognizer. Train a neural network to recognize whether the person in a picture is wearing sunglasses.

  2. Face Recognizer. Train a neural network to recognize who the person in a picture is among a group of 20 possible people.

  3. Pose Recognizer. Train a neural network to recognize whether the person in a picture is looking up, straight, left, or right.

You must follow the guidelines below for the training of your neural nets:


REPORT AND DUE DATE

This project is due on Tuesday, December 16 at 9:00 pm. The submission should be done using the
turnin program. The name of the project is "proj4".


GRADING CRITERIA


Sunglasses	(Q1-Q4)		20 points

Obtaining results	3
Q4:			
Code Modifications	5
Classification Accuracy	5
# of Epochs		5
Validation set		1
Test set		1

Face Recognition (Q5-Q8)	30 points

Obtaining results	3
Q8:                     7
     
Q7:
code modifications	8
#output nodes and 
output convention	8
Class Accuracy		1
# Epochs		1
Validation set		1
Test set		1

Pose Recognition (Q9-Q11)	30 points

Obtaining results	10
Code modification	6
Output endoding		6
# epochs		1
Validation set		1
Test set		1

Visualization	(Q12-Q13)	20 points 
Q13(a)			10
Q13(b)			10

Report				20 points
Q2-Q4			10
Q5			10

TOTAL:                         120 points

GRADUATE CREDIT

Consider again the problem of recognizing who the person in a picture is among a group of 20 possible people. Assume that you have a dataset of pictures of these 20 people and for each of them you have pictures of the person looking right, left, and straight (that is, only rotations of the face with respect to the y axis). Describe how the "matching agains templates" approach described in Chapter 26 of Winston's book would work for this problem. In particular, specify how many pictures of each person are needed as templates and how many corresponding points are required.

Intuitively, how do you think that the results of this "match against templates" approach would compare against the neural networks approach above? Explain your answer.