Information Gain in Decision Trees - Constructing A Decision Tree Using Information Gain

Constructing A Decision Tree Using Information Gain

A decision tree can be constructed top-down using the information gain in the following way:

  1. begin at the root node
  2. determine the attribute with the highest information gain which is not already used as an ancestor node
  3. add a child node for each possible value of that attribute
  4. attach all examples to the child node where the attribute values of the examples are identical to the attribute value attached to the node
  5. if all examples attached to the child node can be classified uniquely add that classification to that node and mark it as leaf node
  6. go back to step two if there are unused attributes left, otherwise add the classification of most of the examples attached to the child node

Read more about this topic:  Information Gain In Decision Trees

Famous quotes containing the words constructing, decision, tree, information and/or gain:

    The very hope of experimental philosophy, its expectation of constructing the sciences into a true philosophy of nature, is based on induction, or, if you please, the a priori presumption, that physical causation is universal; that the constitution of nature is written in its actual manifestations, and needs only to be deciphered by experimental and inductive research; that it is not a latent invisible writing, to be brought out by the magic of mental anticipation or metaphysical mediation.
    Chauncey Wright (1830–1875)

    There are many things children accept as “grown-up things” over when they have no control and for which they have no responsibility—for instance, weddings, having babies, buying houses, and driving cars. Parents who are separating really need to help their children put divorce on that grown-up list, so that children do not see themselves as the cause of their parents’ decision to live apart.
    Fred Rogers (20th century)

    I have come to the conclusion that the closer people are to what may be called the front lines of government ... the easier it is to see the immediate underbrush, the individual tree trunks of the moment, and to forget the nobility the usefulness and the wide extent of the forest itself.... They forget that politics after all is only an instrument through which to achieve Government.
    Franklin D. Roosevelt (1882–1945)

    The family circle has widened. The worldpool of information fathered by the electric media—movies, Telstar, flight—far surpasses any possible influence mom and dad can now bring to bear. Character no longer is shaped by only two earnest, fumbling experts. Now all the world’s a sage.
    Marshall McLuhan (1911–1980)

    Throughout the 1980’s, we did hear too much about individual gain and the ethos of selfishness and greed. We did not hear enough about how to be a good member of a community, to define the common good and to repair the social contract. And we also found that while prosperity does not trickle down from the most powerful to the rest of us, all too often indifference and even intolerance do.
    Hillary Rodham Clinton (b. 1947)