featuretools

An open source python library for automated feature engineering

https://github.com/alteryx/featuretools

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

automated-feature-engineering automated-machine-learning automl data-science feature-engineering machine-learning python scikit-learn

Keywords from Contributors

alignment flexible interpretability interactive datacleaner hack standardization data-profilers pipeline-testing autograder
Last synced: 6 months ago · JSON representation

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
automated-feature-engineering automated-machine-learning automl data-science feature-engineering machine-learning python scikit-learn
Created over 8 years ago · Last pushed 6 months ago
Metadata Files
Readme Contributing License

README.md

Featuretools

"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

Tests Documentation Status PyPI Version Anaconda Version StackOverflow PyPI Downloads


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

Repository | Notebook

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:

  1. For usage questions, use Stack Overflow with the featuretools tag.
  2. For bugs, issues, or feature requests start a Github issue.
  3. For discussion regarding development on the core library, use Slack.
  4. 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.

Alteryx Open Source

Owner

  • Name: alteryx
  • Login: alteryx
  • Kind: organization
  • Location: Broomfield, CO

Alteryx Open Source

Committers

Last synced: 9 months ago

All Time
  • Total Commits: 1,380
  • Total Committers: 74
  • Avg Commits per committer: 18.649
  • Development Distribution Score (DDS): 0.823
Past Year
  • Commits: 11
  • Committers: 3
  • Avg Commits per committer: 3.667
  • Development Distribution Score (DDS): 0.273
Top Committers
Name Email 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
bug (17) new feature (17) Dask (13) enhancement (10) needs design (8) documentation (8) tech debt (6) 2.0 wish list (5) Koalas (4) good first issue (4) spike (3) time series (3) refactor (3) API (2) evalml (1) epic (1) testing (1)
Pull Request Labels
dependencies (9)

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

  • Versions: 105
  • Dependent Packages: 23
  • Dependent Repositories: 286
  • Downloads: 96,411 Last month
  • Docker Downloads: 963
Rankings
Stargazers count: 0.3%
Dependent packages count: 0.5%
Dependent repos count: 0.9%
Average: 1.0%
Docker downloads count: 1.3%
Downloads: 1.4%
Forks count: 1.5%
Last synced: 6 months ago
proxy.golang.org: github.com/alteryx/featuretools
  • Versions: 97
  • Dependent Packages: 0
  • Dependent Repositories: 0
Rankings
Stargazers count: 0.8%
Forks count: 0.9%
Average: 5.2%
Dependent packages count: 8.4%
Dependent repos count: 10.6%
Last synced: 6 months ago
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.

  • Versions: 63
  • Dependent Packages: 7
  • Dependent Repositories: 5
Rankings
Stargazers count: 4.2%
Forks count: 5.6%
Dependent packages count: 8.0%
Average: 8.1%
Dependent repos count: 14.7%
Last synced: 6 months ago
pypi.org: featuretools-sql

directly import and convert their relational data into a Featuretools

  • Versions: 5
  • Dependent Packages: 1
  • Dependent Repositories: 1
  • Downloads: 30 Last month
Rankings
Dependent packages count: 4.7%
Downloads: 14.4%
Stargazers count: 16.5%
Average: 17.5%
Dependent repos count: 21.8%
Forks count: 29.8%
Last synced: 6 months ago
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.

  • Versions: 2
  • Dependent Packages: 2
  • Dependent Repositories: 5
Rankings
Stargazers count: 10.0%
Forks count: 12.1%
Dependent packages count: 13.5%
Average: 19.6%
Dependent repos count: 42.8%
Last synced: 6 months ago

Dependencies

featuretools/tests/requirement_files/latest_requirements.txt pypi
  • 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
featuretools/tests/requirement_files/minimum_core_requirements.txt pypi
  • 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
featuretools/tests/requirement_files/minimum_spark_requirements.txt pypi
  • 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
featuretools/tests/requirement_files/minimum_test_requirements.txt pypi
  • 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
.github/workflows/auto_approve_dependency_PRs.yaml actions
.github/workflows/broken_link_check.yaml actions
  • ruzickap/action-my-broken-link-checker v2 composite
.github/workflows/build_docs.yaml actions
  • actions/cache v3 composite
  • actions/checkout v3 composite
  • actions/setup-python v4 composite
.github/workflows/create_feedstock_pr.yaml actions
  • actions/checkout v3 composite
  • alteryx/create-feedstock-meta-yaml v4 composite
.github/workflows/install_test.yaml actions
  • actions/cache v3 composite
  • actions/checkout v3 composite
  • actions/setup-python v4 composite
.github/workflows/kickoff_evalml_unit_tests.yaml actions
.github/workflows/latest_dependency_checker.yaml actions
  • actions/checkout v3 composite
  • actions/setup-python v4 composite
  • peter-evans/create-pull-request v3 composite
.github/workflows/lint_check.yaml actions
  • actions/cache v3 composite
  • actions/checkout v3 composite
  • actions/setup-python v4 composite
.github/workflows/looking_glass_airflow_performance_tests.yaml actions
  • actions/checkout v3 composite
.github/workflows/minimum_dependency_checker.yaml actions
  • actions/checkout v3 composite
  • alteryx/minimum-dependency-generator v3 composite
  • peter-evans/create-pull-request v3 composite
.github/workflows/performance-check.yaml actions
  • aws-actions/configure-aws-credentials v1 composite
.github/workflows/pull_request_check.yaml actions
  • nearform/github-action-check-linked-issues v1.4.5 composite
.github/workflows/release.yaml actions
  • FeatureLabs/gh-action-pypi-upload v2 composite
  • actions/checkout v3 composite
.github/workflows/release_notes_updated.yaml actions
  • actions/checkout v3 composite
.github/workflows/test_without_test_dependencies.yaml actions
  • actions/checkout v3 composite
  • actions/setup-python v4 composite
.github/workflows/tests_with_latest_deps.yaml actions
  • actions/checkout v3 composite
  • actions/setup-python v4 composite
  • codecov/codecov-action v3 composite
.github/workflows/tests_with_minimum_deps.yaml actions
  • actions/checkout v3 composite
  • actions/setup-python v4 composite
.github/workflows/tests_with_woodwork_main_branch.yaml actions
  • actions/checkout v3 composite
  • actions/setup-python v4 composite
  • slackapi/slack-github-action v1 composite
docs/source/setup.py pypi
featuretools/tests/entry_point_tests/add-ons/featuretools_plugin/setup.py pypi
featuretools/tests/entry_point_tests/add-ons/featuretools_primitives/setup.py pypi
pyproject.toml pypi
  • 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