机器学习特征提取 | 自动特征工程featuretools
来源:互联网 发布:大话数据库 微盘 编辑:程序博客网 时间:2024/06/03 12:29
1、什么是Featuretools?
为了能使框架普适,就像pandas用于数据准备或scikit-learn用于机器学习。
链接:https://www.featuretools.com/
2、安装
通过源码安装,代码如下:
git clone https://github.com/featuretools/featuretools.gitcd featuretoolspython setup.py install
通过pip安装,命令如下:
pip install featuretools
3、五分钟快速开始
1)首先导入相关包:
In [1]: import featuretools as ft
2)准备相关数据:
In [2]: data = ft.demo.load_mock_customer()In [3]: customers_df = data["customers"]In [5]: sessions_df = data["sessions"]In [7]: transactions_df = data["transactions"]In [10]: relationships = [("sessions", "session_id", "transactions", "session_id"), ....: ("customers", "customer_id", "sessions", "customer_id")]
3)特征综合:
In [11]: feature_matrix_customers, features_defs = ft.dfs(entities=entities, ....: relationships=relationships, ....: target_entity="customers")In [12]: feature_matrix_customers
阅读全文
0 0
- 机器学习特征提取 | 自动特征工程featuretools
- 特征提取+机器学习
- 机器学习-特征提取
- 机器学习:特征工程
- 机器学习-特征工程
- 机器学习 特征工程
- 机器学习--特征工程
- 机器学习-特征工程
- 机器学习----特征工程
- 【机器学习】ICA特征提取
- 机器学习 特征工程 特征离散化
- 机器学习 特征工程之特征选择
- 机器学习 特征工程之特征选择
- 机器学习 数据特征分析 特征工程
- 机器学习 数据特征分析 特征工程
- 机器学习 数据特征分析 特征工程
- 机器学习之特征工程-特征选择
- 机器学习之特征工程
- json转换报错 net.sf.ezmorph.bean.MorphDynaBean cannot be cast to cn.xxt.common.domain
- 如何搞定SVN目录的cleanup问题和lock问题
- 同过apache-commons-id.jar生成32为主键id(转载)
- C#使用GET、POST请求获取结果 (二)
- Linux下*.tar.gz文件解压缩命令
- 机器学习特征提取 | 自动特征工程featuretools
- 解决APP首次启动程序白屏时间过长的问题
- C++ 几个算法库中的函数
- NOIP 花匠
- tp or查询
- 关于JDK环境配置的误区和单机安装多版本JDK并灵活切换版本
- docker常用命令记录
- Weex 闪退:java.lang.UnsupportedOperationException: This isn't a hierarchical URI.
- SQL SERVER 2008数据库知识学习—查看表结构