henileihenilei Member Posts: 2 Contributor I
i have data, 1 field contais numerical values. how rapid miner split the numerical value using c4.5?


  • Options
    MariusHelfMariusHelf RapidMiner Certified Expert, Member Posts: 1,869 Unicorn

    RapidMiner's Decision Tree tries all possible split values of a numeric attribute and selects the value which produces the best split with respect to the selected criterion.

  • Options
    wesselwessel Member Posts: 537 Maven
    It uses all values that are the data set right?
    Probably, an implementation that uses sorting, can be even faster.
    Because you know an optimal split point is always halfway between to data points.

    For example, assume you have a numerical axis from left to right (attribute x) and labels A en B (class attribute).

                                v                                   x-axis
                       optimal split point

    As far as I'm aware you can not create some picture where the optimal split point is not half way in between.

    There is no optimal split point here? Splitting on x here provides 0 information gain.

          v              x-axis
    optimal split point

    I hope you get the idea.

    By the way, you can actually create data sets like this and see where it splits!
Sign In or Register to comment.