Course Content
Decoding the Truth: Fake News Classification Project
Decoding the Truth: Fake News Classification Project
Decision Tree Comparison
Since in life, you always have to be humble and curious, we will also investigate another model. We will compare the results obtained in the last chapter with the Logistic regression algorithm with the DecisionTreeClassifier
. The pipeline will be the same as in the last chapter. The takeaway message here is that in the Data Science world, you will always try different approaches that may achieve better results on your data.
Task
- Initialize the
DecisionTreeClassifier
; - Fit, predict and score your newly create
DecisionTreeClassifier
.
Everything was clear?
Section 1. Chapter 6
Start learning today and achieve
coding mastery
- Master Python, SQL, JavaScript & more.
- Learn with Step-by-Step Lessons.
- Get Ready for Real-World Projects.
- Earn a Certificate Upon Completion.