Skip to content

Commit cb986c0

Browse files
author
salvisolamartinell
authored
Merge pull request #319 from bsc-wdc/release-0.6
Release 0.6
2 parents 7265f76 + 83ab08a commit cb986c0

File tree

10 files changed

+54
-11
lines changed

10 files changed

+54
-11
lines changed

CHANGELOG.md

Lines changed: 32 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,36 @@ All notable changes to this project will be documented in this file.
44
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
55
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
66

7+
## [0.6.0] - 2020-10-09
8+
### Added
9+
- User guide and glossary
10+
- Method to read from npy files
11+
- Support for one-dimensional data in ds-array
12+
- Parametrized ds-array tests
13+
- identity, full and zeros methods that generate ds-arrays filled with a value
14+
- ds-array operators: subtraction, division, conjugate, transpose, item setting, etc.
15+
- matmul, kronecker product and rechunk methods for of ds-arrays
16+
- Automatic deletion of ds-arrays when the GC is called
17+
- Multivariate linear regression
18+
- SVD (Singular Value Decomposition)
19+
- PCA using SVD
20+
- ADMM Lasso algorithm
21+
- Daura clustering algorithm
22+
23+
### Changed
24+
- Improved performance testing scripts and added new tests
25+
- Allow executing applications with params using dislib exec
26+
- Extended and improved the tutorial notebook
27+
- Moved data loading routines to a different file as array.py was getting too big
28+
- apply_along_axis for sparse data now returns sparse ds-arrays
29+
- Updated dislib-base docker image
30+
- Replaced COLLECTION_INOUT parameters with COLLECTION_OUT when possible for improving performance
31+
- Updated requirement PyCOMPSs >= 2.7
32+
33+
### Fixed
34+
- Some bugs in the ds-array
35+
- Internal inconsistencies in transformed_array of PCA
36+
737
## [0.5.0] - 2019-11-25
838
### Added
939
- Grid search and randomized search with cross-validation
@@ -116,7 +146,8 @@ process.
116146
- Moved the quickstart guide to a separate file and included it in the documentation
117147
- Fixed several bugs
118148

119-
[Unreleased]: https://github.com/bsc-wdc/dislib/compare/v0.5.0...HEAD
149+
[Unreleased]: https://github.com/bsc-wdc/dislib/compare/v0.6.0...HEAD
150+
[0.5.0]: https://github.com/bsc-wdc/dislib/compare/v0.5.0...v0.6.0
120151
[0.5.0]: https://github.com/bsc-wdc/dislib/compare/v0.4.0...v0.5.0
121152
[0.4.0]: https://github.com/bsc-wdc/dislib/compare/v0.3.0...v0.4.0
122153
[0.3.0]: https://github.com/bsc-wdc/dislib/compare/v0.2.0...v0.3.0

NOTICE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
Copyright 2019 Barcelona Supercomputing Center (BSC)
1+
Copyright 2019-2020 Barcelona Supercomputing Center (BSC)
22

33
Licensed under the Apache License, Version 2.0 (the "License");
44
you may not use this file except in compliance with the License.

QUICKSTART.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ numpydoc >= 0.8.0 is requried to build the documentation.
2222
#### Installation steps
2323

2424
1. Check which PyCOMPSs version to install.
25-
* Latest dislib release requires **PyCOMPSs 2.5** or greater (check [here](https://github.com/bsc-wdc/dislib/releases) for information about other releases).
25+
* Latest dislib release requires **PyCOMPSs 2.7** or greater (check [here](https://github.com/bsc-wdc/dislib/releases) for information about other releases).
2626

2727
2. Install PyCOMPSs following these [instructions](https://compss-doc.readthedocs.io/en/2.7/Sections/01_Installation.html).
2828

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
0.5.0
1+
0.6.0

dislib/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222

2323
__version__ = pkg_resources.require("dislib")[0].version
2424
except Exception as e:
25-
print("Could not get installed dislib version. "
25+
print("This dislib installation does not have a version number. "
2626
"Probably it was not installed with setup.py.\n%s" % e)
2727
__version__ = 'unknown'
2828

-3.58 KB
Loading

docs/source/index.rst

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -54,20 +54,24 @@ Labels on the horizontal axis represent algorithm-dataset, where:
5454
- ALS = AlternatingLeastSquares
5555
- CSVM = CascadeSVM
5656
- GMM = GaussianMixture
57+
- Load = :meth:`load_svmlight_file <dislib.load_svmlight_file>`
5758
- RF = RandomForestClassifier
59+
- Shuf = :meth:`shuffle <dislib.utils.base.shuffle>`
60+
- TR = :meth:`Array.transpose <dislib.data.array.Array.transpose>`
5861

5962
and:
6063

6164
- Netflix = The Netflix Prize `dataset <https://www.kaggle
6265
.com/netflix-inc/netflix-prize-data>`_.
63-
- ijcnn1 = The `ijcnn1 <https://www.csie.ntu.edu
64-
.tw/~cjlin/libsvmtools/datasets/binary.html#ijcnn1>`_ dataset.
6566
- KDD99 = The `KDDCUP 1999 <http://kdd.ics.uci.edu/databases
6667
/kddcup99/kddcup99.html>`_ dataset.
68+
- ijcnn1 = The `ijcnn1 <https://www.csie.ntu.edu
69+
.tw/~cjlin/libsvmtools/datasets/binary.html#ijcnn1>`_ dataset.
6770
- gaia = The Tycho-Gaia Astrometric Solution dataset [1]_.
68-
- 1M and 3M = 1 and 3 million random samples.
71+
- 100M and 300M = 100 and 300 million random samples, with 100 features each.
6972
- mnist = The `mnist <https://www.csie.ntu.edu
7073
.tw/~cjlin/libsvmtools/datasets/multiclass.html#mnist>`_ dataset.
74+
- 20K = Square matrix of 20 thousand rows and 20 thousand columns, with random values.
7175

7276

7377
Source code

notebooks/estimators.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
"\n",
1111
"## Requirements\n",
1212
"\n",
13-
"Apart from dislib, this notebook requires [PyCOMPSs 2.5](https://www.bsc.es/research-and-development/software-and-apps/software-list/comp-superscalar/).\n",
13+
"Apart from dislib, this notebook requires [PyCOMPSs](https://www.bsc.es/research-and-development/software-and-apps/software-list/comp-superscalar/).\n",
1414
"\n",
1515
"\n",
1616
"## Setup\n",

notebooks/tutorial.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
"\n",
1111
"## Requirements\n",
1212
"\n",
13-
"Apart from dislib, this notebook requires [PyCOMPSs 2.5](https://www.bsc.es/research-and-development/software-and-apps/software-list/comp-superscalar/).\n",
13+
"Apart from dislib, this notebook requires [PyCOMPSs](https://www.bsc.es/research-and-development/software-and-apps/software-list/comp-superscalar/).\n",
1414
"\n",
1515
"\n",
1616
"## Setup\n",

tests/performance/mn4/scripts/performance.py

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
1+
import os
12
import time
23

3-
from pycompss.api.api import compss_barrier
4+
from pycompss.api.api import compss_barrier, compss_wait_on
5+
from pycompss.api.task import task
46

57

68
def measure(name, dataset_name, func, *args, **kwargs):
@@ -10,3 +12,9 @@ def measure(name, dataset_name, func, *args, **kwargs):
1012
func(*args, **kwargs)
1113
compss_barrier()
1214
print("==== TIME ==== ", name, dataset_name, time.time() - s_time)
15+
print("In worker_working_dir: ", compss_wait_on(get_worker_working_dir()))
16+
17+
18+
@task(returns=1)
19+
def get_worker_working_dir():
20+
return os.getcwd()

0 commit comments

Comments
 (0)