Feature Extraction Explained (2024)

Feature extraction refers to the process of transforming raw data into numerical features that can be processed while preserving the information in the original data set. It yields better results than applying machine learning directly to the raw data.

Feature extraction can be accomplished manually or automatically:

  • Manual feature extraction requires identifying and describing the features that are relevant for a given problem and implementing a way to extract those features. In many situations, having a good understanding of the background or domain can help make informed decisions as to which features could be useful. Over decades of research, engineers and scientists have developed feature extraction methods for images, signals, and text. An example of a simple feature is the mean of a window in a signal.
  • Automated feature extraction uses specialized algorithms or deep networks to extract features automatically from signals or images without the need for human intervention. This technique can be very useful when you want to move quickly from raw data to developing machine learning algorithms. Wavelet scattering is an example of automated feature extraction.

With the ascent of deep learning, feature extraction has been largely replaced by the first layers of deep networks – but mostly for image data. For signal and time-series applications, feature extraction remains the first challenge that requires significant expertise before one can build effective predictive models.

Feature Extraction for Signals and Time Series Data

Feature extraction identifies the most discriminating characteristics in signals, which a machine learning or a deep learning algorithm can more easily consume. Training machine learning or deep learning directly with raw signals often yields poor results because of the high data rate and information redundancy.

Feature Extraction Explained (1)

Schematic process for applying feature extraction to signals and time series data for a machine learning classifier.

Signal features and time-frequency transformations

When analyzing signals and sensor data, Signal Processing Toolbox™ and Wavelet Toolbox™ provide functions that let you measure common distinctive features of a signal in the time, frequency, and time-frequency domains. You can apply pulse and transition metrics, measure signal-to-noise ratio (SNR), estimate spectral entropy and kurtosis, and compute power spectra.

Time-frequency transformations, such as the short-time Fourier transform (STFT) can be used as signal representations for training data in machine learning and deep learning models. For example, convolutional neural networks (CNNs) are commonly used on image data and can successfully learn from the 2D signal representations returned by time-frequency transformations.

Other time-frequency transformations can be used, depending on the specific application or the characteristics. For example, the constant-Q transform (CQT) provides a logarithmically spaced frequency distribution; the continuous wavelet transform (CWT) is usually effective at identifying short transients in non-stationary signals.

Features for audio applications and predictive maintenance

Audio Toolbox™ provides a collection of time-frequency transformations including Mel spectrograms, octave and gammatone filter banks, and discrete cosine transform (DCT), that are often used for audio, speech, and acoustics. Other popular feature extraction methods for these types of signals include Mel frequency cepstral coefficients (MFCC), gammatone cepstral coefficients (GTCC), pitch, harmonicity, and different types of audio spectral descriptors. The Audio Feature Extractor tool can help select and extract different audio features from the same source signal while reusing any intermediate computations for efficiency.

Feature Extraction Explained (3)

For engineers developing applications for condition monitoring and predictive maintenance, the Diagnostic Feature Designer app in Predictive Maintenance Toolbox™ lets you extract, visualize, and rank features to design condition indicators for monitoring machine health.

Feature Extraction Explained (4)

Diagnostic Feature Designer App lets you design and compare features to discriminate between nominal and faulty systems.

Automated feature extraction methods

Automated feature extraction is a part of the completeAutoMLworkflow that delivers optimized models. The workflow involves three simple steps that automate feature selection, model selection, and hyperparameter tuning.

New high-level methods have emerged to automatically extract features from signals. Autoencoders, wavelet scattering, and deep neural networks are commonly used to extract features and reduce dimensionality of the data.

Wavelet scattering networks automate the extraction of low-variance features from real-valued time series and image data. This approach produces data representations that minimize differences within a class while preserving discriminability across classes. Wavelet scattering works well when you do not have a lot of data to begin with.

Feature Extraction for Image Data

Feature extraction for image data represents the interesting parts of an image as a compact feature vector. In the past, this was accomplished with specialized feature detection, feature extraction, and feature matching algorithms. Today, deep learning is prevalent in image and video analysis, and has become known for its ability to take raw image data as input, skipping the feature extraction step. Regardless of which approach you take, computer vision applications such as image registration, object detection and classification, and content-based image retrieval, all require effective representation of image features – either implicitly by the first layers of a deep network, or explicitly applying some of the longstanding image feature extraction techniques.

Feature Extraction Explained (5)

Detecting an object (left) in a cluttered scene (right) using a combination of feature detection, feature extraction, and matching. See example for details.

Feature extraction techniques provided by Computer Vision Toolbox™ and Image Processing Toolbox™ include:

  • Histogram of oriented gradients (HOG)
  • Speeded-up robust features (SURF)
  • Local binary pattern (LBP) features

Feature Extraction Explained (6)

Histogram of oriented gradients (HOG) feature extraction of image (top). Feature vectors of different sizes are created to represent the image by varying cell size (bottom). See example for details.

Examples and How To

  • Machine Learning and Deep Learning with Wavelet Scattering | Understanding Wavelets, Part 5 (4:03)- Video
  • Sequential Feature Selection for Audio Features- Example
  • Feature Extraction Using Deep Learning- Example
  • Detect Objects in a Cluttered Scene Using Point Feature Matching- Example
  • Extract Regions of Interest from Whale Song- Example
  • Video Stabilization Using Point Feature Matching- Example

Software Reference

  • Spectral Analysis- Documentation
  • Audio Spectral Descriptors - Characterize the spectral shape of audio signals- Documentation
  • extractFeatures: Extract Interest Point Descriptors- Function
  • detectSURFFeatures: Detect SURF Features- Function
  • MSERRegions: Maximally Stable Extremal Regions (MSER)- Documentation
  • extractHOGFeatures: Histogram of Oriented Gradient Feature Extraction- Documentation
  • Sparse Filtering and Reconstruction ICA Algorithms- Documentation

See also:feature matching, object detection, image stabilization, image processing and computer vision, image recognition, object detection, object recognition, digital image processing, optical flow, RANSAC, pattern recognition, point cloud, deep learning, feature selection, computer vision, AutoML

Feature Extraction Explained (2024)

References

Top Articles
Search Results - Obituaries published on Winnipeg Free Press Passages
Basic Editing in Visual Studio Code
Northern Counties Soccer Association Nj
Is Paige Vanzant Related To Ronnie Van Zant
Hannaford Weekly Flyer Manchester Nh
Metallica - Blackened Lyrics Meaning
1970 Chevelle Ss For Sale Craigslist
Craigslist In Fredericksburg
Kentucky Downs Entries Today
Riegler & Partner Holding GmbH auf LinkedIn: Wie schätzen Sie die Entwicklung der Wohnraumschaffung und Bauwirtschaft…
AB Solutions Portal | Login
Bed Bath And Body Works Hiring
Buckaroo Blog
Sunday World Northern Ireland
104 Presidential Ct Lafayette La 70503
Helloid Worthington Login
Where does insurance expense go in accounting?
Painting Jobs Craigslist
Mills and Main Street Tour
Hell's Kitchen Valley Center Photos Menu
House Of Budz Michigan
Craigslist Free Stuff Greensboro Nc
50 Shades Darker Movie 123Movies
Gdp E124
Tnt Forum Activeboard
Lonesome Valley Barber
Booknet.com Contract Marriage 2
Daylight Matt And Kim Lyrics
Msu 247 Football
Who is Jenny Popach? Everything to Know About The Girl Who Allegedly Broke Into the Hype House With Her Mom
Sunset Time November 5 2022
Shreveport City Warrants Lookup
Directions To Cvs Pharmacy
R/Airforcerecruits
Creed 3 Showtimes Near Island 16 Cinema De Lux
Craigslist Comes Clean: No More 'Adult Services,' Ever
Federal Student Aid
Devin Mansen Obituary
#1 | Rottweiler Puppies For Sale In New York | Uptown
Craigslist Lakeside Az
Boggle BrainBusters: Find 7 States | BOOMER Magazine
Ise-Vm-K9 Eol
Gregory (Five Nights at Freddy's)
Denise Monello Obituary
Suntory Yamazaki 18 Jahre | Whisky.de » Zum Online-Shop
Meet Robert Oppenheimer, the destroyer of worlds
Wisconsin Volleyball titt*es
Campaign Blacksmith Bench
Runelite Ground Markers
Fahrpläne, Preise und Anbieter von Bookaway
Ark Silica Pearls Gfi
Https://Eaxcis.allstate.com
Latest Posts
Article information

Author: Stevie Stamm

Last Updated:

Views: 5544

Rating: 5 / 5 (80 voted)

Reviews: 87% of readers found this page helpful

Author information

Name: Stevie Stamm

Birthday: 1996-06-22

Address: Apt. 419 4200 Sipes Estate, East Delmerview, WY 05617

Phone: +342332224300

Job: Future Advertising Analyst

Hobby: Leather crafting, Puzzles, Leather crafting, scrapbook, Urban exploration, Cabaret, Skateboarding

Introduction: My name is Stevie Stamm, I am a colorful, sparkling, splendid, vast, open, hilarious, tender person who loves writing and wants to share my knowledge and understanding with you.