Main Content

Manage Experiments

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 trainNetwork or define your own custom training function. Test different training configurations at the same time by running your experiment in parallel. Offload experiments as batch jobs in a remote cluster so that you can continue working or close your MATLAB® session while your experiment is running. Monitor your progress by using training plots. Use confusion matrices and custom metric functions to evaluate your trained network. Use visualizations, filters, and annotations to manage your experiment results and record your observations. Access past experiment definitions to keep track of the combinations of hyperparameters that produce each of your results.

Apps

Experiment Manager Design and run experiments to train and compare deep learning networks (Since R2020a)

Objects

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

Functions

groupSubPlotGroup metrics in experiment training plot (Since R2021a)
recordMetricsRecord metric values in experiment results table and training plot (Since R2021a)
updateInfoUpdate information columns in experiment results table (Since R2021a)

Topics

Troubleshooting

Debug Deep Learning Experiments

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