summaryrefslogtreecommitdiff
path: root/doc/release
diff options
context:
space:
mode:
authorCharles Harris <charlesr.harris@gmail.com>2016-01-18 08:41:27 -0700
committerCharles Harris <charlesr.harris@gmail.com>2016-01-18 08:41:27 -0700
commitaa824670cf6ad21c2f921856ba4eec00781347fe (patch)
tree4eb4b2157c37781a94626034a17917f303e7df50 /doc/release
parent9872212bdfb3bb81f66840bb3914dc56896beba7 (diff)
parent082e1a8e690f304d1ce5b73aa03d179a25cdf3c6 (diff)
downloadnumpy-aa824670cf6ad21c2f921856ba4eec00781347fe.tar.gz
Merge pull request #6360 from jonathanunderwood/legfit_restrict_terms
ENH: Allow specification of terms to fit in polynomial fitting functions
Diffstat (limited to 'doc/release')
-rw-r--r--doc/release/1.11.0-notes.rst9
1 files changed, 9 insertions, 0 deletions
diff --git a/doc/release/1.11.0-notes.rst b/doc/release/1.11.0-notes.rst
index e541a4739..ea0e41694 100644
--- a/doc/release/1.11.0-notes.rst
+++ b/doc/release/1.11.0-notes.rst
@@ -240,6 +240,15 @@ arguments cannot be cast to a common type, it could have raised a ``TypeError``
or ``ValueError`` depending on their order. Now, ``np.dot`` will now always
raise a ``TypeError``.
+numpy.polynomial.*fit now supports restricted fitting
+~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+The ``deg`` parameter was extended to allow restricted fitting of
+specified terms in the polynomial expansion for all polynomial
+types. This change is backward compatible and it is still possible to
+specify ``deg`` as a single integer to specify the maximum
+order/degree of polynomial used in the fit, but it is now possible for
+``deg`` to be a list specifying which terms in the series to fit.
+
Deprecations
============