Documentation
¶
Overview ¶
Package output provides different formats of output for experiments.
Package output provides different formats of output for experiments.
Index ¶
- func CsvMeasurementFormatter(topics, headers []string, data [][]float64) (string, error)
- func JsonEvaluationFormatter(results map[string]map[string]float64) (string, error)
- func JsonMeasurementFormatter(topics, headers []string, data [][]float64) (string, error)
- type EvaluationFormatter
- type MeasurementFormatter
- type TrecResults
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CsvMeasurementFormatter ¶
CsvMeasurementFormatter outputs results in CSV format.
func JsonEvaluationFormatter ¶
JsonMeasurementFormatter outputs results in a JSON format.
Types ¶
type EvaluationFormatter ¶
EvaluationFormatter is used in the a groove pipeline to output evaluation results.
type MeasurementFormatter ¶
MeasurementFormatter is used in the a groove pipeline to output measurements in various formats. These methods should not be used directly since there are some assumptions made about the inputs; for instance, the length of each argument.
type TrecResults ¶
type TrecResults struct { Path string Results trecresults.ResultList }
TrecResults represents the output format for trec results.
Click to show internal directories.
Click to hide internal directories.