chore(deps): update dependency scipy to v1.6.1#5379
Merged
leahecole merged 4 commits intoFeb 18, 2021
Conversation
leahecole
approved these changes
Feb 18, 2021
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
==1.5.4->==1.6.1Release Notes
scipy/scipy
v1.6.1Compare Source
SciPy 1.6.1 Release Notes
SciPy
1.6.1is a bug-fix release with no new featurescompared to
1.6.0.Please note that for SciPy wheels to correctly install with pip on
macOS 11, pip
>= 20.3.3is needed.Authors
A total of 11 people contributed to this release.
People with a "+" by their names contributed a patch for the first time.
This list of names is automatically generated, and may not be fully complete.
v1.6.0Compare Source
SciPy 1.6.0 Release Notes
SciPy
1.6.0is the culmination of 6 months of hard work. It containsmany new features, numerous bug-fixes, improved test coverage and better
documentation. There have been a number of deprecations and API changes
in this release, which are documented below. All users are encouraged to
upgrade to this release, as there are a large number of bug-fixes and
optimizations. Before upgrading, we recommend that users check that
their own code does not use deprecated SciPy functionality (to do so,
run your code with
python -Wdand check forDeprecationWarnings).Our development attention will now shift to bug-fix releases on the
1.6.xbranch, and on adding new features on the master branch.This release requires Python
3.7+and NumPy1.16.5or greater.For running on PyPy, PyPy3
6.0+is required.Highlights of this release
scipy.ndimageimprovements: Fixes and ehancements to boundary extensionmodes for interpolation functions. Support for complex-valued inputs in many
filtering and interpolation functions. New
grid_modeoption forscipy.ndimage.zoomto enable results consistent with scikit-image'srescale.scipy.optimize.linproghas fast, new methods for large, sparse problemsfrom the
HiGHSlibrary.scipy.statsimprovements including new distributions, a new test, andenhancements to existing distributions and tests
New features
scipy.specialimprovementsscipy.specialnow has improved support for 64-bitLAPACKbackendscipy.odrimprovementsscipy.odrnow has support for 64-bit integerBLASscipy.odr.ODRhas gained an optionaloverwriteargument so that existingfiles may be overwritten.
scipy.integrateimprovementsSome renames of functions with poor names were done, with the old names
retained without being in the reference guide for backwards compatibility
reasons:
integrate.simpswas renamed tointegrate.simpsonintegrate.trapzwas renamed tointegrate.trapezoidintegrate.cumtrapzwas renamed tointegrate.cumulative_trapezoidscipy.clusterimprovementsscipy.cluster.hierarchy.DisjointSethas been added for incrementalconnectivity queries.
scipy.cluster.hierarchy.dendrogramreturn value now also includes leaf colorinformation in
leaves_color_list.scipy.interpolateimprovementsscipy.interpolate.interp1dhas a new methodnearest-up, similar to theexisting method
nearestbut rounds half-integers up instead of down.scipy.ioimprovementsSupport has been added for reading arbitrary bit depth integer PCM WAV files
from 1- to 32-bit, including the commonly-requested 24-bit depth.
scipy.linalgimprovementsThe new function
scipy.linalg.matmul_toeplitzuses the FFT to compute theproduct of a Toeplitz matrix with another matrix.
scipy.linalg.sqrtmandscipy.linalg.logmhave performance improvementsthanks to additional Cython code.
Python
LAPACKwrappers have been added forpptrf,pptrs,ppsv,pptri, andppcon.scipy.linalg.normand thesvdfamily of functions will now use 64-bitinteger backends when available.
scipy.ndimageimprovementsscipy.ndimage.convolve,scipy.ndimage.correlateand their 1d counterpartsnow accept both complex-valued images and/or complex-valued filter kernels. All
convolution-based filters also now accept complex-valued inputs
(e.g.
gaussian_filter,uniform_filter, etc.).Multiple fixes and enhancements to boundary handling were introduced to
scipy.ndimageinterpolation functions (i.e.affine_transform,geometric_transform,map_coordinates,rotate,shift,zoom).A new boundary mode,
grid-wrapwas added which wraps images periodically,using a period equal to the shape of the input image grid. This is in contrast
to the existing
wrapmode which uses a period that is one sample smallerthan the original signal extent along each dimension.
A long-standing bug in the
reflectboundary condition has been fixed andthe mode
grid-mirrorwas introduced as a synonym forreflect.A new boundary mode,
grid-constantis now available. This is similar tothe existing ndimage
constantmode, but interpolation will still performedat coordinate values outside of the original image extent. This
grid-constantmode is consistent with OpenCV'sBORDER_CONSTANTmodeand scikit-image's
constantmode.Spline pre-filtering (used internally by
ndimageinterpolation functionswhen
order >= 2), now supports all boundary modes rather than alwaysdefaulting to mirror boundary conditions. The standalone functions
spline_filterandspline_filter1dhave analytical boundary conditionsthat match modes
mirror,grid-wrapandreflect.scipy.ndimageinterpolation functions now accept complex-valued inputs. Inthis case, the interpolation is applied independently to the real and
imaginary components.
The
ndimagetutorials(https://docs.scipy.org/doc/scipy/reference/tutorial/ndimage.html) have been
updated with new figures to better clarify the exact behavior of all of the
interpolation boundary modes.
scipy.ndimage.zoomnow has agrid_modeoption that changes the coordinateof the center of the first pixel along an axis from 0 to 0.5. This allows
resizing in a manner that is consistent with the behavior of scikit-image's
resizeandrescalefunctions (and OpenCV'scv2.resize).scipy.optimizeimprovementsscipy.optimize.linproghas fast, new methods for large, sparse problems fromthe
HiGHSC++ library.method='highs-ds'uses a high performance dualrevised simplex implementation (HSOL),
method='highs-ipm'uses aninterior-point method with crossover, and
method='highs'chooses betweenthe two automatically. These methods are typically much faster and often exceed
the accuracy of other
linprogmethods, so we recommend explicitlyspecifying one of these three method values when using
linprog.scipy.optimize.quadratic_assignmenthas been added for approximate solutionof the quadratic assignment problem.
scipy.optimize.linear_sum_assignmentnow has a substantially reduced overheadfor small cost matrix sizes
scipy.optimize.least_squareshas improved performance when the user providesthe jacobian as a sparse jacobian already in
csr_matrixformatscipy.optimize.linprognow has anrr_methodargument for specificationof the method used for redundancy handling, and a new method for this purpose
is available based on the interpolative decomposition approach.
scipy.signalimprovementsscipy.signal.gammatonehas been added to design FIR or IIR filters thatmodel the human auditory system.
scipy.signal.iircombhas been added to design IIR peaking/notching combfilters that can boost/attenuate a frequency from a signal.
scipy.signal.sosfiltperformance has been improved to avoid some previously-observed slowdowns
scipy.signal.windows.taylorhas been added--the Taylor window function iscommonly used in radar digital signal processing
scipy.signal.gauss_splinenow supportslisttype input for consistencywith other related SciPy functions
scipy.signal.correlation_lagshas been added to allow calculation of the lag/displacement indices array for 1D cross-correlation.
scipy.sparseimprovementsA solver for the minimum weight full matching problem for bipartite graphs,
also known as the linear assignment problem, has been added in
scipy.sparse.csgraph.min_weight_full_bipartite_matching. In particular, thisprovides functionality analogous to that of
scipy.optimize.linear_sum_assignment, but with improved performance for sparseinputs, and the ability to handle inputs whose dense representations would not
fit in memory.
The time complexity of
scipy.sparse.block_diaghas been improved dramaticallyfrom quadratic to linear.
scipy.sparse.linalgimprovementsThe vendored version of
SuperLUhas been updatedscipy.fftimprovementsThe vendored
pocketfftlibrary now supports compiling with ARM neon vectorextensions and has improved thread pool behavior.
scipy.spatialimprovementsThe python implementation of
KDTreehas been dropped andKDTreeis nowimplemented in terms of
cKDTree. You can now expectcKDTree-likeperformance by default. This also means
sys.setrecursionlimitno longerneeds to be increased for querying large trees.
transform.Rotationhas been updated with support for Modified RodriguesParameters alongside the existing rotation representations (PR gh-12667).
scipy.spatial.transform.Rotationhas been partially cythonized, with someperformance improvements observed
scipy.spatial.distance.cdisthas improved performance with theminkowskimetric, especially for p-norm values of 1 or 2.
scipy.statsimprovementsNew distributions have been added to
scipy.stats:scipy.stats.laplace_asymmetric.scipy.stats.nhypergeom.scipy.stats.multivariate_t.scipy.stats.multivariate_hypergeom.The
fitmethod has been overridden for several distributions (laplace,pareto,rayleigh,invgauss,logistic,gumbel_l,gumbel_r); they now use analytical, distribution-specific maximumlikelihood estimation results for greater speed and accuracy than the generic
(numerical optimization) implementation.
The one-sample Cramér-von Mises test has been added as
scipy.stats.cramervonmises.An option to compute one-sided p-values was added to
scipy.stats.ttest_1samp,scipy.stats.ttest_ind_from_stats,scipy.stats.ttest_indandscipy.stats.ttest_rel.The function
scipy.stats.kendalltaunow has an option to compute Kendall'stau-c (also known as Stuart's tau-c), and support has been added for exact
p-value calculations for sample sizes
> 171.stats.trapzwas renamed tostats.trapezoid, with the former name retainedas an alias for backwards compatibility reasons.
The function
scipy.stats.linregressnow includes the standard error of theintercept in its return value.
The
_logpdf,_sf, and_isfmethods have been added toscipy.stats.nakagami;_sfand_isfmethods also added toscipy.stats.gumbel_rThe
sfmethod has been added toscipy.stats.levyandscipy.stats.levy_lfor improved precision.
scipy.stats.binned_statistic_ddperformance improvements for the followingcomputed statistics:
max,min,median, andstd.We gratefully acknowledge the Chan-Zuckerberg Initiative Essential Open Source
Software for Science program for supporting many of these improvements to
scipy.stats.Deprecated features
scipy.spatialchangesCalling
KDTree.querywithk=Noneto find all neighbours is deprecated.Use
KDTree.query_ball_pointinstead.distance.wminkowskiwas deprecated; usedistance.minkowskiand supplyweights with the
wkeyword instead.Backwards incompatible changes
scipychangesUsing
scipy.fftas a function aliasingnumpy.fft.fftwas removed afterbeing deprecated in SciPy
1.4.0. As a result, thescipy.fftsubmodulemust be explicitly imported now, in line with other SciPy subpackages.
scipy.signalchangesThe output of
decimate,lfilter_zi,lfiltic,sos2tf, andsosfilt_zihave been changed to matchnumpy.result_typeof their inputs.The window function
slepianwas removed. It had been deprecated since SciPy1.1.scipy.spatialchangescKDTree.querynow returns 64-bit rather than 32-bit integers on Windows,making behaviour consistent between platforms (PR gh-12673).
scipy.statschangesThe
frechet_landfrechet_rdistributions were removed. They weredeprecated since SciPy
1.0.Other changes
setup_requireswas removed fromsetup.py. This means that usersinvoking
python setup.py installwithout having numpy already installedwill now get an error, rather than having numpy installed for them via
easy_install. This install method was always fragile and problematic, usersare encouraged to use
pipwhen installing from source.scipy.optimize.dual_annealingaccept_rejectcalculationthat caused uphill jumps to be accepted less frequently.
scipy.stats.rv_continuous,scipy.stats.rv_discrete, andscipy.stats.rv_frozenhas been significantlyreduced (gh12550). Inheriting subclasses should note that
__setstate__nolonger calls
__init__upon unpickling.Authors
A total of 122 people contributed to this release.
People with a "+" by their names contributed a patch for the first time.
This list of names is automatically generated, and may not be fully complete.
Renovate configuration
📅 Schedule: At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻️ Rebasing: Renovate will not automatically rebase this PR, because other commits have been found.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by WhiteSource Renovate. View repository job log here.