SciPy curve_fit: What is 'pcov'?

preview_player
Показать описание
Check out my course on UDEMY: learn the skills you need for coding in STEM:

In this video I show what errors on optimal parameters obtained using a curve fit actually mean. My video on curve fitting can be found here:

Tutorial Playlist:

Code:

Discord:
Рекомендации по теме
Комментарии
Автор

I'm learning about probability density functions (pdf) and cumulative distribution functions (cdf) this week in class. I didn't realize how applicable statistics is to programming.

henryclay
Автор

Without any doubt, the best videos on scientific applications of Python. Thank you very much.

robertoparreiras
Автор

Great explanation. Also love the basic ones such as the class video from zero. Please do more of those!

slvfelix
Автор

It was discovered that plt.errorbar() does not tolerate any native yerr_data!
Thus, your code needed to be modified as seen here:
yerr_data =
YERROR MUST ALWAYS BE POSITIVE TO AVOID TRACEBACK ERRORS!

frankkoslowski
Автор

Great explanation! Just in time before a lab session where I’ll have to do nonlinear fitting

martinzapata
Автор

You should do a tutorial on Lmfit. It's really advanced and built on top curve fit.

SubhadipDas
Автор

Thank you! Your tutorials are very clear and useful!

GabrieleIuzzolino
Автор

Great content! Hope that you'll continue making more of these videos :)

StasFainer
Автор

Nice
1. what if using the KDE instead the χ^2 to find the pdf of a set of data, sometimes distributed differently and with some "outliers"?
2. Why not to use the sklearn to fit quite automatically (without specifying the curve fit equation ) a set of data?

matteopiccioni
Автор

It raised an error even for error bar graph saying: ValueError: 'yerr' must not contain negative values

divyanshshrimali
Автор

Awesome, simply a bull's eye explanation

MrRKK
Автор

Can you please do a video on linear programming in python with PULP library !!!

sivadeepak
Автор

What if I don't have an error for each point?

sirlimonada
Автор

at 11:01, are the parameters in the formula for a normal distribution flipped?

phunmaster
Автор

Wait why was i expecting a bird to appear?

ScienceVocalsMusic
Автор

I Imagine Billy trying to do this. Poor Billy. Not that I would do much better before watching the video 😅

gabrielzinatorosa