Commit 365141af authored by Georgios Dagkakis's avatar Georgios Dagkakis

method remove from plugin since it can be inherited

parent 2b8b4f07
......@@ -52,14 +52,4 @@ class DefaultTabularExit(plugin.OutputPreparationPlugin):
round(float(lifespan['avg']),2),
round(float(lifespan['ub']),2)
])
return data
def getConfidenceInterval(self, value_list, confidenceLevel):
from dream.KnowledgeExtraction.ConfidenceIntervals import ConfidenceIntervals
from dream.KnowledgeExtraction.StatisticalMeasures import StatisticalMeasures
BSM=StatisticalMeasures()
lb, ub = ConfidenceIntervals().ConfidIntervals(value_list, confidenceLevel)
return {'lb': lb,
'ub': ub,
'avg': BSM.mean(value_list)
}
\ No newline at end of file
return data
\ No newline at end of file
......@@ -33,7 +33,7 @@ class Plugin(object):
successors.append(edge['destination'])
return successors
# calcualted the confidence inteval for a list and a confidence level
# calculate the confidence interval for a list and a confidence level
def getConfidenceInterval(self, value_list, confidenceLevel):
from dream.KnowledgeExtraction.ConfidenceIntervals import ConfidenceIntervals
from dream.KnowledgeExtraction.StatisticalMeasures import StatisticalMeasures
......
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