fptudelft / IN4355

Experiments for IN4335 Functional Programming course at TU Delft

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

#IN4355 Functional Programming

This repository contains the source code of two experiments performed during IN4355 Functional Programming course at TU Delft. Both experiments were completed using Python programming language.

The first experiment contains an implementation of a 3d-model viewer rendering models from input files. The major challenge of this project was to write a conversion function to do the rendering using only right triangles. The source code of this experiment can be found in teapots directory. Run python teapot.py and see what happens, if you did not get it. Wait, you have to install pygame first. Better open a .png.

The second experiment is an implementation of machine learning algorithms in functional style. Its source code is somewhat surprisingly placed in machine_learning directory. For this project, naive Bayes and k-nearest neighbors classifiers were implemented. They work with the data sets from UCI ML Repository. More information about this project is provided in the report.

Enjoy!

About

Experiments for IN4335 Functional Programming course at TU Delft