Git Product home page Git Product logo

dmproj's Introduction

Project repository for the Algorithmic methods for data mining course project.

Group Members:
Rainer Kujala, [email protected]
Olli-Pekka Koistinen, [email protected]


Code usage:

To obtain the figures shown in the report, the following steps need to be performed:

0. Set up the param data_dir (containing the orig. data set and future results) in settings.py
1. Run python prepro.py
	- This the plots in the report and computes the preprocessed data sets
2. Run brute_force.py with all input parameter combinations [0-2, 0-7]:
	pypy brute_force.py 0 0
	pypy brute_force.py 0 1
	...
	pypy brute_force.py 2 7
	(this takes a while)
3. Run plot_brute_force.py (using python) for plotting the results for brute force.
4. Run sh create_identity_indices.sh
5. Run sh create_speedup_indices.sh
6. Run speedups.py (using pypy) with all input parameter combinations as in step 2.
7. Run plot_speedups.py (using python) for plotting the speedup curves
8. Run approx.py (using pypy) with input parameter combinations [0-2, 0-7, 0-1]
	(the last one is for selecting the approximation threshold (1.5 or 1.2))
9. Run plot_approx.py (using python) to plot the speedups and mean estimation accuracies.

10. To assert that the results are valid, run assert_results.py (with python)


dmproj's People

Contributors

rmkujala avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.