-
Notifications
You must be signed in to change notification settings - Fork 7
Open
Description
多特征挖掘的 使用demo这里
from rulelift import MultiFeatureRuleMiner, load_example_data
加载用户特征数据集
feature_df = load_example_data('feas_target.csv')
初始化多特征规则挖掘器
multi_miner = MultiFeatureRuleMiner(feature_df, target_col='ISBAD')
绘制交叉热力图
plt = multi_miner.plot_cross_heatmap(feature1, feature2, metric='lift')
plt.savefig('cross_feature_heatmap.png', dpi=300, bbox_inches='tight')
print("交叉特征热力图已保存到: cross_feature_heatmap.png")
feature1和feature2 没有给出
Metadata
Metadata
Assignees
Labels
No labels