Linear Regression Model Techniques with Python, NumPy, pandas and Seaborn

Linear Regression Model Techniques with Python, NumPy, pandas and Seaborn

Matt Macarty

2 года назад

56,363 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

@alvarezhenao
@alvarezhenao - 17.10.2023 06:53

Hello Matt, first of all, thank you for your work. I have tried to reproduce this exercise and when executing the line

'data = pdr.get_data_yahoo(stocks, start)'

I get the following error message:

'TypeError: string indices must be integers, not 'str'.

I have tried to solve it in different ways, but nothing, it always gives me that message. I downloaded your code in case there was something written incorrectly, and it gives me the same error. Any suggestions?

Ответить
@mamunmd.abdullahall5122
@mamunmd.abdullahall5122 - 09.04.2023 12:31

import pandas_datareader as pdr is not working , what shoul di do

Ответить
@tialynn1111
@tialynn1111 - 28.01.2023 05:29

Thank you! Is this also good for predicting a range? Say 30 periods out?

Ответить
@PaoloCondo
@PaoloCondo - 24.01.2023 12:06

Thank you for your work and the video!

Ответить
@anthonychung2907
@anthonychung2907 - 21.11.2022 15:17

what to do if the x-axis is time series ?

Ответить
@eliotharreau7627
@eliotharreau7627 - 14.10.2022 04:20

Very Nice, Hello Matt, in the section "trend as a technical indicateur", how to put the value of the trend line in a dataframe to detect later when it cross the curve ? Thank you. 👍👍

Ответить
@philtoa334
@philtoa334 - 30.07.2022 12:52

Very good Thank you.

Ответить
@nicholasrackard-hilt1619
@nicholasrackard-hilt1619 - 13.07.2022 02:36

Thank you for the video!! How would I add another more trend lines to subset set specific times or dates? I am trying to plot my X and Y for 9 am 10am 12pm and have multiple trend lines. Hope that makes sense, thank you in advance!

Ответить
@satonaka123
@satonaka123 - 03.06.2022 07:42

Thank you Matt. Would like to know what is different btw "np.log().diff()" and "pct_change().cumsum()", I've tried those two syntax then got a different result. Could you pls solve this question? Thanks again Matt.

Ответить
@fuhat1040
@fuhat1040 - 01.06.2022 04:01

i got two points

Ответить
@iamekid8299
@iamekid8299 - 28.04.2022 19:13

Hi there, firstly great video! How would it be possible to add another variable to the trend line? So essentially it would be multiple linear regression

Ответить
@Joe-xo2yd
@Joe-xo2yd - 02.04.2022 18:52

Matt, if I wanted to take the first derivative of the linear regression function, how could I execute that? is there a certain package?

Ответить
@brentnunn2595
@brentnunn2595 - 19.03.2022 23:49

Thank you Matt. You explain things so well. I've watched several of your videos and intend to watch more.

Ответить
@amanrai5285
@amanrai5285 - 15.01.2022 20:52

Thank you sir for explaing the code in the detail

Ответить
@jamesnelligan660
@jamesnelligan660 - 14.01.2022 17:57

i get error: "ModuleNotFoundError: No module named 'pandas_datareader'"

Ответить
@get_busy_living
@get_busy_living - 24.12.2021 20:05

Thank you for this. I was looking for a way to code a trend line. With many traders it becomes subjective. This makes it more precise.

Ответить
@Shinykip
@Shinykip - 11.07.2021 16:58

Could you possibly provide a link to the data set you actually used in this tutorial? I would like to follow it locally on my PC as I go through this. Thank you.

Ответить
@danieleliahushapiro4280
@danieleliahushapiro4280 - 08.07.2021 05:02

Correlation != Causality !!!

Ответить
@tonyhathuc
@tonyhathuc - 08.07.2021 04:40

Hi I am running into this error:

No data fetched using 'YahooDailyReader'

Ответить