|Additional Info: |
Texts and Other Materials
The required texts are:
- Poli, R., W. B. Langdon, and N. F. McPhee. 2008. A Field Guide to Genetic Programming. ISBN 978-1-4092-0073-4. The book is freely downloadable under a Creative Commons license as a PDF from http://www.gp-field-guide.org.uk/ and low cost printed copies can be purchased from lulu.com.
- Halloway, S., and A. Bedra. 2012. Programming Clojure, Second Edition. ISBN 978-1-934356-86-9. Pragmatic Bookshelf.
Additional readings will be distributed in class.
We will be programming in the Clojure programming language, using the clooj lightweight integrated development environment and in some cases the leiningen build tool. Many other environments are available for developing Clojure code and students are welcome to use whatever they wish, but only clooj usage will be supported in class.
We will learn Clojure in part by working through the professor's:
clojinc: examples and problem sets
evolvesum: A simple binary genetic algorithm in Clojure, to demonstrate one way to write an evolutionary loop.
gp: demonstration Clojure code for genetic programming
clojush: implementation of the PushGP genetic programming system.
Students may use their own computers, the Macs in ASH 126, and the high performance computing cluster in the Hampshire College Cluster Computing Facility. Students should not expect files left on the Macs in ASH 126 to persist; the discs on those machines may be erased without notice at any time. Students may find it convenient to use a thumb drive to transport files to and from class.
Division I Distribution Credit
Successful completion of this course satisfies the Divison I distribution requirement in Mind, Brain, and Information. This course provides opportunities for satisfaction of Division I cumulative skills requirements in Quantitative Skills and Independent Work.
This course is intended to serve students with a wide range of backgrounds. Students with little previous experience should resist being intimidated and bear in mind that I take background into account in writing evaluations. Students with extensive previous experience should note that the class is structured to provide ample opportunities for more advanced work.
Class Format and Schedule
This course will not follow a rigid, pre-specified schedule but will instead be paced to the progress and interests of the students.
The general sequence of activities in the course will be:
- Learn a shared programming language, Clojure, which will probably be new to most students but which supports the work of this course (and many other kinds of work) particularly well.
- Develop fluency in Clojure while also learning about the fundamentals of genetic algorithms and genetic programming.
- Develop an original genetic programming system in Clojure while also learning about advanced topics in genetic programming, including variations of genetic programming that use the Push programming language (one version of which, clojush, is implemented in Clojure).
- Develop and execute ideas for original genetic programming projects.
These activities are not entirely distinct, and they will be interleaved to some extent throughout the semester.
Class time will be spent on a mixture of:
- Show and tell sessions
- Demonic coding sessions
Every Thursday class will begin with a show and tell session, in which each student is expected to briefly present and run recent programming work to the class, using the projected computer. Each student must present new work every Thursday. Expectations regarding presentation content and format will be discussed in class.
In a demonic coding session the class is split into two groups and the available time is split into two periods. In the first period one of the groups is coders and the other is demons; in the second period the roles are reversed. Coders sit at workstations and work on their own projects for the entire period. Demons rotate among the coders at announced times, observing and interacting with one coder at a time. Demons may ask questions and/or make suggestions, and coders must dedicate a percentage of their time (approximately 50%) to demonic interactions. Each student must have access to his/her current work files every day -- on a laptop computer, or a thumb drive, or a networked server, etc. -- so that he/she will always be ready to participate as a coder in a demonic coding session.
Code sharing is encouraged, although each student is expected to develop a body of code that is mostly original and to explicitly mark all non-original code. See the Plagiarism Policy section below.
Policies in Regards to Illness, Epidemic, or Pandemic
If you have a fever, please stay home, take good care of yourself, and contact me by email or phone. When you are able to work at home you should be able to participate in classes and to submit work electronically. If your illness makes it impossible for you to meet the course deadlines then contact me and we will negotiate an accommodation.
Hampshire College has a rigorous policy on plagiarism, outlined in detail in the student handbook. As stated in College documents "Plagiarism (from the Latin for 'kidnapper') is a term covering everything from inadvertently passing off as one’s own the work of another because of ignorance, time constraints, or careless note-taking, to hiring a ghost writer to produce an examination or course paper." In particular, it covers false citation, false data, intentional poor documentation, papers written by others, unacknowledged multiple authors or collaboration, unacknowledged multiple submission, and other forms of academic dishonesty. The penalties are severe, so you should always be proactive in identifying all sources. When in doubt you should ask your me about what is and isn't appropriate.
In this course we will often be sharing and borrowing code. This is an important aspect of the course and an important aspect of modern programming practice. This does not mean, however, that it is acceptable to submit code that is not your own without acknowledging sources. Sources should be clearly and explicitly provided in everything that you produce.