Module es.upm.fi.cig.multictbnc
Class MetricsWriter
java.lang.Object
es.upm.fi.cig.multictbnc.writers.performance.MetricsWriter
- Direct Known Subclasses:
ConsoleExperimentsWriter
,ExcelExperimentsWriter
Defines classes that write the results of evaluation metrics on different outputs.
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
MetricsWriter
public MetricsWriter()
-
-
Method Details
-
close
public void close()Closes the writer. -
write
Writes the results to an output. The results are provided as aMap
where keys represent evaluation metric names and values represent their corresponding scores.- Parameters:
results
- aMap
with the results of the evaluation metrics
-
write
Writes the given results. The results are provided as aMap
where ke evaluation metric names and values represent their corresponding scores.- Parameters:
results
- aMap
with the results of the evaluation metrics
-