Skip to content

Commit 4c91274

Browse files
committed
Cleaning dataset list
1 parent 03956c5 commit 4c91274

15 files changed

+94
-118
lines changed

Diff for: .gitignore

-3
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,3 @@ distribute*.tar.gz
3434

3535
# Ignore virtualenv folder
3636
venv
37-
38-
# Ignore datasets
39-
nimfa/datasets/*

Diff for: .travis.yml

+1-2
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,7 @@ addons:
1515
- liblapack-dev
1616
python:
1717
- "2.7"
18-
- "3.4"
19-
- "3.5"
18+
# - "3.4"
2019

2120
before_install:
2221
- wget http://repo.continuum.io/miniconda/Miniconda-latest-Linux-x86_64.sh -O miniconda.sh

Diff for: AUTHORS.rst renamed to AUTHORS.md

File renamed without changes.

Diff for: MANIFEST.in

+5-5
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
recursive-include docs *
22
recursive-include nimfa/datasets/ALL_AML *
3-
recursive-include nimfa/datasets/CBCL_faces placeholder*
4-
recursive-include nimfa/datasets/Medlars placeholder*
3+
recursive-include nimfa/datasets/CBCL_faces/README.md
4+
recursive-include nimfa/datasets/Medlars/README.md
55
recursive-include nimfa/datasets/Medulloblastoma *
6-
recursive-include nimfa/datasets/MovieLens placeholder*
6+
recursive-include nimfa/datasets/MovieLens/README.md
77
recursive-include nimfa/datasets/ORL_faces *
8-
recursive-include nimfa/datasets/S_cerevisiae_FC placeholder*
9-
include *.py *.txt *.rst
8+
recursive-include nimfa/datasets/S_cerevisiae_FC/README.md
9+
include *.py *.txt *.rst *.md

Diff for: README.rst renamed to README.md

+9-17
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,13 @@
11
Nimfa
22
-----
33

4-
|Travis|_
5-
|Coverage|_
6-
7-
.. |Travis| image:: https://travis-ci.org/marinkaz/nimfa.svg?branch=master
8-
.. _Travis: https://travis-ci.org/marinkaz/nimfa
9-
10-
.. |Coverage| image:: https://coveralls.io/repos/marinkaz/nimfa/badge.svg?branch=master&service=github
11-
.. _Coverage: https://coveralls.io/github/marinkaz/nimfa?branch=master
4+
[![build: passing](https://img.shields.io/travis/marinkaz/nimfa.svg)](https://travis-ci.org/marinkaz/nimfa)
5+
[![build: passing](https://coveralls.io/repos/marinkaz/nimfa/badge.svg)](https://coveralls.io/github/marinkaz/nimfa?branch=master)
126

137
Nimfa is a Python module that implements many algorithms for nonnegative matrix factorization. Nimfa is distributed under the BSD license.
148

159
The project was started in 2011 by Marinka Zitnik as a Google Summer of Code project, and since
16-
then many volunteers have contributed. See the AUTHORS.rst file for a complete list of contributors.
10+
then many volunteers have contributed. See AUTHORS file for a complete list of contributors.
1711

1812
It is currently maintained by a team of volunteers.
1913

@@ -28,7 +22,7 @@ Important links
2822
Dependencies
2923
------------
3024

31-
Nimfa is tested to work under Python 2.6, Python 2.7, and Python 3.4.
25+
Nimfa is tested to work under Python 2.7 and Python 3.4.
3226

3327
The required dependencies to build the software are NumPy >= 1.7.0,
3428
SciPy >= 0.12.0.
@@ -39,13 +33,13 @@ Install
3933
-------
4034

4135
This package uses setuptools, which is a common way of installing
42-
python modules. To install in your home directory, use::
36+
python modules. To install in your home directory, use:
4337

44-
python setup.py install --user
38+
python setup.py install --user
4539

46-
To install for all users on Unix/Linux::
47-
48-
sudo python setup.py install
40+
To install for all users on Unix/Linux:
41+
42+
sudo python setup.py install
4943

5044
For more detailed installation instructions,
5145
see the web page http://nimfa.biolab.si
@@ -72,8 +66,6 @@ Run alternating least squares nonnegative matrix factorization with projected gr
7266
Cite
7367
----
7468

75-
::
76-
7769
@article{Zitnik2012,
7870
title = {Nimfa: A Python Library for Nonnegative Matrix Factorization},
7971
author = {Zitnik, Marinka and Zupan, Blaz},

Diff for: nimfa/__init__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
"""
1313

1414
__license__ = 'BSD'
15-
__version__ = '1.3.1'
15+
__version__ = '1.3.2'
1616
__maintainer__ = 'Marinka Zitnik'
1717
__email__ = '[email protected]'
1818

Diff for: nimfa/datasets/CBCL_faces/README.md

+21
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
# CBCL face images
2+
3+
CBCL face images data set:
4+
* 19 x 19 Grayscale PGM format images,
5+
* Training set: 2429 faces, 4548 nonfaces,
6+
* Test set: 472 faces, 23573 nonfaces.
7+
8+
Dataset is at: http://cbcl.mit.edu/cbcl/software-datasets/FaceData2.html.
9+
10+
Directory structure should look like:
11+
12+
datasets/
13+
CBCL_faces/
14+
README
15+
face/
16+
face00001.pgm
17+
[...]
18+
face02429.pgm
19+
non-face/
20+
[...]
21+
[...]

Diff for: nimfa/datasets/CBCL_faces/placeholder_CBCL_faces

-23
This file was deleted.

Diff for: nimfa/datasets/Medlars/README.md

+10
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
# Medlars
2+
3+
Dataset is at: http://web.eecs.utk.edu/research/lsi. This is a collection of 1033 medical abstracts.
4+
5+
Directory structure should look like:
6+
7+
datasets/
8+
Medlars/
9+
med.all
10+
[...]

Diff for: nimfa/datasets/Medlars/placeholder_Medlars

-13
This file was deleted.

Diff for: nimfa/datasets/MovieLens/README.md

+15
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
# Movielens
2+
3+
Dataset is at: http://www.grouplens.org/node/12. Select the stable benchmark dataset with 100000
4+
ratings from 1000 users on 1700 movies.
5+
6+
Directory structure should look like:
7+
8+
datasets/
9+
MovieLens/
10+
ua.base
11+
ua.test
12+
ub.base
13+
ub.test
14+
[...]
15+
[...]

Diff for: nimfa/datasets/MovieLens/placeholder_MovieLens

-18
This file was deleted.

Diff for: nimfa/datasets/S_cerevisiae_FC/README.md

+26
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
# S. Cerevisiae MIPS's molecular functions
2+
3+
Dataset is at: http://dtai.cs.kuleuven.be/clus/hmc-ens.
4+
5+
Directory structure should look like:
6+
7+
datasets/
8+
S_cerevisiae_FC/
9+
hom_yeast_FUN/
10+
hom_yeast_FUN.test.arff
11+
hom_yeast_FUN.train.arff
12+
hom_yeast_FUN.valid.arff
13+
pheno_yeast_FUN/
14+
pheno_yeast_FUN.test.arff
15+
pheno_yeast_FUN.valid.arff
16+
pheno_yeast_FUN.train.arff
17+
seq_yeast_FUN/
18+
seq_yeast_FUN.train.arff
19+
seq_yeast_FUN.test.arff
20+
seq_yeast_FUN.valid.arff
21+
struc_yeast_FUN/
22+
struc_yeast_FUN.train.arff
23+
struc_yeast_FUN.test.arff
24+
struc_yeast_FUn.valid.arff
25+
[...]
26+
[...]

Diff for: nimfa/datasets/S_cerevisiae_FC/placeholder_S_cerevisiae_FC

-30
This file was deleted.

Diff for: setup.py

+6-6
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,13 @@
99
MAINTAINER = 'Marinka Zitnik'
1010
MAINTAINER_EMAIL = '[email protected]'
1111
DESCRIPTION = 'A Python module for nonnegative matrix factorization'
12-
LONG_DESCRIPTION = open('README.rst').read()
12+
LONG_DESCRIPTION = open('README.md').read()
1313
URL = 'http://nimfa.biolab.si'
1414
DOWNLOAD_URL = 'http://github.com/marinkaz/nimfa'
1515
KEYWORDS = ['matrix factorization', 'nonnegative matrix factorization',
1616
'bioinformatics', 'data mining', 'machine learning']
1717
LICENSE = 'BSD'
18-
VERSION = '1.3.1'
18+
VERSION = '1.3.2'
1919
ISRELEASED = True
2020

2121
INSTALL_REQUIRES = (
@@ -90,10 +90,10 @@ def write_version_py(filename='nimfa/version.py'):
9090
GIT_REVISION = git_version()
9191
elif os.path.exists('nimfa/version.py'):
9292
# must be a source distribution, use existing version file
93-
version = imp.load_source("nimfa.version", "nimfa/version.py")
93+
version = imp.load_source('nimfa.version', 'nimfa/version.py')
9494
GIT_REVISION = version.git_revision
9595
else:
96-
GIT_REVISION = "Unknown"
96+
GIT_REVISION = 'Unknown'
9797

9898
if not ISRELEASED:
9999
FULLVERSION += '.dev0+' + GIT_REVISION[:7]
@@ -124,8 +124,8 @@ def setup_package():
124124
keywords=KEYWORDS,
125125
install_requires=INSTALL_REQUIRES,
126126
packages=find_packages(),
127-
package_dir={DISTNAME: "./nimfa"},
128-
package_data={DISTNAME: get_package_data("datasets")},
127+
package_dir={DISTNAME: './nimfa'},
128+
package_data={DISTNAME: get_package_data('datasets')},
129129
license=LICENSE,
130130
long_description=LONG_DESCRIPTION,
131131
classifiers=['Intended Audience :: Science/Research',

0 commit comments

Comments
 (0)