【发布时间】:2015-11-03 22:16:43
【问题描述】:
我正忙于使用 r 中的 fSelector 包来使用 information.gain 函数测量信息增益。
我不确定输出给了我什么,因为有缺点,我了解 iris 数据集上的输出。
weights <- information.gain(cross_over ~ age + max_stake_scale + current_loyalty_status + lifespan + early_hours + morning + afternoon + evening, df
输出是:
attr_importance
age 0.000000e+00
max_stake_scale 0.000000e+00
current_loyalty_status 2.968854e-04
lifespan 1.523364e-02
early_hours 0.000000e+00
morning 0.000000e+00
afternoon 0.000000e+00
evening 0.000000e+00
响应变量是二元的,交叉与否,是或否。我不确定重要的功能是什么。
谢谢
【问题讨论】:
标签: r machine-learning data-mining data-modeling