automate the process of building optimized machine learning models
automated machine learning (automl) automates and eliminates manual steps required to go from a data set to a predictive model. automl also lowers the level of expertise required to build accurate models, so you can use it whether you are an expert or have limited machine learning experience. by automating repetitive tasks, automl streamlines complex phases in the machine learning workflow, such as:
- data exploration and preprocessing: identify variables with low predictive power and highly correlated variables that should be eliminated.
- feature extraction and selection: extract features automatically and—among a large feature set—identify those with high predictive power.
- model selection and tuning: automatically tune model hyperparameters and identify the best performing model.
- preparation for deployment: with code generation, you can transform high-level machine learning code into lower level languages like c/c for deploying on embedded devices with limited memory and low power consumption.
you can use matlab with automl to support many workflows, such as feature extraction and selection and model selection and tuning.
feature extraction and selection
feature extraction reduces the high dimensionality and variability present in the raw data and identifies variables that capture the salient and distinctive parts of the input signal. the process of feature engineering typically progresses from generating initial features from the raw data to selecting a small subset of the most suitable features. but feature engineering is an iterative process, and other methods such as feature transformation and dimensionality reduction can play a role.
depending on the type of data, many approaches are available to generate features from raw data:
- wavelet scattering applies predefined wavelet and scaling filters to obtain low-variance features from signal and image data.
- unsupervised learning approaches, such as reconstruction ica and sparse filtering, learn efficient representations by uncovering the independent components and optimizing for sparsity in the feature distribution.
- other functions for images and audio signals can be found in computer vision toolbox™ and audio toolbox™.
feature selection identifies a subset of features that still provide predictive power, but with fewer features and a smaller model. various methods for automated feature selection are available, including ranking features by their predictive power and learning feature importance along with the model parameters. other feature selection methods iteratively determine a set of features that optimize model performance.
model selection and tuning
at the core of developing a comprehensive machine learning model is identifying which among the many available models performs best for the task at hand, and then tuning its hyperparameters to optimize performance. automl can optimize both model and associated hyperparameters in a single step. efficient implementations of one-step model optimization apply meta learning to narrow the search for good models to a subset of candidate models based on characteristics of the features, and optimizes the hyperparameters for each of those candidate models efficiently by applying bayesian optimization instead of the computationally more intensive grid and random searches.
if promising models are identified using other means (e.g., trial and error), its hyperparameters can be optimized individually by methods such as grid or random search, or bayesian optimization as previously mentioned.
once you have identified a performance model, you can deploy your optimized model without additional coding. to accomplish this task, apply automated code generation or integrate it within a simulation environment like simulink®.
example/how to
videos
software reference
see also: statistics and machine learning toolbox, machine learning, supervised learning, feature extraction, feature selection, data fitting, wavelet transforms, wavelet toolbox, machine learning models, biomedical signal processing, surrogate optimization