Posts

Showing posts from October, 2023

Decision Tree Example

Image
    Example of Decision Tree Let’s understand decision trees with the help of an example:   Day Weather Temperature Humidity Wind Play Tennis D1 Sunny Hot High Weak No D2 Sunny Hot High Strong No D3 Overcast Hot High Weak Yes D4 Rain Mild High Weak Yes D5 Rain Cool Normal Weak Yes D6 Rain Cool Normal Strong No D7 Overcast Cool Normal Strong Yes D8 Sunny Mild High Weak No D9 Sunny Cool Normal Weak Yes ...

Decision Tree

Image
  What is a Decision Tree? A decision tree is one of the predictive modeling approaches used in  statistics ,  data mining,  and  machine learning. A decision tree is  a non-parametric supervised learning algorithm for classification and regression tasks . It has a hierarchical tree structure consisting of a root node, branches, internal nodes, and leaf nodes. Decision trees are used for classification and regression tasks, providing easy-to-understand models. A decision tree is a hierarchical model used in decision support that depicts decisions and their potential outcomes, incorporating chance events, resource expenses, and utility. It is a tool that has applications spanning several different areas. The name itself suggests that it uses a flowchart like a tree structure to show the predictions that result from a series of feature-based splits. It starts with a root node and ends with a decision made by leaves.   Decision Tree Terminologi...