Manage Experiments - MATLAB & Simulink (original) (raw)

Train networks under multiple initial conditions, interactively tune training options, and evaluate your results

Use the Experiment Manager app to find optimal training options for neural networks by sweeping through a range of hyperparameter values or by using Bayesian optimization. Use the built-in function trainnet or define your own custom training function. Monitor your progress by using training plots. Use confusion matrices and custom metric functions to evaluate your trained network.

This page contains information about experiments for your AI workflows. For general information about using the app, see Experiment Manager.

Apps

Experiment Manager Design and run experiments to train and compare deep learning networks

Objects

experiments.Monitor Update results table and training plots for custom training experiments (Since R2021a)

Functions

groupSubPlot Group metrics in experiment training plot (Since R2021a)
recordMetrics Record metric values in experiment results table and training plot (Since R2021a)
updateInfo Update information columns in experiment results table (Since R2021a)
yscale Set training plot _y_-axis scale (linear or logarithmic) (Since R2024a)

Topics

Troubleshooting

Debug Deep Learning Experiments

Diagnose problems in your setup, training, and metric functions. (Since R2023a)

Try Multiple Pretrained Networks for Transfer Learning

Try Multiple Pretrained Networks for Transfer Learning

Configure an experiment that replaces layers of different pretrained networks for transfer learning.

Experiment with Weight Initializers for Transfer Learning

Experiment with Weight Initializers for Transfer Learning

Configure an experiment that initializes the weights of convolution and fully connected layers using different weight initializers.

Audio Transfer Learning Using Experiment Manager

Audio Transfer Learning Using Experiment Manager

Configure an experiment that compares the performance of multiple pretrained networks applied to a speech command recognition task using transfer learning.

Choose Training Configurations for LSTM Using Bayesian Optimization

Choose Training Configurations for LSTM Using Bayesian Optimization

Find optimal data architecture and network configurations for sequence-to-sequence regression using Bayesian optimization.

Run a Custom Training Experiment for Image Comparison

Run a Custom Training Experiment for Image Comparison

Train a twin neural network to identify similar images of handwritten characters.

Use Experiment Manager to Train Generative Adversarial Networks (GANs)

Use Experiment Manager to Train Generative Adversarial Networks (GANs)

Create a custom training experiment to generate images of flowers.

Custom Training with Multiple GPUs in Experiment Manager

Custom Training with Multiple GPUs in Experiment Manager

Configure multiple parallel workers to collaborate on each trial of a custom training experiment.