GenSynth Documentation

Creating Custom Performance Metrics

The preferred way to specify metrics is to have them calculated by tensors in your graph. However, if you must run Python code to compute the metrics, you may create a Python3 plugin, referred to as a Performance Metric plug-in.

In a custom metrics module, you may define a number of different metrics. When starting a job you may select one of them as the primary performance metric.

You may also define secondary metrics. These metrics are reported but do not affect any decisions made by GenSynth.

Both primary and secondary metrics are generated from Validation and Test data. The Test data results are reported to you.


You may use Python's print() command to debug the dataset; output will be visible when viewing the validation results.