featuretools
An open source python library for automated feature engineering
Science Score: 36.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
○CITATION.cff file
-
✓codemeta.json file
Found codemeta.json file -
✓.zenodo.json file
Found .zenodo.json file -
○DOI references
-
○Academic publication links
-
✓Committers with academic emails
5 of 74 committers (6.8%) from academic institutions -
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (13.8%) to scientific vocabulary
Keywords
Keywords from Contributors
Repository
An open source python library for automated feature engineering
Basic Info
- Host: GitHub
- Owner: alteryx
- License: bsd-3-clause
- Language: Python
- Default Branch: main
- Homepage: https://www.featuretools.com
- Size: 7.27 MB
Statistics
- Stars: 7,532
- Watchers: 157
- Forks: 903
- Open Issues: 159
- Releases: 133
Topics
Metadata Files
README.md
"One of the holy grails of machine learning is to automate more and more of the feature engineering process." ― Pedro Domingos, A Few Useful Things to Know about Machine Learning
Featuretools is a python library for automated feature engineering. See the documentation for more information.
Installation
Install with pip
python -m pip install featuretools
or from the Conda-forge channel on conda:
conda install -c conda-forge featuretools
Add-ons
You can install add-ons individually or all at once by running:
python -m pip install "featuretools[complete]"
Premium Primitives - Use Premium Primitives from the premium-primitives repo
python -m pip install "featuretools[premium]"
NLP Primitives - Use Natural Language Primitives from the nlp-primitives repo
python -m pip install "featuretools[nlp]"
Dask Support - Use Dask to run DFS with njobs > 1
python -m pip install "featuretools[dask]"
Example
Below is an example of using Deep Feature Synthesis (DFS) to perform automated feature engineering. In this example, we apply DFS to a multi-table dataset consisting of timestamped customer transactions.
```python
import featuretools as ft es = ft.demo.loadmockcustomer(return_entityset=True) es.plot() ```

Featuretools can automatically create a single table of features for any "target dataframe" ```python
featurematrix, featuresdefs = ft.dfs(entityset=es, targetdataframename="customers") feature_matrix.head(5) ```
``` zipcode COUNT(transactions) COUNT(sessions) SUM(transactions.amount) MODE(sessions.device) MIN(transactions.amount) MAX(transactions.amount) YEAR(joindate) SKEW(transactions.amount) DAY(joindate) ... SUM(sessions.MIN(transactions.amount)) MAX(sessions.SKEW(transactions.amount)) MAX(sessions.MIN(transactions.amount)) SUM(sessions.MEAN(transactions.amount)) STD(sessions.SUM(transactions.amount)) STD(sessions.MEAN(transactions.amount)) SKEW(sessions.MEAN(transactions.amount)) STD(sessions.MAX(transactions.amount)) NUMUNIQUE(sessions.DAY(sessionstart)) MIN(sessions.SKEW(transactions.amount)) customerid ... 1 60091 131 10 10236.77 desktop 5.60 149.95 2008 0.070041 1 ... 169.77 0.610052 41.95 791.976505 175.939423 9.299023 -0.377150 5.857976 1 -0.395358 2 02139 122 8 9118.81 mobile 5.81 149.15 2008 0.028647 20 ... 114.85 0.492531 42.96 596.243506 230.333502 10.925037 0.962350 7.420480 1 -0.470007 3 02139 78 5 5758.24 desktop 6.78 147.73 2008 0.070814 10 ... 64.98 0.645728 21.77 369.770121 471.048551 9.819148 -0.244976 12.537259 1 -0.630425 4 60091 111 8 8205.28 desktop 5.73 149.56 2008 0.087986 30 ... 83.53 0.516262 17.27 584.673126 322.883448 13.065436 -0.548969 12.738488 1 -0.497169 5 02139 58 4 4571.37 tablet 5.91 148.17 2008 0.085883 19 ... 73.09 0.830112 27.46 313.448942 198.522508 8.950528 0.098885 5.599228 1 -0.396571
[5 rows x 69 columns] ``` We now have a feature vector for each customer that can be used for machine learning. See the documentation on Deep Feature Synthesis for more examples.
Featuretools contains many different types of built-in primitives for creating features. If the primitive you need is not included, Featuretools also allows you to define your own custom primitives.
Demos
Predict Next Purchase
In this demonstration, we use a multi-table dataset of 3 million online grocery orders from Instacart to predict what a customer will buy next. We show how to generate features with automated feature engineering and build an accurate machine learning pipeline using Featuretools, which can be reused for multiple prediction problems. For more advanced users, we show how to scale that pipeline to a large dataset using Dask.
For more examples of how to use Featuretools, check out our demos page.
Testing & Development
The Featuretools community welcomes pull requests. Instructions for testing and development are available here.
Support
The Featuretools community is happy to provide support to users of Featuretools. Project support can be found in four places depending on the type of question:
- For usage questions, use Stack Overflow with the
featuretoolstag. - For bugs, issues, or feature requests start a Github issue.
- For discussion regarding development on the core library, use Slack.
- For everything else, the core developers can be reached by email at opensourcesupport@alteryx.com
Citing Featuretools
If you use Featuretools, please consider citing the following paper:
James Max Kanter, Kalyan Veeramachaneni. Deep feature synthesis: Towards automating data science endeavors. IEEE DSAA 2015.
BibTeX entry:
bibtex
@inproceedings{kanter2015deep,
author = {James Max Kanter and Kalyan Veeramachaneni},
title = {Deep feature synthesis: Towards automating data science endeavors},
booktitle = {2015 {IEEE} International Conference on Data Science and Advanced Analytics, DSAA 2015, Paris, France, October 19-21, 2015},
pages = {1--10},
year = {2015},
organization={IEEE}
}
Built at Alteryx
Featuretools is an open source project maintained by Alteryx. To see the other open source projects we’re working on visit Alteryx Open Source. If building impactful data science pipelines is important to you or your business, please get in touch.
Owner
- Name: alteryx
- Login: alteryx
- Kind: organization
- Location: Broomfield, CO
- Website: http://www.alteryx.com
- Twitter: alteryxoss
- Repositories: 91
- Profile: https://github.com/alteryx
Alteryx Open Source
Committers
Last synced: 9 months ago
Top Committers
| Name | Commits | |
|---|---|---|
| machineFL | 4****L | 244 |
| Gaurav Sheni | g****i@g****m | 209 |
| Roy Wedge | r****e@a****m | 203 |
| Nate Parsons | 4****d | 151 |
| Max Kanter | k****2@g****m | 106 |
| Seth Rothschild | s****d@g****m | 51 |
| Shripad Badithe | 6****e | 45 |
| Tamar Grey | 6****y | 38 |
| github-actions[bot] | 4****] | 38 |
| Frances Hartwell | f****l@a****m | 30 |
| Chris Stadler | c****r@g****m | 27 |
| Jeff Hernandez | 1****z | 23 |
| Ben Schreck | b****3@g****m | 20 |
| ozzieD | o****i@a****m | 13 |
| systemshift | 4****t | 12 |
| tuethan1999 | 3****9 | 12 |
| Dave Reed | d****d@a****m | 12 |
| Jeff Hernandez | i****f@o****m | 10 |
| Charles Bradshaw | b****e@v****u | 10 |
| Will Koehrsen | w****8@c****u | 9 |
| Joshua Blum | j****8@g****m | 7 |
| Clara | c****y@c****u | 7 |
| dependabot[bot] | 4****] | 6 |
| Alexander Wang | 4****g | 6 |
| Geoff Kaufman | g****2@g****m | 6 |
| Ben Schreck | b****k@m****u | 5 |
| Albert Carter | a****r@g****m | 5 |
| Christopher Bunn | c****n | 4 |
| Allison Portis | 5****s | 4 |
| David Sanders | d****e@g****m | 4 |
| and 44 more... | ||
Committer Domains (Top 20 + Academic)
Issues and Pull Requests
Last synced: 6 months ago
All Time
- Total issues: 228
- Total pull requests: 238
- Average time to close issues: about 1 year
- Average time to close pull requests: 12 days
- Total issue authors: 54
- Total pull request authors: 26
- Average comments per issue: 1.01
- Average comments per pull request: 0.79
- Merged pull requests: 169
- Bot issues: 1
- Bot pull requests: 9
Past Year
- Issues: 3
- Pull requests: 13
- Average time to close issues: N/A
- Average time to close pull requests: 6 minutes
- Issue authors: 3
- Pull request authors: 9
- Average comments per issue: 1.0
- Average comments per pull request: 0.77
- Merged pull requests: 1
- Bot issues: 0
- Bot pull requests: 0
Top Authors
Issue Authors
- thehomebrewnerd (60)
- gsheni (54)
- tamargrey (16)
- dvreed77 (11)
- rwedge (11)
- CJStadler (5)
- kmax12 (5)
- sbadithe (5)
- RomaKoks (5)
- ozzieD (5)
- frances-h (3)
- wanalytics8 (3)
- petejanuszewski1 (2)
- nitinmnsn (2)
- christopherbunn (2)
Pull Request Authors
- machineFL (105)
- thehomebrewnerd (51)
- gsheni (17)
- tamargrey (14)
- dependabot[bot] (9)
- dvreed77 (4)
- quant12345 (4)
- rwedge (3)
- petejanuszewski1 (3)
- sbadithe (3)
- arminm22 (2)
- mayagilad-voyantis (2)
- zivgo (2)
- h2oa (2)
- yuvaltis (2)
Top Labels
Issue Labels
Pull Request Labels
Packages
- Total packages: 5
-
Total downloads:
- pypi 96,441 last-month
- Total docker downloads: 963
-
Total dependent packages: 33
(may contain duplicates) -
Total dependent repositories: 297
(may contain duplicates) - Total versions: 272
- Total maintainers: 8
pypi.org: featuretools
a framework for automated feature engineering
- Documentation: https://featuretools.alteryx.com
- License: BSD 3-clause
-
Latest release: 1.31.0
published almost 2 years ago
Rankings
Maintainers (8)
proxy.golang.org: github.com/alteryx/featuretools
- Documentation: https://pkg.go.dev/github.com/alteryx/featuretools#section-documentation
- License: bsd-3-clause
-
Latest release: v1.31.0
published almost 2 years ago
Rankings
conda-forge.org: featuretools
Featuretools is a framework to perform automated feature engineering. It excels at transforming temporal and relational datasets into feature matrices for machine learning.
- Homepage: https://www.featuretools.com
- License: BSD-3-Clause
-
Latest release: 1.18.0
published over 3 years ago
Rankings
pypi.org: featuretools-sql
directly import and convert their relational data into a Featuretools
- Documentation: https://featuretools.alteryx.com
- License: BSD 3-clause
-
Latest release: 0.0.5
published about 3 years ago
Rankings
Maintainers (3)
anaconda.org: featuretools
Featuretools is a framework to perform automated feature engineering. It excels at transforming temporal and relational datasets into feature matrices for machine learning.
- Homepage: https://featuretools.com/
- License: BSD-3-Clause
-
Latest release: 1.28.0
published over 2 years ago
Rankings
Dependencies
- click ==8.1.3 test
- cloudpickle ==2.1.0 test
- dask ==2022.7.0 test
- distributed ==2022.7.0 test
- holidays ==0.14.2 test
- numpy ==1.23.1 test
- pandas ==1.3.5 test
- psutil ==5.9.1 test
- pyspark ==3.3.0 test
- scipy ==1.8.1 test
- tqdm ==4.64.0 test
- woodwork ==0.16.4 test
- click ==7.0.0 test
- cloudpickle ==1.5.0 test
- dask ==2021.10.0 test
- distributed ==2021.10.0 test
- holidays ==0.13 test
- numpy ==1.21.0 test
- pandas ==1.3.0 test
- psutil ==5.6.6 test
- scipy ==1.3.3 test
- tqdm ==4.32.0 test
- woodwork ==0.16.2 test
- click ==7.0.0 test
- cloudpickle ==1.5.0 test
- dask ==2021.10.0 test
- distributed ==2021.10.0 test
- holidays ==0.13 test
- numpy ==1.21.0 test
- pandas ==1.3.0 test
- psutil ==5.6.6 test
- pyspark ==3.2.0 test
- scipy ==1.3.3 test
- tqdm ==4.32.0 test
- woodwork ==0.16.2 test
- boto3 ==1.17.46 test
- click ==7.0.0 test
- cloudpickle ==1.5.0 test
- composeml ==0.8.0 test
- dask ==2021.10.0 test
- distributed ==2021.10.0 test
- graphviz ==0.8.4 test
- holidays ==0.13 test
- moto ==3.0.7 test
- numpy ==1.21.0 test
- pandas ==1.3.0 test
- pip ==21.3.1 test
- psutil ==5.6.6 test
- pyarrow ==3.0.0 test
- pympler ==0.8 test
- pytest ==7.1.2 test
- pytest-cov ==3.0.0 test
- pytest-xdist ==2.5.0 test
- scipy ==1.3.3 test
- smart-open ==5.0.0 test
- tqdm ==4.32.0 test
- urllib3 ==1.26.5 test
- woodwork ==0.16.2 test
- ruzickap/action-my-broken-link-checker v2 composite
- actions/cache v3 composite
- actions/checkout v3 composite
- actions/setup-python v4 composite
- actions/checkout v3 composite
- alteryx/create-feedstock-meta-yaml v4 composite
- actions/cache v3 composite
- actions/checkout v3 composite
- actions/setup-python v4 composite
- actions/checkout v3 composite
- actions/setup-python v4 composite
- peter-evans/create-pull-request v3 composite
- actions/cache v3 composite
- actions/checkout v3 composite
- actions/setup-python v4 composite
- actions/checkout v3 composite
- actions/checkout v3 composite
- alteryx/minimum-dependency-generator v3 composite
- peter-evans/create-pull-request v3 composite
- aws-actions/configure-aws-credentials v1 composite
- nearform/github-action-check-linked-issues v1.4.5 composite
- FeatureLabs/gh-action-pypi-upload v2 composite
- actions/checkout v3 composite
- actions/checkout v3 composite
- actions/checkout v3 composite
- actions/setup-python v4 composite
- actions/checkout v3 composite
- actions/setup-python v4 composite
- codecov/codecov-action v3 composite
- actions/checkout v3 composite
- actions/setup-python v4 composite
- actions/checkout v3 composite
- actions/setup-python v4 composite
- slackapi/slack-github-action v1 composite
- cloudpickle >= 1.5.0
- holidays >= 0.13, < 0.33
- numpy >= 1.21.0
- packaging >= 20.0
- pandas >= 1.5.0
- psutil >= 5.6.6
- scipy >= 1.10.0
- tqdm >= 4.32.0
- woodwork >= 0.23.0