mlrl.testbed.prediction_characteristics module

Author: Michael Rapp (michael.rapp.ml@gmail.com)

Provides classes for printing certain characteristics of binary predictions. The characteristics can be written to one or several outputs, e.g., to the console or to a file.

class mlrl.testbed.prediction_characteristics.PredictionCharacteristicsWriter(sinks: List[Sink])

Bases: OutputWriter

Allows to write the characteristics of binary predictions to one or several sinks.

class CsvSink(output_dir: str, options: ~mlrl.common.options.Options = <mlrl.common.options.Options object>)

Bases: CsvSink

Allows to write the characteristics of binary predictions to CSV files.

class LogSink(options: ~mlrl.common.options.Options = <mlrl.common.options.Options object>)

Bases: LogSink

Allows to write the characteristics of binary predictions to the console.