Classification Tree Learning Algorithm: Difference between revisions

From GM-RKB
Jump to navigation Jump to search
m (Text replacement - ". ---- " to ". ---- ")
m (Text replacement - "> ↵" to "> ")
 
Line 6: Line 6:
** It can be a [[Symbolic Learning Algorithm]].
** It can be a [[Symbolic Learning Algorithm]].
** …
** …
* <B>Example(s):</B>  
* <B>Example(s):</B>
** [[C4.5 Algorithm]].
** [[C4.5 Algorithm]].
** [[ID3 Algorithm]].
** [[ID3 Algorithm]].

Latest revision as of 02:41, 27 March 2024

A Classification Tree Learning Algorithm is a decision tree learning algorithm that is a supervised classification algorithm.



References

2012

LearnDT(TrainSet)
if all examples in TrainSet have the same class y_* then
  return MakeLeaf(y_*)
if no feature x_j has InfoGain(x_j,y) > 0 then
  y_* ← Most frequent class in TrainSet
  return MakeLeaf(y_*)
 x_* ← argmax_{x_j}, InfoGain(x_j,y)
 TS_0 ← Examples in TrainSet with x_* = 0
 TS_1 ← Examples in TrainSet with x_* = 1
 return MakeNode(x_*,l), LearnDT(TS0),LearnDT(TS_1))