← All tutorials

GoCareerGo Tutorials

Machine Learning Tutorial

Supervised learning, classification, neural networks and core ML algorithms.

Decision Tree

A model that splits data into branches based on feature thresholds, forming a tree of if/else decisions that ends in a prediction.

  • Easy to visualize and interpret — you can literally read the decision path
  • Prone to overfitting on deep trees with no pruning/max depth limit
  • Splits are chosen to maximize 'purity' — measured by Gini impurity or entropy