从mlxtend.frequent_patterns导入fpgrowth #使用F增长算法
#Num
frequent_itemsets_fp_num=fpgrowth(num,min_support=0.01,use_colnames=True)
嗨,我试着用fpgrowth来处理mlx趋向,但是有一个错误的‘模块’对象是不可调用的。我试过使用'pip install git+git://github.com/rasbt/mlxten.git‘,但两者都没有。请给我一些建议来解决这个问题。
Tks。
发布于 2021-12-04 10:44:57
您应该删除计算机上安装的版本。安装最新版本。
pip uninstall mlxtend
pip install git+git://github.com/rasbt/mlxtend.githttps://stackoverflow.com/questions/69975849
复制相似问题