Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
F

featuretools

> DevOps
Open source

An open source python library for automated feature engineering

7.7K stars0 likes1 views
WebsiteGitHub

About

An open source python library for automated feature engineering

"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

</a>
<a href="https://codecov.io/gh/alteryx/featuretools">
    
</a>
<a href='https://featuretools.alteryx.com/en/stable/?badge=stable'>
    
</a>
<a href="https://badge.fury.io/py/featuretools" target="_blank">
    
</a>
<a href="https://anaconda.org/conda-forge/featuretools" target="_blank">
    
</a>
<a href="https://stackoverflow.com/questions/tagged/featuretools" target="_blank">
    
</a>
<a href="https://pepy.tech/project/featuretools" target="_blank">
    
</a>


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.load_mock_customer(return_entityset=True)
>> es.plot()

Featuretools can automatically create a single table of features for any "target dataframe"

python
>> feature_matrix, features_defs = ft.dfs(entityset=es, target_dataframe_name="customers")
>> feature_matrix.head(5)
…

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 [email protected]

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.

Issues· 171 open

View all issuesOpen on GitHub
  • #2214

    And Primitive has unnecessary inputs

    bugrefactortech debtUpdated Sep 24, 2026
  • #1272

    Update allowed types for instance_vals in query_by_values

    good first issuetech debtUpdated Jun 28, 2026
  • #2768

    RollingMean: index values must not have NaT

    bugUpdated Jun 28, 2026
  • #2700

    How can we handle few missing time indices in featuretools? Even one missing timestamp in the time index leads to all time based features being null

    bugUpdated Oct 30, 2025
  • #2767

    DFS with n_jobs > 1 fails

    bugUpdated Sep 2, 2025
  • #2086

    Add tests that confirm primitive input_types are the expected shapes

    good first issueUpdated Jul 23, 2025
  • #1967

    Determine way to speed up calculate_feature_matrix

    spikeUpdated Jun 15, 2025
  • #2765

    Please update the link in the repo to https://featuretools.alteryx.com/en/stable/

    bugUpdated Jun 10, 2025
  • #1913

    Use polars for primitive calculation for faster feature value generation

    new featureneeds designspikeUpdated May 12, 2025
  • #629

    Support Datetime Feature +/- pd.Timedelta

    good first issueUpdated Jan 29, 2025

> Tags

Pythonautomated-feature-engineeringautomated-machine-learningautomldata-science

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedOct 1, 2026
CategoryDevOps
PricingOpen source

> Related tools

D
Docker
容器化平台,标准化应用交付
G
GitHub Actions
GitHub 原生 CI/CD 工作流
N
Nginx
高性能 Web 服务器与反向代理