Skip to content

Commit

Permalink
Updated software version to 0.14.
Browse files Browse the repository at this point in the history
  • Loading branch information
tboggs committed Feb 23, 2014
1 parent 11950a9 commit 8e6ea1d
Show file tree
Hide file tree
Showing 3 changed files with 56 additions and 1 deletion.
4 changes: 4 additions & 0 deletions CHANGELOG.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@
# Spectral Python (SPy) package change log
##############################################################################

2014-02-23 tboggs <[email protected]>

Updated version to 0.14.

2014-02-21 tboggs <[email protected]>

If available, use Pillow module instead of PIL.
Expand Down
51 changes: 51 additions & 0 deletions VERSIONS.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,54 @@
================================================================================
SPy 0.14.0
================================================================================
Release date: 2014.02.22

Changes
-------

* Attempt to use Pillow fork of PIL, if available, rather than older PIL.

* `view_cube` now uses common color scale limits on all side faces.

* When creating an `AsterDatabase` instance, directories in the `SPECTRAL_DATA`
environment variable are search for the specified file (after the current
directory).

* `spectral.imshow` accepts an optional `fignum` argument to render to an
existing figure.

* Class labels in a `spectral.imshow` window can be reassigned even when class
labels were not provided in the function call (all pixels will start with
class 0).

* File `spectral/algorithms/perceptron.py` can be used independently of the
rest of the package.

Bug Fixes
---------

* Front and left sides of the image cube displayed by `view_cube` were
mirrored left-right. Cube aspect ratio was being computed incorrectly for
non-square images. These bugs were introduced by a recent release.

* Global covariance was not being scaled properly in the
`MahalanobisDistanceClassifier`. Mathematically, it does not affect results
and did not affect results on the test data but for large covariance with
many classes, it could have cause rounding/truncation that would affect
results.

* PerceptronClassifier constructor was failing due to recent changes in
base class code. Unit tests have been added to ensure it continues to work
properly.


Performance Improvements
------------------------

* PerceptronClassifier is roughly an order of magnitude faster due to better
use of numpy. Inputs are now scaled and weights are initialized withing the
data limits, which usually results in fewer iterations for convergence.

================================================================================
SPy 0.13
================================================================================
Expand Down
2 changes: 1 addition & 1 deletion spectral/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
# Thomas Boggs, [email protected]
#

__version__ = '0.13'
__version__ = '0.14'

import sys
if sys.byteorder == 'little':
Expand Down

0 comments on commit 8e6ea1d

Please sign in to comment.