使用特征工具为预测模型生成标签
Generate labels for predictive model using featuretools
我目前正在使用我自己的数据完成功能工具演示 (https://github.com/Featuretools/predict_next_purchase/blob/master/Tutorial.ipynb)。我创建了一个实体集,并试图首先创建标签。 notebook 引用了 import utils,但未安装功能工具。这是我需要安装的单独模块吗?
python 2.7
pip 安装 featuretools
utils.py
文件特定于演示存储库而不是 Featuretools 库。
您应该在 运行 教程之前克隆或下载整个存储库。
文件本身在这里:https://github.com/Featuretools/predict_next_purchase/blob/master/utils.py
make_labels
函数在该文件中的这一行:
https://github.com/Featuretools/predict_next_purchase/blob/9cab9b28c94c43c69d7fb75b6ed92b3dd4cfb72d/utils.py#L66
在本地拥有该文件后,您可以针对您的特定用例对其进行修改。
我目前正在使用我自己的数据完成功能工具演示 (https://github.com/Featuretools/predict_next_purchase/blob/master/Tutorial.ipynb)。我创建了一个实体集,并试图首先创建标签。 notebook 引用了 import utils,但未安装功能工具。这是我需要安装的单独模块吗?
python 2.7 pip 安装 featuretools
utils.py
文件特定于演示存储库而不是 Featuretools 库。
您应该在 运行 教程之前克隆或下载整个存储库。
文件本身在这里:https://github.com/Featuretools/predict_next_purchase/blob/master/utils.py
make_labels
函数在该文件中的这一行:
https://github.com/Featuretools/predict_next_purchase/blob/9cab9b28c94c43c69d7fb75b6ed92b3dd4cfb72d/utils.py#L66
在本地拥有该文件后,您可以针对您的特定用例对其进行修改。