Minor fix in plotting the graph
This commit is contained in:
parent
9beb68867a
commit
feacd5844c
@ -349,7 +349,7 @@ groupByMetric metrics results = filter (\(_, ss) -> not (null ss))
|
|||||||
plotGraph :: FilePath -> (Metric, [(SourceSpec, GraphSeries)]) -> IO ()
|
plotGraph :: FilePath -> (Metric, [(SourceSpec, GraphSeries)]) -> IO ()
|
||||||
plotGraph graphFile (metric@(ProbabilisticSoftFMeasure _), seriesSpecs) = do
|
plotGraph graphFile (metric@(ProbabilisticSoftFMeasure _), seriesSpecs) = do
|
||||||
toFile def graphFile $ do
|
toFile def graphFile $ do
|
||||||
layoutlr_title .= "GEval Graph / Loess / " ++ (show metric)
|
layoutlr_title .= "GEval Graph / Calibration / Loess / " ++ (show metric)
|
||||||
let perfectSeries = (FilePathSpec "Perfect",
|
let perfectSeries = (FilePathSpec "Perfect",
|
||||||
GraphSeries [(0.0, 0.0), (1.0, 1.0)])
|
GraphSeries [(0.0, 0.0), (1.0, 1.0)])
|
||||||
mapM_ plotOneSeries $ (perfectSeries : seriesSpecs)
|
mapM_ plotOneSeries $ (perfectSeries : seriesSpecs)
|
||||||
|
Loading…
Reference in New Issue
Block a user