diff options
Diffstat (limited to 'doc/release/1.11.0-notes.rst')
-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 ============ |