No video

Plotting a NumPy Polynomial with Matplotlib

  Рет қаралды 12,507

Adam Gaweda

Adam Gaweda

Күн бұрын

Пікірлер: 11
@bijayamanandhar3890
@bijayamanandhar3890 9 ай бұрын
Thank you Adam!
@mihirmouchumhazarika1196
@mihirmouchumhazarika1196 2 жыл бұрын
Very informative video. Thanks!
@unrealreality5419
@unrealreality5419 Жыл бұрын
Very detailed, Many thanx!
@code2compass
@code2compass 6 ай бұрын
What if we want to plot residuals? How can we use polyfit for anomaly detection in data?
@sknnyjnsndvnckss
@sknnyjnsndvnckss 3 жыл бұрын
Awesome video Adam this was more helpful to me in 9 minutes than in the half-hour I spent searching numpy and python websites! My personal gut response at 2:23 would be to type 'for i in range (1,21)' to avoid using (i+1) in the for loop. Would that also be alright to do?
@AMGaweda
@AMGaweda 3 жыл бұрын
Yup, both would generate your 1-20 numbers! It generally depends on what my loop is "doing" but I'll do the version in the video, the range(1,21) style approach, or another tactic I like to do is to make a variable as the first line in the loop that does whatever calculations or "whatever" is needed. I mostly use the last one for when I'm working with lists that have a long variable number, so it just helps shorten my writing.
@nosratullahmohammadi1098
@nosratullahmohammadi1098 3 жыл бұрын
Thanks. It was very informative. How to get an error bar for how wrong we are? Like the one that the seaborn regression plot uses?
@AMGaweda
@AMGaweda 3 жыл бұрын
You'd want to use matplotlib's fillbetween function. Here's a link to their documentation with an example similar to seaborn's: matplotlib.org/3.2.1/gallery/lines_bars_and_markers/fill_between_demo.html#example-confidence-bands
@trademain1278
@trademain1278 4 жыл бұрын
Can this be used to forecast a time series such as financial prices?
@AMGaweda
@AMGaweda 4 жыл бұрын
Possibly! Most financial forecasts use linear regression, but it's only like Step 1 of their process. If you end up figuring out how to make millions... I would not complain over some royalties :D
@theshortcut101
@theshortcut101 4 жыл бұрын
nice! funny what happened :)
Working with Matplotlib Subplots
8:46
Adam Gaweda
Рет қаралды 860
Polynomial Regression in Python
20:18
NeuralNine
Рет қаралды 45 М.
Please Help Barry Choose His Real Son
00:23
Garri Creative
Рет қаралды 23 МЛН
When you discover a family secret
00:59
im_siowei
Рет қаралды 23 МЛН
小丑把天使丢游泳池里#short #angel #clown
00:15
Super Beauty team
Рет қаралды 48 МЛН
🩷🩵VS👿
00:38
ISSEI / いっせい
Рет қаралды 28 МЛН
NumPy vs SciPy
7:56
IBM Technology
Рет қаралды 36 М.
Seaborn Is The Easier Matplotlib
22:39
NeuralNine
Рет қаралды 169 М.
Curve Fitting using Numpy's Polyfit Function
6:59
Adam Gaweda
Рет қаралды 35 М.
Simulated Annealing
17:45
Adam Gaweda
Рет қаралды 12 М.
Linear and Polynomial Regression in Python
15:22
APMonitor.com
Рет қаралды 200 М.
Polyfit and Polyval
17:52
DarkfrostTGF
Рет қаралды 16 М.
Curve fitting in Python with curve_fit
51:26
Brant Carlson
Рет қаралды 67 М.
How to: Import, Plot, Fit, and Integrate Data in Python
24:11
How Karatsuba's algorithm gave us new ways to multiply
18:48
Nemean
Рет қаралды 1,1 МЛН
Please Help Barry Choose His Real Son
00:23
Garri Creative
Рет қаралды 23 МЛН