美文网首页
2019-01-29[Stay Sharp]Relief alg

2019-01-29[Stay Sharp]Relief alg

作者: 三千雨点 | 来源:发表于2019-01-29 21:30 被阅读2次

    Relief algorithm is an algorithm of feature selection.

    suppose we have a data set with the count of n and p features, each feature is scaled to the interval [0,1] (0 and 1 for binary data), and the data set belongs to two known classes.

    for the j th feature, we calculate the weight for the feature by the following:

    \delta ^ { j } = \sum _ { i } - \operatorname { diff } \left( x _ { i } ^ { j } , x _ { i , \mathrm { nearhit } } ^ { j } \right) ^ { 2 } + \operatorname { diff } \left( x _ { i } ^ { j } , x _ { i , \mathrm { nearmiss } } ^ { j } \right) ^ { 2 }
    where x _ { i , \mathrm { nearhit }} ^ { j } is the closest instance belonging to the same class of instance i, and x _ { i , \mathrm { nearmiss }} ^ { j } is the closest instance belonging to the different class of instance i. the feature weight bigger than a threshold is relevant feature.

    相关文章

      网友评论

          本文标题:2019-01-29[Stay Sharp]Relief alg

          本文链接:https://www.haomeiwen.com/subject/efefsqtx.html