forked from open-machine-learning/mldata
-
Notifications
You must be signed in to change notification settings - Fork 0
/
README
99 lines (60 loc) · 1.88 KB
/
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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
To install django (Assuming you have python)
Get the source from
http://www.djangoproject.com/download/
$ tar xzvf Django-1.2.3.tar.gz
$ cd Django-1.2.3
$ sudo python setup.py install
(If you have an old version, you need to delete the previous installation
under /usr/lib/python2.5/site-packages/django by hand!)
If you don't have website/mldata/mldata.db, create the database with
$ python manage.py syncdb
Install fixtures:
$ python manage.py loaddata `find ./ -name '*.json'`
Run the webserver with
$ cd website/mldata/
$ python manage.py runserver
The default webserver runs at http://127.0.0.1:8000/
Point your web browser to it and have a look.
Further dependencies
--------------------
From source
-----------
As usual in python, you should be able to install all of
these modules with "sudo python setup.py install"
- memcache:
For caching, you need memcache, both the actual server and
the python package. See http://docs.djangoproject.com/en/1.1/topics/cache/
For example, you can install http://gijsbert.org/cmemcache/
- python-openid:
http://pypi.python.org/pypi/python-openid/
- h5py:
http://code.google.com/p/h5py/
- numpy:
https://sourceforge.net/projects/numpy/files/
- scipy:
https://sourceforge.net/projects/scipy/files/
- mldata-utils
http://mloss.org/software/view/262/
Or our SVN:
https://ml01.zrz.tu-berlin.de/svn/mldata/mldata-utils
- python-json
http://pypi.python.org/pypi/python-json
- rpy2
http://rpy.sourceforge.net/rpy2.html
As debian packages
------------------
python-django
python-openid
python-numpy
python-h5py
python-scipy
memcached
python-memcache
python-json
python-rpy2
There is no python-h5py in debian, but you can install it by hand.
Potentially useful projects
---------------------------
http://ericholscher.com/projects/django-test-utils/
http://bitbucket.org/jespern/django-piston/wiki/Home
http://agiliq.com/