Stock Market Clustering With Python
HTML-код
- Опубликовано: 1 июн 2024
- In this video we cluster the stock market into categories with Python.
DISCLAIMER: This is not investing advice. I am not a professional who is qualified in giving any financial advice. This is a video purely about programming using financial data.
◾◾◾◾◾◾◾◾◾◾◾◾◾◾◾◾◾
📚 Programming Books & Merch 📚
🐍 The Python Bible Book: www.neuralnine.com/books/
💻 The Algorithm Bible Book: www.neuralnine.com/books/
👕 Programming Merch: www.neuralnine.com/shop
🌐 Social Media & Contact 🌐
📱 Website: www.neuralnine.com/
📷 Instagram: / neuralnine
🐦 Twitter: / neuralnine
🤵 LinkedIn: / neuralnine
📁 GitHub: github.com/NeuralNine
🎙 Discord: / discord
🎵 Outro Music From: www.bensound.com/ - Наука
You may want to determine the "quality" of the clusters by calculating the silhouette score (available in scikit learn), and iterate on a growing number of clusters until you have the maximum score. Or, you can use a clustering algo that determines the best number of clusters, like the Affinity Propagation (also in scikit learn).
Thanks for watching, contact for investment assistance
W=H=A=T=S=A=P=P
+1/9/0/9/2/8/0/5/5/5/8
Thank you for this video. Helped me understand quite a few things. All the best!
For everyone who has a problem to get the data from yahoo.
You can use another source, use "stooq" instead of "yahoo", than it will work!
Thanks for watching, contact for investment assistance
W=H=A=T=S=A=P=P
+1/9/0/9/2/8/0/5/5/5/8
This worked and saved my day. Thank you!
Definitely going to start a new project after this!
Great video! thanks so much!
Great video as always. Thank you
Finally a video I can follow as a noob with good explanations.
Great video! Quick question, how did you get the pandas datareader to work? Keep getting remote data error, unable to read URL
Thanks for watching, contact for investment assistance
W=H=A=T=S=A=P=P
+1/9/0/9/2/8/0/5/5/5/8
Getting this error, anyone?
SymbolWarning: Failed to read symbol: 'AAPL', replacing with NaN.
warnings.warn(msg.format(sym), SymbolWarning)
Thanks for watching, contact for investment assistance
W=H=A=T=S=A=P=P
+1/9/0/9/2/8/0/5/5/5/8
yes i am getting the same error
What happens if I use 'clustering' feature in PowerBi rather than manually program with Python? Will I get similar results? How do we know how 'tight' the clusters are, high or low sensitivity? Thx.
Thanks for watching, contact for investment assistance
W=H=A=T=S=A=P=P
+1/9/0/9/2/8/0/5/5/5/8.
Your all video amazing, can you please make a video for how to locally setup tacotron 2 deep speech ?
is it just me or you do never use Jupyter Notebook when doing machine learning, and stuffs?
The code was working well, then I randomly started getting this error
Traceback (most recent call last):
File "c:\Users\steve\Desktop\VS CODE\cluster.py", line 25, in
open_values = np.array(data['Open'].T)
Any idea what's going on? Thanks
1d array 2d array thing . Check the values of array.size
Where can I find the data for this?
Hey, nice video as always. Can you make a video on networking with twisted framework.
@@michaelhudson1540 someones lacking in the mental department...
It actually should be possible to investigate those clusters, then look whether one is leading another, by that, you could have a pretty good prediction of the stocks of another company. OFC THIS IS NOT A ROCK SOLID IDEA, DIFFERENT COMPANIES REACT DIFFERENT WAYS, would still be interesting tho ngl.
Thanks for watching, contact for investment assistance
W=H=A=T=S=A=P=P
+1/9/0/9/2/8/0/5/5/5/8
brother , you are a gift
appreciate it brother ^^
Thanks for watching, contact for investment assistance
W=H=A=T=S=A=P=P
+1/9/0/9/2/8/0/5/5/5/8.
Just in time bro❤
^^
Thanks for watching, contact for investment assistance
W=H=A=T=S=A=P=P
+1/9/0/9/2/8/0/5/5/5/8.
Mcdonalds is not a food company but a real estate investor
Everytime I try using the yahoo_fin api I get the same failed to read symbol warning for all stocks. Does anyone know how to fix this?
Same here!
You can use another source, use "stooq" instead of "yahoo", than it will work!
Thanks for watching, contact for investment assistance
W=H=A=T=S=A=P=P
+1/9/0/9/2/8/0/5/5/5/8.
McDonalds at its core is a real estate company that sells food.
good work ❤
thanks
Thanks for watching, contact for investment assistance
W=H=A=T=S=A=P=P
+1/9/0/9/2/8/0/5/5/5/8.
#1
Thanks for watching, contact for investment assistance
W=H=A=T=S=A=P=P
+1/9/0/9/2/8/0/5/5/5/8.
2nd
congratulations, you have achieved: "Nothing"
Thanks for watching, contact for investment assistance
W=H=A=T=S=A=P=P
+1/9/0/9/2/8/0/5/5/5/8.
Line 13 and 28, you use the same variable ->clusters
same. i got the same error
one variable is named and the other one is (plural)