Machine Learning: Building a Buy/Not-Buy AI using scikit-learn's Logistic Regression from Scratch!

Опубликовано: 30 Июнь 2026
на канале: LeSniperJF
286
3

The goal is simple, can we make a machine learning model that can accurately tell us to buy Ethereum that day or not? Yes or no from the model based on input features. Simple Binary Classification. In this comprehensive video I use the same example from my Linear Regression Crypto video (link below). I start with the final output of that video and then create a new column for buy/don't buy for each day and then use scikit-learns Logistic Regression to create, or fit, your model using Binary Classification. Then I go over the metrics required to evaluate it's effectiveness against other models (Accuracy, Precision, Recall, Confusion Matrix: True Positives, False Positives, True Negatives, and False Negatives), and test the model live with new data and finally visualize the results with graphs and discuss how we can use them to discover additional information about cryptocurrency trends, your model, and how to use this to improve the model. Make sure you have watched the previous Crypto video in the series as that is the code I start with:    • Machine Learning: Predicting Ethereum's Pr...   This video covers setting up the data to be used in this model. No detail is excluded, I go over all terminology and libraries used and most importantly, code it LIVE in front of you while explaining each step from start to finish. This ain't no 5 minute video where they go from step 1 to the Eiffel Tower in step 3. I show it all, so that takes time to do right. So, get motivated and discover the power of machine learning today!

Useful Reference(s):
The Dataset: https://www.kaggle.com/odins0n/top-50...
Pandas Docs: https://pandas.pydata.org/docs/refere...
Logistic Regression: https://scikit-learn.org/stable/modul...
Confusion Matrix: https://scikit-learn.org/stable/modul...
Precision and Recall: https://scikit-learn.org/stable/modul...
Previous Video:    • Machine Learning: Predicting Ethereum's Pr...  



Credits where Credits are Due:
-Subscribe End Screen: Graphicki    • Video  
-Live Animation: Motion Chroma | Leader    • Livestream Intro [Free to Use] ♥  
-Music: Song: Without You, Artist: MNRVA,    / ximertracks  
-Streaming Software: OBS


Thank you for watching!