Decision trees are able to generate understandable rules.
Decision trees perform classification without requiring much computation.
Decision trees are able to handle both continuous and categorical variables.
Decision trees provide a clear indication of which fields are most important for prediction or classification.
EXAMPLE 1:MUSIC STORE AND SALES Low Hit Hindi Movie Low Average English Songs Low Hit Religious Songs Low Hit Hindi Movie High Hit Hindi Movie Low Average English Movie High Average Hindi Songs High Hit English Songs High Hit English Songs High Average Hindi Songs High Hit Religious Movie Low Flop English Movie Low Hit Hindi Movie High Hit Hindi Movie Low Hit English Movie Low Average English Songs High Hit Religious Songs High Flop Hindi Songs High Hit Hindi Movie Sales On Charts Type CDs
Decision Tree Of Example 1 TYPE HINDI (CD)(6/9) RELIGIOUS (ON CHARTS)(3/3) ENGLISH (CD)(4/7) HIT MOVIE (ON CHARTS) (6/6) SONG (SALES)(3/3) SONGS (ON CHARTS)(2/4) MOVIE (SALES)(1/1) HIT HIGH HIT (SALSES)(1/1) AVERAGE (SALES)(1/1) HIGH LOW LOW ROOT NODE LEAF NODE
It can be used on any type of data i.e. data can be numeric or informative type.
It uses a white box technique
It is applicable to large amount of data too.
It is a reliable model because we can validate our information statistically.
Data can be directly used from dataset i.e. no initial or very less initial work has to be done.
Because it is a graphical approach it is simple to understand and decipher.
Example 2 :: LOANS IN BANK Yes No No 12000 Middle class Yes Yes No 65000 Rich Yes No Yes 2000 Poor No Yes Yes 10000 Middle class Yes No Yes 200000 Rich No No No 50000 Middle class Yes No Yes 3000 Poor No Yes No 7000 Poor No Yes Yes 50000 Rich Yes No No 40000 Rich Yes No No 20000 Middle class No Yes Yes 5000 Poor No No No 100000 Rich Yes No Yes 25000 Middle class Yes Yes Yes 70000 Rich New Loan Approved Any Previous Due In The Same Bank Bank Acc. In The Same Bank Amount Of Loan (in Rs.) Customer Background
Decision Tree Of Example 2 TYPE RICH >40000 MIDDLE CLASS 10000<x<50000 POOR <10000 LOAN APPROVED HAS ACC IN THE SAME BANK HAS A DUE WITH BANK LOAN NOT APPROVED DOESN’T HAS A DUE HAS AN ACC IN THE SAME BANK LOAN APPROVED DOESN’T HAS AN ACC LOAN DENIED