-
Notifications
You must be signed in to change notification settings - Fork 18
/
README
32 lines (27 loc) · 1016 Bytes
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
Prerequisites:
==============
* python source
* numpy
* pythonbio
* zlib
* freetype
* libpng
* matplotlib
Installing prerequisites on Ubuntu:
-----------------------------------
sudo apt-get install python-dev
sudo apt-get install python-numpy
wget https://pypi.python.org/packages/2.6/s/setuptools/setuptools-0.6c9-py2.6.egg
sudo sh setuptools-0.6c9-py2.6.egg
sudo easy_install -f https://biopython.org/DIST/ biopython
sudo apt-get install zlib1g-dev
freetype, libpng, and matplotlib can be obtained from sourceforge.net
Building curious_snake:
=======================
Simply invoking 'make' in the curious_snake directory should build the necessary libraries included in the checkout (libsvm).
Testing:
--------
To test that the system was setup properly, try the following commands in the python interpreter:
import curious_snake
curious_snake.run_experiments_hold_out(["data//data.txt"], "test_run", num_runs=2, upto=200)
If the run on the test data completes successfully, a plot of the results will appear.