mathstodon.xyz: About · Status · Profiles directory · Privacy policy
Mastodon: About · Get the app · Keyboard shortcuts · View source code · v4.3.7
Scipy 1.15.0 is out!
https://docs.scipy.org/doc/scipy/release/1.15.0-notes.html
Some of my favorite features are the new `differentiate` submodule that can compute numerical derivatives of functions with an auto-adaptive stepsize, and the brand new `stats` API that defines probability distributions as Python classes that you can compute with (for example `exp(Normal())` to create a log-normal distribution)!
And I also did one thing! I allowed the `integrate.trapezoid` function to work with non-numpy arrays
Optimal rational approximation using SciPy
In this article we solve a non-linear curve fitting problem using the SciPy library. SciPy is especially well-suiting to solving this type of problem, as it includes a variety of functions for fitting and optimizing non-linear functions.
Along the way, we illustrate how to use SciPy's curve_fit and minimize functions for this type of task. In addition, we look at some good practices to apply when solving this type of problem.
#python #scipy #orms
https://www.solvermax.com/blog/optimal-rational-approximation-using-scipy
#Scipy 1.15.0 relased!!
Huge improvements and new stuff.
Very insteresting to read the realease notes https://github.com/scipy/scipy/releases/tag/v1.15.0
Code at: https://github.com/villares/sketch-a-day/tree/main/2025/sketch_2025_01_01
More sketch-a-day: https://abav.lugaralgum.com/sketch-a-day
If you like this, support my work: https://www.paypal.com/donate/?hosted_button_id=5B4MZ78C9J724
#genuary1 #genuary2025 #shapely #scipy #Processing #Python #py5 #CreativeCoding
Code at: https://github.com/villares/sketch-a-day/tree/main/2024/sketch_2024_12_27
More sketch-a-day: https://abav.lugaralgum.com/sketch-a-day
I really need your support to keep going, if you can, donate any amount at: https://www.paypal.com/donate/?hosted_button_id=5B4MZ78C9J724 #scipy #Delaunay #Processing #Python #py5 #CreativeCoding
Mastodon is the best way to keep up with what's happening.
Follow anyone across the fediverse and see it all in chronological order. No algorithms, ads, or clickbait in sight.
Create accountLogin