Commit 2b8b4f07 authored by Georgios Dagkakis's avatar Georgios Dagkakis

imports from KE updated to new names

parent a1f6873d
......@@ -55,10 +55,10 @@ class DefaultTabularExit(plugin.OutputPreparationPlugin):
return data
def getConfidenceInterval(self, value_list, confidenceLevel):
from dream.KnowledgeExtraction.ConfidenceIntervals import Intervals
from dream.KnowledgeExtraction.StatisticalMeasures import BasicStatisticalMeasures
BSM=BasicStatisticalMeasures()
lb, ub = Intervals().ConfidIntervals(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)
......
......@@ -35,10 +35,10 @@ class Plugin(object):
# calcualted the confidence inteval for a list and a confidence level
def getConfidenceInterval(self, value_list, confidenceLevel):
from dream.KnowledgeExtraction.ConfidenceIntervals import Intervals
from dream.KnowledgeExtraction.StatisticalMeasures import BasicStatisticalMeasures
BSM=BasicStatisticalMeasures()
lb, ub = Intervals().ConfidIntervals(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)
......
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