Here are a list of the projects I have done for Machine learning, all are done in an object oriented style useing php. It's all open source. If any of this will help you do your homework, meet a deadline, make your life esier please by all means use it. They all work except the Neural Net. Most are pretty well commented.