Commit 2046ab94 authored by MessikommerNico's avatar MessikommerNico

Merge branch 'feature/EvaluationMetric' into 'master'

Corrected Message

See merge request analytics-club/hack4good/fs19/team-2!13
parents a4fb2c52 e7993640
......@@ -46,7 +46,7 @@ def plotConfusionF1(data_gt, data_pred, sector, pdf):
def plotSeverityStatistics(sector_data_frame, low_threshold, high_threshold, sector, pdf):
data_frame_adjusted = sector_data_frame[(sector_data_frame.iloc[:, 0] < low_threshold) |
(sector_data_frame.iloc[:, 0] > high_threshold)]
sector = sector + ' Household with a PiN [0, ' + str(low_threshold) + '] and [' + str(high_threshold) + ', 8]'
sector = sector + ' Household with a PiN [0, ' + str(low_threshold) + '] and [' + str(high_threshold) + ', 10]'
plotConfusionF1(data_frame_adjusted.iloc[:, 1], data_frame_adjusted.iloc[:, 2], sector, pdf)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment