course content

Course Content

Decoding the Truth: Fake News Classification Project

Decision Tree ComparisonDecision 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.


  1. Initialize the DecisionTreeClassifier;
  2. 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.