BenchmarkResult.BenchmarkMetric

  • BenchmarkMetric is an abstract class used for accuracy metrics.

  • It has public methods to get the name of the metric and a list of its values from sample inputs.

  • It inherits standard methods from the java.lang.Object class.

public static abstract class BenchmarkResult.BenchmarkMetric extends Object

Accuracy metrics.

Public Method Summary

abstract String
getName()
Gets the name of the metric.
abstract List<Float>
getValues()
Returns the list of the metric value from each sample input.

Inherited Method Summary

Public Methods

public abstract String getName ()

Gets the name of the metric.

public abstract List<Float> getValues ()

Returns the list of the metric value from each sample input.