TrainingProgressReporting
is an option for NetTrain and related functions that specifies how to report the progress of training.
Details
- The following settings for TrainingProgressReporting can be used:
-
"Panel" show a dynamically updating graphical panel "Print" periodically report information using Print "ProgressIndicator" show a simple ProgressIndicator Function[…] display a custom dynamically updated result File[…] write the report to a file None do not report any information - TrainingProgressReporting{spec1,spec2,…} specifies multiple ways to report the progress.
- The default setting of TrainingProgressReportingAutomatic will use "Panel" when a local notebook front end is evaluable; otherwise, it will use "Print".
- Setting TrainingProgressReporting{form,"Interval"n} will report progress every n seconds.
- Setting TrainingProgressReporting{form,"Interval"Quantity[n,"unit"]} specifies the interval at which to report progress. Possible forms of "unit" include:
-
"Rounds" net training rounds "Batches" training data batches "Seconds","Minutes","Hours" absolute time - The default interval depends on the form of reporting:
-
"Panel" Quantity[0.33,"Seconds"] "Print" Quantity[2,"Seconds"] "ProgressIndicator" Quantity[0.1,"Seconds"] Function[…] Quantity[1,"Round"] File[…] Quantity[1,"Round"] - Setting TrainingProgressReporting{form,…,"MinimumInterval"n} specifies that progress should not be reported more frequently than once every n seconds.
- The default minimum interval for TrainingProgressReportingFunction[…] is 0.05 seconds. For all other reporting types, there is no minimum interval.
- The pure function in TrainingProgressReportingFunction[…] will be supplied with the association described in TrainingProgressFunction.
- The following file extensions are supported for TrainingProgressReportingFile[…]:
-
"CSV" comma-separated values "TSV" tab-separated values "JSON" JavaScript object notation "WL" Wolfram Language representation - For TrainingProgressReporting"Print" and TrainingProgressReportingFile[…], some measurements specified via TrainingProgressMeasurements may be reported in aggregated form or not reported at all. For class-based measurements like "Precision", "Recall", "F1Score", etc., the macro-average is reported. For nonscalar NetPort[…] measurements, the scalar mean is reported. For "ROCCurve" and "ConfusionMatrix", no value is reported.
Examples
open allclose allBasic Examples (6)
Options (1)
Properties & Relations (1)
Requested TrainingProgressMeasurements will be reported for the "Panel", "Print" and File[…] reporting types:
Neat Examples (1)
Text
Wolfram Research (2017), TrainingProgressReporting, Wolfram Language function, https://reference.wolfram.com/language/ref/TrainingProgressReporting.html (updated 2020).
CMS
Wolfram Language. 2017. "TrainingProgressReporting." Wolfram Language & System Documentation Center. Wolfram Research. Last Modified 2020. https://reference.wolfram.com/language/ref/TrainingProgressReporting.html.
APA
Wolfram Language. (2017). TrainingProgressReporting. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/TrainingProgressReporting.html