Skip to content

open-machine-learning/mldata

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

mldata - a community web site for sharing data sets
Copyright (C) 2009-2012 Soeren Sonnenburg, Cheng Soon Ong, Sebastian Henschel, Mikio L. Braun, Patrik O. Hoyer

Version v0.1.5

You may reuse the code under the terms of the GNU GPLv3 license. See file LICENSE for details.


INTRODUCTION
============

This project is the code for the web site mldata.org.


INSTALLATION
============

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!)

Create database and load sample data:
$ python setup.py install

Warning:
Default admin user mldata/mldata is created!

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
--------------------

apt-get install libhdf5-dev    #  required by h5py
apt-get install memcached     # required by python-memcached
apt-get install r-base    # required by rpy2


From source
-----------

apt-get build-dep python-scipy
apt-get build-dep python-matploitlib

# fuck pycairo does not provide a standard setup.py file. (at june 2013)
# note: debian sid installs /usr/lib/pymodules/python2.7/
apt-get install python-cairo-dev

pip install -r requirements.txt

As debian packages
------------------

python-django
python-openid
python-numpy
python-h5py
python-scipy
python-memcache
python-json
python-rpy2
python-matplotlib
python-recaptcha
python-httplib2
python-cairo


Potentially useful projects
---------------------------

http://ericholscher.com/projects/django-test-utils/
http://bitbucket.org/jespern/django-piston/wiki/Home
http://agiliq.com/