Continuous-Valued Attributes
- For example, we might have a Temperature attribute with a
continuous value.
- Create a new boolean attribute that is true when the value
is less than $c$ (the threshold).
- To pick $c$ sort the examples according to the
attribute. Identify adjacent examples that differ in their
target classification. Generate candidate thresholds at the
midpoints.
- The candidate thresholds can be evaluated by computing the
information gain associate with each one.
- The new discrete-valued attribute can then compete with
the other attributes.
José M. Vidal
.
22 of 25