How to Build Your First Decision Tree in Python (scikit-learn)
Вставка
- Опубліковано 15 жов 2024
- Are you intrigued by the power of decision-making in machine learning?
By the end of this tutorial, you'll have a solid grasp of Decision Trees, be capable of implementing them in Python, and understand their role in various machine learning projects.
What you'll discover:
The fundamentals of Decision Trees: How they make decisions and create splits
Hands-on coding: Building Decision Trees in Python using popular libraries
Pruning and preventing overfitting: Strategies for optimizing Decision Tree performance
Interested in discussing a Data or AI project? Feel free to reach out via email or simply complete the contact form on my website.
📧 Email: ryannolandata@gmail.com
🌐 Website & Blog: ryannolandata....
🍿 WATCH NEXT
Scikit-Learn and Machine Learning Playlist: • Scikit-Learn Tutorials...
KNN Classification: • How to Build Your Firs...
Logistic Regression: • Hands-On Machine Learn...
Support Vector Machine: • Mastering Support Vect...
MY OTHER SOCIALS:
👨💻 LinkedIn: / ryan-p-nolan
🐦 Twitter: / ryannolan_
⚙️ GitHub: github.com/Rya...
🖥️ Discord: / discord
📚 *Data and AI Courses: datacamp.pxf.i...
📚 *Practice SQL & Python Interview Questions: stratascratch....
WHO AM I?
As a full-time data analyst/scientist at a fintech company specializing in combating fraud within underwriting and risk, I've transitioned from my background in Electrical Engineering to pursue my true passion: data. In this dynamic field, I've discovered a profound interest in leveraging data analytics to address complex challenges in the financial sector.
This UA-cam channel serves as both a platform for sharing knowledge and a personal journey of continuous learning. With a commitment to growth, I aim to expand my skill set by publishing 2 to 3 new videos each week, delving into various aspects of data analytics/science and Artificial Intelligence. Join me on this exciting journey as we explore the endless possibilities of data together.
*This is an affiliate program. I may receive a small portion of the final sale at no extra cost to you.
Hey guys I hope you enjoyed the video! If you did please subscribe to the channel!
Join our Data Science Discord Here: discord.com/invite/F7dxbvHUhg
If you want to watch a full course on Machine Learning check out Datacamp: datacamp.pxf.io/XYD7Qg
Want to solve Python data interview questions: stratascratch.com/?via=ryan
I'm also open to freelance data projects. Hit me up at ryannolandata@gmail.com
*Both Datacamp and Stratascratch are affiliate links.
This was so helpful and straight to the point.
Tbh, I got the logic from other channels but the implementation here was a breeze.
I am dragging my friends here.
God bless!
Thanks
Amazing! You explained the task concisely and clearly! Thank you very much!
Glad it was helpful!
Wonderful, this video saved me hours of reading documentation. Thank you very much 👍
Great video. Thanks man , this video helped me with my Final assessment
No problem
Thanks, Ryan. You are the best. Quick question- does it matter if i use the standard scaler for the data. If so, do i perform it before train test split or after? Also, i think it may be best if you put this in front of the Random Forest on your playlist. Thanks again
I'll move this infront of it now, thanks. I've been working on revamping the playlists and desxcriptions this week. Preprocess your data before you split btw
Great video and explanation, didn't believe that you only have 8k subs...
I’ve only had the channel for a year. I wish I had more though!
13 is the number of features right? so if I have 60 columns 0:60?
Thanks for the video! I have a question, in this part that we're talking about the importance of each feature(11:47), is it calculated by the gini?
Thanks so much for your video but i have a question, I follow everything you did but when i do the print(classification_report(y_test, y_pred)) i have 7 rows, not only two.
Why did this happen?
Hey man, I'm quite new to machine learning and I would like to know what IDE are you using in this video?
Google collab
Thanks!@@RyanAndMattDataScience
@@RyanAndMattDataScience it looks like Jupyter.
@@srivardhan1042ah probably is, it’s an older vid. I use collab now
Hi. I'm still learning python and may I ask. How will you add another data on that? For example I want to predict a new player if he will be among the HOF. My input will be only one. Shall I import a new CSV file containing that data then put it on X_test, and y_test? Thank you.
Once you have a model built you can predict on it with inputs.
Is it possible to output multiple results for one input? Im currently trying to build a College Course Recommender and the Inputs are based on the student grades, strand, hobbies/likes then output multiple possible courses that fits the inputs?
@@RyanAndMattDataScience
Where is the link of the csv
can you share the notebook file?
I plan on doing a bulk upload to GitHub in the future for all the videos
what the heck is this??😢 I’m literally taking my first AI course and my prof demanded such project like this .
she didn’t even explained or taught us Python first
Have a lot of Python vids and working on a beginner series so hopefully it helps
good tutorial but you are explaining concepts shallowly men