Spring2012.CSCI470Homework2 History

Show minor edits - Show changes to markup

Changed line 46 from:

numStudents += 1 /* we have processed one more student */

to:

numStudents += 1 # we have processed one more student

Changed line 52 from:

numStudents += 1 /* increment numStudents by one */

to:

numStudents += 1 # increment numStudents by one

Changed line 2 from:

Due Date: Thursday, Feb. 16, 2012\\

to:

Due Date: Tuesday, Feb. 21, 2012\\

Changed lines 31-33 from:

Bonus

Your program could also:

to:

Your program should also:

Changed line 61 from:

(:source lang=C tabwidth=3 -trim :)

to:

(:source lang=python tabwidth=3 -trim :)

Deleted line 82:
  • /
Changed lines 62-82 from:
to:
Changed lines 9-15 from:

This assignment focuses on:

  • To understand knowledge representation schemes and related issues.
  • To understand the fundamental differences between symbolic, statistical, connectionist, and evolutionist approaches.
  • To gain experience in programming with a programming language used in AI applications.
  • To develop working knowledge, in terms of understanding the theory and being able to design/implement working applications, of at least one AI area.
to:

This assignment's objectives are:

  • Understand knowledge representation schemes and related issues.
  • Gain experience in programming with a programming language used in AI applications.
  • Develop working knowledge, in terms of understanding the theory and being able to design/implement working applications, of at least one AI area.
Changed lines 19-20 from:

Write a simple poem generator using Markov models and text available on the Internet.

to:

Write a Python poem generator using Markov models and text available on the Internet.

Changed lines 35-38 from:
  1. Have some way of evaluating its output (a crude way is fine). Let's call this its fitness function. The fitness function should accept a string as input, and return a numeric value (the larger, the better).
  2. Loop enough times generating output and keeping only the best (as per your fitness function).
to:
  1. Have some way of evaluating its output (a crude way is fine). Let's call this its fitness function. The fitness function should accept a string as input, and return a numeric value as output (the larger, the better).
  2. Loop enough times generating poems and keeping only the best (as per your fitness function).
Changed lines 90-94 from:
  1. Your python AI program, called poetGenerator.py .
to:
  1. Your Python AI program, called poemGenerator.py . Your program should run as follows:
    python poemGenerator.py
    (the data subdirectory should be placed in the same directory as your program)
Added lines 1-109: