Products
  • Wolfram|One

    The definitive Wolfram Language and notebook experience

  • Mathematica

    The original technical computing environment

  • Notebook Assistant + LLM Kit

    All-in-one AI assistance for your Wolfram experience

  • Compute Services
  • System Modeler
  • Finance Platform
  • Wolfram|Alpha Notebook Edition
  • Application Server
  • Enterprise Private Cloud
  • Wolfram Engine
  • Wolfram Player
  • Wolfram Cloud App
  • Wolfram Player App

More mobile apps

Core Technologies of Wolfram Products

  • Wolfram Language
  • Computable Data
  • Wolfram Notebooks
  • AI & Linguistic Understanding

Deployment Options

  • Wolfram Cloud
  • wolframscript
  • Wolfram Engine Community Edition
  • Wolfram LLM API
  • WSTPServer
  • Wolfram|Alpha APIs

From the Community

  • Function Repository
  • Community Paclet Repository
  • Example Repository
  • Neural Net Repository
  • Prompt Repository
  • Wolfram Demonstrations
  • Data Repository
  • Group & Organizational Licensing
  • All Products
Consulting & Solutions

We deliver solutions for the AI era—combining symbolic computation, data-driven insights and deep technical expertise

  • Data & Computational Intelligence
  • Model-Based Design
  • Algorithm Development
  • Wolfram|Alpha for Business
  • Blockchain Technology
  • Education Technology
  • Quantum Computation

Wolfram Consulting

Wolfram Solutions

  • Data Science
  • Artificial Intelligence
  • Biosciences
  • Healthcare Intelligence
  • Sustainable Energy
  • Control Systems
  • Enterprise Wolfram|Alpha
  • Blockchain Labs

More Wolfram Solutions

Wolfram Solutions For Education

  • Research Universities
  • Colleges & Teaching Universities
  • Junior & Community Colleges
  • High Schools
  • Educational Technology
  • Computer-Based Math

More Solutions for Education

  • Contact Us
Learning & Support

Get Started

  • Wolfram Language Introduction
  • Fast Intro for Programmers
  • Fast Intro for Math Students
  • Wolfram Language Documentation

More Learning

  • Highlighted Core Areas
  • Demonstrations
  • YouTube
  • Daily Study Groups
  • Wolfram Schools and Programs
  • Books

Grow Your Skills

  • Wolfram U

    Courses in computing, science, life and more

  • Community

    Learn, solve problems and share ideas.

  • Blog

    News, views and insights from Wolfram

  • Resources for

    Software Developers

Tech Support

  • Contact Us
  • Support FAQs
  • Support FAQs
  • Contact Us
Company
  • About Wolfram
  • Career Center
  • All Sites & Resources
  • Connect & Follow
  • Contact Us

Work with Us

  • Student Ambassador Initiative
  • Wolfram for Startups
  • Student Opportunities
  • Jobs Using Wolfram Language

Educational Programs for Adults

  • Summer School
  • Winter School

Educational Programs for Youth

  • Middle School Camp
  • High School Research Program
  • Computational Adventures

Read

  • Stephen Wolfram's Writings
  • Wolfram Blog
  • Wolfram Tech | Books
  • Wolfram Media
  • Complex Systems

Educational Resources

  • Wolfram MathWorld
  • Wolfram in STEM/STEAM
  • Wolfram Challenges
  • Wolfram Problem Generator

Wolfram Initiatives

  • Wolfram Science
  • Wolfram Foundation
  • History of Mathematics Project

Events

  • Stephen Wolfram Livestreams
  • Online & In-Person Events
  • Contact Us
  • Connect & Follow
Wolfram|Alpha
  • Your Account
  • User Portal
  • Wolfram Cloud
  • Products
    • Wolfram|One
    • Mathematica
    • Notebook Assistant + LLM Kit
    • Compute Services
    • System Modeler
    • Finance Platform
    • Wolfram|Alpha Notebook Edition
    • Application Server
    • Enterprise Private Cloud
    • Wolfram Engine
    • Wolfram Player
    • Wolfram Cloud App
    • Wolfram Player App

    More mobile apps

    • Core Technologies
      • Wolfram Language
      • Computable Data
      • Wolfram Notebooks
      • AI & Linguistic Understanding
    • Deployment Options
      • Wolfram Cloud
      • wolframscript
      • Wolfram Engine Community Edition
      • Wolfram LLM API
      • WSTPServer
      • Wolfram|Alpha APIs
    • From the Community
      • Function Repository
      • Community Paclet Repository
      • Example Repository
      • Neural Net Repository
      • Prompt Repository
      • Wolfram Demonstrations
      • Data Repository
    • Group & Organizational Licensing
    • All Products
  • Consulting & Solutions

    We deliver solutions for the AI era—combining symbolic computation, data-driven insights and deep technical expertise

    WolframConsulting.com

    Wolfram Solutions

    • Data Science
    • Artificial Intelligence
    • Biosciences
    • Healthcare Intelligence
    • Sustainable Energy
    • Control Systems
    • Enterprise Wolfram|Alpha
    • Blockchain Labs

    More Wolfram Solutions

    Wolfram Solutions For Education

    • Research Universities
    • Colleges & Teaching Universities
    • Junior & Community Colleges
    • High Schools
    • Educational Technology
    • Computer-Based Math

    More Solutions for Education

    • Contact Us
  • Learning & Support

    Get Started

    • Wolfram Language Introduction
    • Fast Intro for Programmers
    • Fast Intro for Math Students
    • Wolfram Language Documentation

    Grow Your Skills

    • Wolfram U

      Courses in computing, science, life and more

    • Community

      Learn, solve problems and share ideas.

    • Blog

      News, views and insights from Wolfram

    • Resources for

      Software Developers
    • Tech Support
      • Contact Us
      • Support FAQs
    • More Learning
      • Highlighted Core Areas
      • Demonstrations
      • YouTube
      • Daily Study Groups
      • Wolfram Schools and Programs
      • Books
    • Support FAQs
    • Contact Us
  • Company
    • About Wolfram
    • Career Center
    • All Sites & Resources
    • Connect & Follow
    • Contact Us

    Work with Us

    • Student Ambassador Initiative
    • Wolfram for Startups
    • Student Opportunities
    • Jobs Using Wolfram Language

    Educational Programs for Adults

    • Summer School
    • Winter School

    Educational Programs for Youth

    • Middle School Camp
    • High School Research Program
    • Computational Adventures

    Read

    • Stephen Wolfram's Writings
    • Wolfram Blog
    • Wolfram Tech | Books
    • Wolfram Media
    • Complex Systems
    • Educational Resources
      • Wolfram MathWorld
      • Wolfram in STEM/STEAM
      • Wolfram Challenges
      • Wolfram Problem Generator
    • Wolfram Initiatives
      • Wolfram Science
      • Wolfram Foundation
      • History of Mathematics Project
    • Events
      • Stephen Wolfram Livestreams
      • Online & In-Person Events
    • Contact Us
    • Connect & Follow
  • Wolfram|Alpha
  • Wolfram Cloud
  • Your Account
  • User Portal
Wolfram Language & System Documentation Center
FeatureExtract
  • See Also
    • FeatureExtraction
    • FeatureExtractor
    • DimensionReduce
    • FeatureSpacePlot
  • Related Guides
    • Image Computation for Microscopy
    • Unsupervised Machine Learning
    • Video Processing
    • Video Analysis
    • See Also
      • FeatureExtraction
      • FeatureExtractor
      • DimensionReduce
      • FeatureSpacePlot
    • Related Guides
      • Image Computation for Microscopy
      • Unsupervised Machine Learning
      • Video Processing
      • Video Analysis

FeatureExtract[examples]

extracts features for each example using a feature extractor trained on the examples given.

FeatureExtract[examples,spec]

extracts features using the specified feature extractor method spec.

Details and Options
Details and Options Details and Options
Examples  
Basic Examples  
Scope  
Input Shape  
Extractor Specifications  
Feature Types  
Options  
FeatureNames  
FeatureTypes  
Applications  
Dataset Visualization  
Properties & Relations  
Possible Issues  
See Also
Related Guides
History
Cite this Page
BUILT-IN SYMBOL
  • See Also
    • FeatureExtraction
    • FeatureExtractor
    • DimensionReduce
    • FeatureSpacePlot
  • Related Guides
    • Image Computation for Microscopy
    • Unsupervised Machine Learning
    • Video Processing
    • Video Analysis
    • See Also
      • FeatureExtraction
      • FeatureExtractor
      • DimensionReduce
      • FeatureSpacePlot
    • Related Guides
      • Image Computation for Microscopy
      • Unsupervised Machine Learning
      • Video Processing
      • Video Analysis

FeatureExtract

FeatureExtract[examples]

extracts features for each example using a feature extractor trained on the examples given.

FeatureExtract[examples,spec]

extracts features using the specified feature extractor method spec.

Details and Options

  • FeatureExtract is typically used to process raw data into usable features (e.g. for training a machine learning algorithm)
  • FeatureExtract can be used on many types of data, including numerical, textual, sounds, images, graphs, time series and combinations of these.
  • Possible values of examples are:
  • examplea single unitary example without training
    {example1,…}a list of training examples
    Dataset[…]a Dataset object
    Tabular[…]a Tabular object
  • Each examplei can be a single data element, a list of data elements, an association of data elements, or a Dataset object.
  • Possible values for spec include:
  • extractoruse the specified extractor method
    partextractorapply the extractor to the specific example part
    {part1extractor1,…}specify extractors for specific parts
  • In FeatureExtract[examples,{part1extractor1,…}], the extractori are all applied separately to examples.
  • Possible feature extractor methods include:
  • Automaticautomatic extraction
    Identitygive data unchanged
    "ConformedData"conformed images, colors, dates, etc.
    "NumericVector"numeric vector from any data
    "name"a named extractor method
    fapplies function f to each example
    {extractor1,extractor2,…}use a sequence of extractors in turn
  • Possible forms of part are:
  • Allall parts of each example
    ii^(th) part of each example
    {i1,i2,…}parts i1, i2, … of each example
    "key"part with the specified key in each example
    {"key1","key2",…}parts with names "keyi" in each example
  • When explicitly specifying parts, any unmentioned parts are dropped when extracting features.
  • Extractors
  • FeatureExtract[examples] is equivalent to FeatureExtract[examples, Automatic] which is typically equivalent to FeatureExtract[examples, "NumericVector"].
  • The "NumericVector" method will typically convert examples to numeric vectors, impute missing data, and reduce the dimension using DimensionReduction.
  • Feature extractor methods specific to a single data type are applied only to data elements with whose types they are compatible. Other data elements are returned unchanged.
  • Not all specific feature extractors are available when only one example is provided - for example vector processors will assume a list of is a list of scalar features.
  • The specific extractors are:
  • Numeric data:
  • "DiscretizedVector"discretized numerical data
    "DimensionReducedVector"reduced-dimension numeric vectors
    "MissingImputed"data with missing values imputed
    "StandardizedVector"numeric data processed with Standardize
  • Nominal data:
  • "IndicatorVector"nominal data "one-hot encoded" with indicator vectors
    "IntegerVector"nominal data encoded with integers
  • Text:
  • "LowerCasedText"text with each character lowercase
    "SegmentedCharacters"text segmented into characters
    "SegmentedWords"text segmented into words
    "SentenceVector"semantic vector from a text
    "TFIDF"term frequency-inverse document frequency vector
    "WordVectors"semantic vectors sequence from a text (English only)
  • Images:
  • "FaceFeatures"semantic vector from an image of a human face
    "ImageFeatures"semantic vector from an image
    "PixelVector"vector of pixel values from an image
  • Audio objects:
  • "AudioFeatures"sequence of semantic vectors from an audio object
    "AudioFeatureVector"semantic vector from an audio object
    "LPC"audio linear prediction coefficients
    "MelSpectrogram"audio spectrogram with logarithmic frequencies bins
    "MFCC"audio mel-frequency cepstral coefficients vectors sequence
    "SpeakerFeatures"sequence of semantic speaker vectors
    "SpeakerFeatureVector"semantic vector for a speaker
    "Spectrogram"audio spectrogram
  • Video objects:
  • "VideoFeatures"sequence of semantic vectors from a video object
    "VideoFeatureVector"semantic vector from a video object
  • Graphs:
  • "GraphFeatures"numeric vector summarizing graph properties
  • Molecules:
  • "AtomPairs"Boolean vector from pairs of atoms and the path lengths between them
    "MoleculeExtendedConnectivity"Boolean vector from enumerated molecule subgraphs
    "MoleculeFeatures"numeric vector summarizing molecule properties
    "MoleculeTopologicalFeatures"Boolean vector from circular atom neighborhoods
  • Options
  • The following options can be given:
  • FeatureNames Automaticnames to assign to elements of the examplei
    FeatureTypes Automaticfeature types to assume for elements of the examplei
    RandomSeeding1234what seeding of pseudorandom generators should be done internally
  • Possible settings for RandomSeeding include:
  • Automaticautomatically reseed every time the function is called
    Inheriteduse externally seeded random numbers
    seeduse an explicit integer or strings as a seed
  • FeatureExtract[…] is equivalent to FeatureExtraction[…,"ExtractedFeatures"].

Examples

open all close all

Basic Examples  (4)

Extract features from a simple dataset:

Extract feature from images:

Standardized numerical values using the "StandardizedVector" extractor method:

Extract TFIDF vectors on characters by chaining the extractor methods "SegmentedCharacters" and "TFIDF":

Scope  (26)

Input Shape  (9)

Extract a list of features:

Extract from a list of examples with multiple features:

Extract features on a mixed-type dataset:

Extract features from a dataset formatted as a list of associations:

Extract features from data given as feature lists:

Feature extract from a Tabular:

Feature extract from a Dataset:

Extract features from a dataset that contains missing values:

Extract features from a single example using an extractor that requires no training:

Extractor Specifications  (8)

Specify the feature extractor "SentenceVector" on a single textual feature:

Extract features using the "SentenceVector" method followed by dimension reduction "DimensionReducedVector":

Extract features on texts and images using the text-only "TFIDF" method:

Features have only been extracted from the text part, since "TFIDF" does not apply to images.

Specify feature extraction on multiple features by position:

Extract features with the "IndicatorVector" method on the second nominal variable only:

Use the Identity extractor method to copy the first variable as well:

A variable can be copied multiple times:

Specify the feature extraction on multiple features by key:

Generate a feature extractor using a custom function:

Chain the custom extractor with the "StandardizedVector" method:

Conform data prior to processing:

Feature Types  (9)

Extract features on textual data:

Compute term frequency-inverse document frequency vectors from texts:

By default, texts will be segmented into words. This gives the same result:

Extract features with the "IndicatorVector" method on nominal variables:

Extract features from a list of DateObject instances:

Train a feature extractor on a list of Graph instances:

Train a feature extractor on a list of TimeSeries instances:

Extract features from Molecule data:

Extract features from a selection of Audio instances:

Extract features from a dataset that contains missing values:

Options  (2)

FeatureNames  (1)

Use FeatureNames to name features, and refer to their names in part specifications:

FeatureTypes  (1)

Extract features with the "IndicatorVector" method on a simple dataset:

The first feature has been interpreted as numerical, and since the "IndicatorVector" method only acts on nominal features, the first feature is unchanged.

Use FeatureTypes to enforce the interpretation of the first feature as nominal:

Applications  (1)

Dataset Visualization  (1)

Construct a dataset of dog images:

Extract features from this dataset:

Reduce the dimension of the extracted vectors to 2:

Visualize the images at their feature positions:

A similar visualization can be directly obtained using FeatureSpacePlot:

Properties & Relations  (2)

Extract features with no training examples is the equivalent of FeatureExtraction[None,...]:

FeatureExtract[…] is equivalent to FeatureExtraction[…,"ExtractedFeatures"]:

Possible Issues  (1)

Feature extraction with no training data will use inbuilt defaults where needed:

Inputting the same data as training data may give a different result:

See Also

FeatureExtraction  FeatureExtractor  DimensionReduce  FeatureSpacePlot

Related Guides

    ▪
  • Image Computation for Microscopy
  • ▪
  • Unsupervised Machine Learning
  • ▪
  • Video Processing
  • ▪
  • Video Analysis

History

Introduced in 2016 (11.0) | Updated in 2017 (11.2) ▪ 2020 (12.1) ▪ 2020 (12.2) ▪ 2021 (12.3) ▪ 2025 (14.3)

Wolfram Research (2016), FeatureExtract, Wolfram Language function, https://reference.wolfram.com/language/ref/FeatureExtract.html (updated 2025).

Text

Wolfram Research (2016), FeatureExtract, Wolfram Language function, https://reference.wolfram.com/language/ref/FeatureExtract.html (updated 2025).

CMS

Wolfram Language. 2016. "FeatureExtract." Wolfram Language & System Documentation Center. Wolfram Research. Last Modified 2025. https://reference.wolfram.com/language/ref/FeatureExtract.html.

APA

Wolfram Language. (2016). FeatureExtract. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/FeatureExtract.html

BibTeX

@misc{reference.wolfram_2025_featureextract, author="Wolfram Research", title="{FeatureExtract}", year="2025", howpublished="\url{https://reference.wolfram.com/language/ref/FeatureExtract.html}", note=[Accessed: 04-February-2026]}

BibLaTeX

@online{reference.wolfram_2025_featureextract, organization={Wolfram Research}, title={FeatureExtract}, year={2025}, url={https://reference.wolfram.com/language/ref/FeatureExtract.html}, note=[Accessed: 04-February-2026]}

Top
Introduction for Programmers
Introductory Book
Wolfram Function Repository | Wolfram Data Repository | Wolfram Data Drop | Wolfram Language Products
Top
  • Products
  • Wolfram|One
  • Mathematica
  • Notebook Assistant + LLM Kit
  • Compute Services
  • System Modeler

  • Wolfram|Alpha Notebook Edition
  • Wolfram|Alpha Pro
  • Mobile Apps

  • Wolfram Engine
  • Wolfram Player

  • Volume & Site Licensing
  • Server Deployment Options
  • Consulting
  • Wolfram Consulting
  • Repositories
  • Data Repository
  • Function Repository
  • Community Paclet Repository
  • Neural Net Repository
  • Prompt Repository

  • Wolfram Language Example Repository
  • Notebook Archive
  • Wolfram GitHub
  • Learning
  • Wolfram U
  • Wolfram Language Documentation
  • Webinars & Training
  • Educational Programs

  • Wolfram Language Introduction
  • Fast Introduction for Programmers
  • Fast Introduction for Math Students
  • Books

  • Wolfram Community
  • Wolfram Blog
  • Public Resources
  • Wolfram|Alpha
  • Wolfram Problem Generator
  • Wolfram Challenges

  • Computer-Based Math
  • Computational Thinking
  • Computational Adventures

  • Demonstrations Project
  • Wolfram Data Drop
  • MathWorld
  • Wolfram Science
  • Wolfram Media Publishing
  • Customer Resources
  • Store
  • Product Downloads
  • User Portal
  • Your Account
  • Organization Access

  • Support FAQ
  • Contact Support
  • Company
  • About Wolfram
  • Careers
  • Contact
  • Events
Wolfram Community Wolfram Blog
Legal & Privacy Policy
WolframAlpha.com | WolframCloud.com
© 2026 Wolfram
© 2026 Wolfram | Legal & Privacy Policy |
English