recordMetrics
Syntax
Description
recordMetrics(
records the specified metric value in the training plot and the monitor,step,metricName=metricValue)MetricData property of the TrainingProgressMonitor object monitor.
recordMetrics(
records the metric values specified by the structure
monitor,step,metricStructure)metricStructure.
Examples
Input Arguments
Tips
The information values appear in the Training Progress window and the training plot shows a record of the metric values. Use information values for text and for numerical values that you want to display in the training window but not in the training plot.
Use the
groupSubPlotfunction to group multiple metrics in a single training subplot.Because of the computation required to update graphics, updating the plot every iteration can slow down your training. To reduce the number of plot updates and speed up training, plot multiple values simultaneously by passing vectors of values to the
stepandmetricValuearguments (since R2026a).
