Commit a550118c authored by matjaz's avatar matjaz

CrossBee: 9 new widgets dealing mainly with heuristic calculation, results...

CrossBee: 9 new widgets dealing mainly with heuristic calculation, results exploration and methodlolgy evaluation. Reorganization of categories.
parent 1c416136
This diff is collapsed.
......@@ -118,3 +118,79 @@ def crossbee_get_vocabulary(inputDict):
outputDict['vocabulary'] = execResultPy
return outputDict
def crossbee_get_vocabulary_with_statistics(inputDict):
_rawParsedDoc = ToNetObj(inputDict['rawParsedDoc'])
execResult = CrossBeeIntf.GetVocabularyWithStatistics(_rawParsedDoc)
execResultPy = ToPyObj(execResult)
outputDict = {}
outputDict['vocabularyStat'] = execResultPy
return outputDict
def crossbee_apply_heurisitcs(inputDict):
_vocabularyStat = ToNetObj(inputDict['vocabularyStat'])
_heuristics = ToNetObj(inputDict['heuristics'])
execResult = CrossBeeIntf.ApplyHeurisitcs(_vocabularyStat, _heuristics)
execResultPy = ToPyObj(execResult)
outputDict = {}
outputDict['heur'] = execResultPy
return outputDict
def crossbee_select_heuristics(inputDict):
_heuristics = ToNetObj(inputDict['heuristics'])
execResult = CrossBeeIntf.SelectHeuristics(_heuristics)
execResultPy = ToPyObj(execResult)
outputDict = {}
outputDict['heuristics'] = execResultPy
return outputDict
def crossbee_rank_terms(inputDict):
_heuristics = ToNetObj(inputDict['heuristics'])
execResult = CrossBeeIntf.RankTerms(_heuristics)
execResultPy = ToPyObj(execResult)
outputDict = {}
outputDict['table'] = execResultPy
return outputDict
def crossbee_explore_in_crossbee(inputDict):
_rawParsedDoc = ToNetObj(inputDict['rawParsedDoc'])
_heuristics = ToNetObj(inputDict['heuristics'])
_bterms = ToNetObj(inputDict['bterms'])
execResult = CrossBeeIntf.ExploreInCrossbee(_rawParsedDoc, _heuristics, _bterms)
execResultPy = ToPyObj(execResult)
outputDict = {}
return outputDict
def crossbee_get_roc_curves(inputDict):
_heuristics = ToNetObj(inputDict['heuristics'])
_bterms = ToNetObj(inputDict['bterms'])
execResult = CrossBeeIntf.GetRocCurves(_heuristics, _bterms)
execResultPy = ToPyObj(execResult)
outputDict = {}
outputDict['roc'] = execResultPy
return outputDict
def crossbee_display_roc_curves(inputDict):
_roc = ToNetObj(inputDict['roc'])
execResult = CrossBeeIntf.DisplayRocCurves(_roc)
execResultPy = ToPyObj(execResult)
outputDict = {}
return outputDict
def crossbee_get_performance_measures(inputDict):
_heuristics = ToNetObj(inputDict['heuristics'])
_bterms = ToNetObj(inputDict['bterms'])
execResult = CrossBeeIntf.GetPerformanceMeasures(_heuristics, _bterms)
execResultPy = ToPyObj(execResult)
outputDict = {}
outputDict['perf'] = execResultPy
return outputDict
def crossbee_get_viper_measures(inputDict):
_heuristics = ToNetObj(inputDict['heuristics'])
_bterms = ToNetObj(inputDict['bterms'])
execResult = CrossBeeIntf.GetViperMeasures(_heuristics, _bterms)
execResultPy = ToPyObj(execResult)
outputDict = {}
outputDict['perf'] = execResultPy
return outputDict
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