diff options
author | Jonathan Underwood <jonathan.underwood@gmail.com> | 2016-01-18 14:30:49 +0000 |
---|---|---|
committer | Jonathan Underwood <jonathan.underwood@gmail.com> | 2016-01-18 14:30:49 +0000 |
commit | 082e1a8e690f304d1ce5b73aa03d179a25cdf3c6 (patch) | |
tree | 4eb4b2157c37781a94626034a17917f303e7df50 /doc | |
parent | 4dd71a3ab7bd019e36998e7c5f98ec2345539f18 (diff) | |
download | numpy-082e1a8e690f304d1ce5b73aa03d179a25cdf3c6.tar.gz |
Add release note for polynomial fit deg changes
Diffstat (limited to 'doc')
-rw-r--r-- | doc/release/1.11.0-notes.rst | 9 |
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 ============ |