summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authortpoole <t.b.poole@gmail.com>2014-08-13 13:22:37 +0100
committertpoole <t.b.poole@gmail.com>2015-05-13 10:00:05 +0100
commitd87d2ca584b888bcc48fd2fd25c07eb0c08c0939 (patch)
treeef3f02fe2166745004a7b78676c4bdf4d05b99ce /doc
parent30e3d41b6d11c18e17eb283a61bbe9bbf4bb4d8f (diff)
downloadnumpy-d87d2ca584b888bcc48fd2fd25c07eb0c08c0939.tar.gz
ENH: add 'fweights' and 'aweights' arguments to covariance calculations.
'fweights' allows integer frequencies to be specified for observation vectors, and 'aweights' provides a more general importance or probabalistic weighting.
Diffstat (limited to 'doc')
-rw-r--r--doc/release/1.10.0-notes.rst12
1 files changed, 10 insertions, 2 deletions
diff --git a/doc/release/1.10.0-notes.rst b/doc/release/1.10.0-notes.rst
index 305fe0010..873b7526c 100644
--- a/doc/release/1.10.0-notes.rst
+++ b/doc/release/1.10.0-notes.rst
@@ -116,8 +116,8 @@ extensions is now performed in *n* parallel processes.
The parallelization is limited to files within one extension so projects using
Cython will not profit because it builds extensions from single files.
-*genfromtxt* has an new ``max_rows`` argument
-~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+*genfromtxt* has a new ``max_rows`` argument
+~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
A ``max_rows`` argument has been added to *genfromtxt* to limit the
number of rows read in a single call. Using this functionality, it is
possible to read in multiple arrays stored in a single file by making
@@ -142,6 +142,14 @@ you will not be able to emit the warning or test it. The context manager
``clear_and_catch_warnings`` clears warnings from the module registry on entry
and resets them on exit, meaning that warnings can be re-raised.
+*cov* has new ``fweights`` and ``aweights`` arguments
+~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+The ``fweights`` and ``aweights`` arguments add new functionality to
+covariance calculations by applying two types of weighting to observation
+vectors. An array of ``fweights`` indicates the number of repeats of each
+observation vector, and an array of ``aweights`` provides their relative
+importance or probability.
+
Improvements
============