Uploaded November 2023 | Updated September 2026, 2 hours ago
Dive into the world of tree-based models in machine learning with our detailed video guide. We unravel the intricacies of decision trees, random forests, and gradient boosting machines (GBMs), illustrating their functionality and unique advantages in AI decision-making processes. Through practical Python examples using the Iris dataset, we demonstrate how these models operate, from visualizing decision trees to implementing random forests and GBMs.
Additionally, we tackle common challenges such as overfitting, handling continuous variables, and dealing with large, complex datasets, offering effective solutions and tips.
Whether you're a beginner or an experienced practitioner, this video is designed to enhance your understanding and skills in machine learning. Join us on this journey to master tree-based models, apply your knowledge to real-world data projects, and advance your career in the ever-evolving field of data science.
______________________________________________________________________
π Subscribe to the channel: bit.ly/2GsFxmA
π Playlist for more data science interview questions and answers: bit.ly/3jifw81
π Playlist for data science interview tips: bit.ly/2G5hNoJ
π Playlist for data science projects: bit.ly/StrataScratchProjectsYouTube
π Practice more real data science interview questions: platform.stratascratch.com/coding?code_type=1&utm_source=youtube&utm_medium=click&utm_campaign=YT+tree+based+models
______________________________________________________________________
Timeline:
Intro: (0:00)
Decision Trees (0:20)
Random Forest: (1:43)
GBMs: (2:46)
Issues and solutions when implementing decision trees (4:15)
Conclusion: (7:23)
______________________________________________________________________
About The Platform:
StrataScratch (platform.stratascratch.com/coding?code_type=1&utm_source=youtube&utm_medium=click&utm_campaign=YT+tree+based+models) is a platform that allows you to practice real data science interview questions. There are over 1000+ interview questions that cover coding (SQL and Python), statistics, probability, product sense, and business cases.
So, if you want more interview practice with real data science interview questions, visit platform.stratascratch.com/coding?code_type=1&utm_source=youtube&utm_medium=click&utm_campaign=YT+tree+based+models. All questions are free and you can even execute SQL and Python code in the IDE. Still, if you want to check out the solutions from other users or from the StrataScratch team, you can use ss15 for a 15% discount on the premium plans.
______________________________________________________________________
Contact:
If you have any questions, comments, or feedback, please leave them here!
Feel free to also email us at team@stratascratch.com
______________________________________________________________________
#machinelearning #decisiontree #randomforests #modeling #datascience #dataanalytics #datascientist #machinelearningalgorithm #machinelearningtutorialforbeginners #machinelearningengineer
Dive into the world of tree-based models in machine learning with our detailed video guide. We unravel the intricacies of decision trees, random forests, and gradient boosting machines (GBMs), illustrating their functionality and unique advantages in AI decision-making processes. Through practical Python examples using the Iris dataset, we demonstrate how these models operate, from visualizing decision trees to implementing random forests and GBMs.
Additionally, we tackle common challenges such as overfitting, handling continuous variables, and dealing with large, complex datasets, offering effective solutions and tips.
Whether you're a beginner or an experienced practitioner, this video is designed to enhance your understanding and skills in machine learning. Join us on this journey to master tree-based models, apply your knowledge to real-world data projects, and advance your career in the ever-evolving field of data science.
______________________________________________________________________
π Subscribe to the channel: bit.ly/2GsFxmA
π Playlist for more data science interview questions and answers: bit.ly/3jifw81
π Playlist for data science interview tips: bit.ly/2G5hNoJ
π Playlist for data science projects: bit.ly/StrataScratchProjectsYouTube
π Practice more real data science interview questions: platform.stratascratch.com/coding?code_type=1&utm_source=youtube&utm_medium=click&utm_campaign=YT+tree+based+models
______________________________________________________________________
Timeline:
Intro: (0:00)
Decision Trees (0:20)
Random Forest: (1:43)
GBMs: (2:46)
Issues and solutions when implementing decision trees (4:15)
Conclusion: (7:23)
______________________________________________________________________
About The Platform:
StrataScratch (platform.stratascratch.com/coding?code_type=1&utm_source=youtube&utm_medium=click&utm_campaign=YT+tree+based+models) is a platform that allows you to practice real data science interview questions. There are over 1000+ interview questions that cover coding (SQL and Python), statistics, probability, product sense, and business cases.
So, if you want more interview practice with real data science interview questions, visit platform.stratascratch.com/coding?code_type=1&utm_source=youtube&utm_medium=click&utm_campaign=YT+tree+based+models. All questions are free and you can even execute SQL and Python code in the IDE. Still, if you want to check out the solutions from other users or from the StrataScratch team, you can use ss15 for a 15% discount on the premium plans.
______________________________________________________________________
Contact:
If you have any questions, comments, or feedback, please leave them here!
Feel free to also email us at team@stratascratch.com
______________________________________________________________________
#machinelearning #decisiontree #randomforests #modeling #datascience #dataanalytics #datascientist #machinelearningalgorithm #machinelearningtutorialforbeginners #machinelearningengineer
![Multiple Solutions to Data Scientist Interview Question From Amazon [Rolling Average]
This data scientist interview question comes from Amazon and itβs really an interesting question that deals with rolling average, the type of average that we calculate from values in a certain timeframe and we repeat it for all dates in a longer time period.
Link to the question to follow along with me: https://platform.stratascratch.com/coding/10314-revenue-over-time?python=&utm_source=youtube&utm_medium=click&utm_campaign=YT+description+link
π Subscribe to my channel: https://bit.ly/2GsFxmA
π Playlist for more data science interview questions and answers: https://bit.ly/3jifw81
π Playlist for data science interview tips: https://bit.ly/2G5hNoJ
π Practice more real data science interview questions: https://platform.stratascratch.com/coding?utm_source=youtube&utm_medium=click&utm_campaign=YT+description+link
Timeline:
Intro: (0:00βββ)
Interview Question: (0:28ββ)
Framework to solve the problem: (1:40βββ)
Understand your data: (2:36βββ)
Formulate your approach: (6:12βββ)
Common table expressions and interval function: (7:09βββ)
Window Function Approach: (20:35βββ)
Comparison of approaches / Optimization discussion: (25:45βββ)
Conclusion: (28:08βββ)
About The Platform:
Im using StrataScratch (https://platform.stratascratch.com/coding?utm_source=youtube&utm_medium=click&utm_campaign=YT+description+link), a platform that allows you to practice real data science interview questions. There are over 1000+ interview questions that cover coding (SQL and python), statistics, probability, product sense, and business cases.
So, if you want more interview practice with real data science interview questions, visit https://platform.stratascratch.com/coding?utm_source=youtube&utm_medium=click&utm_campaign=YT+description+link. All questions are free and you can even execute SQL and python code in the IDE, but if you want to check out the solutions from me or from other users, you can use ss15 for a 15% discount on the premium plans.
Contact:
If you have any questions, comments, or feedback, please leave them here!
Feel free to also email me at nathan@stratascratch.com
#AmazonDataScientistInterview Multiple Solutions to Data Scientist Interview Question From Amazon [Rolling Average]](https://i.ytimg.com/vi/GeJUvdkJKEc/mqdefault.jpg)

![Solving an Airbnb Data Science Coding Interview Question | SQL Interview [Fav Host Nationality]
This SQL data science interview question was asked by Airbnb. Iβll cover both the question and answer and give a detailed explanation of the approach. I walkthrough each step of my answer, assumptions, approach, and explain every line of code I write. This is literally how I would answer every data science interview question and prepare for every data science interview at FAANG companies and others.
Link to the question: https://platform.stratascratch.com/coding/10073-favorite-host-nationality?python=&utm_source=youtube&utm_medium=click&utm_campaign=YT+description+link
The question has many concepts that are always tested during a data science interview. This SQL interview question requires 3 JOINs and 2 subqueries. There are some tricks tested where you have to identify the highest review score using the SQL max() function. And lastly, this coding interview question tests your knowledge on how to de-duplicate data.. This question covers concepts that are commonly found in data science interviews at Facebook and Google.
This series is for both beginner and intermediate data scientists and analysts interested in learning how to solve common data science interview questions in SQL. These are real data science interview questions. For some background context and an intro about what this series is about: https://bit.ly/36kKbxG
π Subscribe to my channel: https://bit.ly/2GsFxmA
π Playlist for more data science interview questions and answers: https://bit.ly/3jifw81
π Playlist for data science interview tips: https://bit.ly/2G5hNoJ
π Practice more real data science interview questions: https://platform.stratascratch.com/coding?utm_source=youtube&utm_medium=click&utm_campaign=YT+description+link
Timestamps:
Intro: (0:00)
Interview Question: (0:10)
Explore Dataset: (0:35)
Writing Out Approach: (01:57)
Coding The Solution: (4:40)
2nd Solution!: (10:41)
About The Platform:
Im using StrataScratch, a platform that allows you to practice real data science interview questions. There are over 1000+ interview questions that cover coding (SQL and python), statistics, probability, product sense, and business cases.
I created this platform because I wanted to build a resource to specifically help prepare data scientists for their technical interviews and to generally improve their analytical skills. Over my career as a data scientist, I never was able to find a dedicated platform for data science interview prep. LeetCode and HackerRank were the closest but these platforms specifically serve the computer developer community so their questions focus more on algorithms that working with data.
So, if you want more interview practice with real data science interview questions, visit https://platform.stratascratch.com/coding?utm_source=youtube&utm_medium=click&utm_campaign=YT+description+link. All questions are free and you can even execute SQL and python code in the IDE, but if you want to check out the solutions from me or from other users, you can use ss15 for a 15% discount on the premium plans.
Contact:
If you have any questions, comments, or feedback, please leave them here!
Feel free to also email me at nathan@stratascratch.com Solving an Airbnb Data Science Coding Interview Question | SQL Interview [Fav Host Nationality]](https://i.ytimg.com/vi/IKw0lkmBHNI/mqdefault.jpg)

![[Part 2]: Exploring Decision Tree Classifiers For A Facebook Data Science Project of Movie Ratings
Welcome back to our data project series on Rotten Tomatoes! In this video, we dive into the decision tree classifier, a popular machine learning algorithm used for classification tasks. Watch as we create and train a decision tree classifier with a maximum of three leaf nodes, and evaluate its performance on test data. We assess accuracy, precision, and recall values, and visualize the decision workflow using a plot tree method. We also compare the results with a random forest classifier and explore feature importance. Dont forget to subscribe and stay tuned for the next video in our series!
Watch the full tutorial:
π [Part 1]: Exploring and Visualizing Data For A Facebook Data Science Project of Movie Ratings: https://youtu.be/cM12QtrhdLo
π [Part 3]: Random Forest Classifier For A Facebook Data Science Project of Movie Ratings:
https://youtu.be/J4rheMtvu6g
Go to the project through the link below and follow along with meπ
https://platform.stratascratch.com/data-projects/rotten-tomatoes-movies-rating-prediction?utm_source=youtube&utm_medium=click&utm_campaign=YT+rotten+tomatoes+2
π Subscribe to my channel: https://bit.ly/2GsFxmA
π Playlist for more data science interview questions and answers: https://bit.ly/3jifw81
π Playlist for data science interview tips: https://bit.ly/2G5hNoJ
π Playlist for data science projects: https://bit.ly/StrataScratchProjectsYouTube
π Practice more real data science interview questions: https://platform.stratascratch.com/coding?code_type=1&utm_source=youtube&utm_medium=click&utm_campaign=YT+rotten+tomatoes+2
Timeline:
Intro: (0:00βββ)
Decision tree classifier: (0:16)
Instantiating the decision tree classifier: (1:44)
Visualizing the decision workflow: (3:00)
Accuracy score improving: (5:30)
Random forest classifier: (7:46)
Take away: (10:25ββ)
About The Platform:
Im using StrataScratch (https://platform.stratascratch.com/coding?code_type=1&utm_source=youtube&utm_medium=click&utm_campaign=YT+rotten+tomatoes+2), a platform that allows you to practice real data science interview questions. There are over 1000+ interview questions that cover coding (SQL and Python), statistics, probability, product sense, and business cases.
So, if you want more interview practice with real data science interview questions, visit https://platform.stratascratch.com/coding?code_type=1&utm_source=youtube&utm_medium=click&utm_campaign=YT+rotten+tomatoes+2. All questions are free and you can even execute SQL and Python code in the IDE. Still, if you want to check out the solutions from other users or from me, you can use ss15 for a 15% discount on the premium plans.
Contact:
If you have any questions, comments, or feedback, please leave them here!
Feel free to also email me at nathan@stratascratch.com
#datascienceproject [Part 2]: Exploring Decision Tree Classifiers For A Facebook Data Science Project of Movie Ratings](https://i.ytimg.com/vi/Ih6G5hnn30Q/mqdefault.jpg)
![[Part 3]: Random Forest Classifier For A Facebook Data Science Project of Movie Ratings
Welcome back to our data project series from Rotten Tomatoes! In this video, we continue our journey to enhance our machine-learning models. We explore the power of feature selection and weighted random forest classifier to improve performance. Join us in the next video for more exciting insights. See you there!
Watch the previous parts:
π [Part 1]: Exploring and Visualizing Data For A Facebook Data Science Project of Movie Ratings: https://youtu.be/cM12QtrhdLo
π[Part 2]: Exploring Decision Tree Classifiers For A Facebook Data Science Project of Movie Ratings: https://youtu.be/Ih6G5hnn30Q
Go to the project through the link below and follow along with meπ
https://platform.stratascratch.com/data-projects/rotten-tomatoes-movies-rating-prediction?utm_source=youtube&utm_medium=click&utm_campaign=YT+rotten+tomatoes+3
π Subscribe to my channel: https://bit.ly/2GsFxmA
π Playlist for more data science interview questions and answers: https://bit.ly/3jifw81
π Playlist for data science interview tips: https://bit.ly/2G5hNoJ
π Playlist for data science projects: https://bit.ly/StrataScratchProjectsYouTube
π Practice more real data science interview questions: https://platform.stratascratch.com/coding?code_type=1&utm_source=youtube&utm_medium=click&utm_campaign=YT+rotten+tomatoes+3
Timeline:
Intro: (0:00βββ)
Splitting the Data: (0:58)
Feature Selection: (1:26)
Weighted Random Forest Classifier: (2:47)
Smote technique: (3:41)
Take away: (5:18ββ)
About The Platform:
Im using StrataScratch (https://platform.stratascratch.com/coding?code_type=1&utm_source=youtube&utm_medium=click&utm_campaign=YT+rotten+tomatoes+3), a platform that allows you to practice real data science interview questions. There are over 1000+ interview questions that cover coding (SQL and Python), statistics, probability, product sense, and business cases.
So, if you want more interview practice with real data science interview questions, visit https://platform.stratascratch.com/coding?code_type=1&utm_source=youtube&utm_medium=click&utm_campaign=YT+rotten+tomatoes+3. All questions are free and you can even execute SQL and Python code in the IDE. Still, if you want to check out the solutions from other users or from me, you can use ss15 for a 15% discount on the premium plans.
Contact:
If you have any questions, comments, or feedback, please leave them here!
Feel free to also email me at nathan@stratascratch.com
#datascienceproject [Part 3]: Random Forest Classifier For A Facebook Data Science Project of Movie Ratings](https://i.ytimg.com/vi/J4rheMtvu6g/mqdefault.jpg)




