autofunc.get_top_results¶
Takes the results of the frequency-finding and sorting algorithm and cuts off the sum of frequencies at a threshold
Module Contents¶
Functions¶
|
Use top XX% of results as a threshold for the functions and flows that are associated with each component. |
-
autofunc.get_top_results.get_top_results(conf_results, threshold=0.7)¶ Use top XX% of results as a threshold for the functions and flows that are associated with each component.
- Parameters
- Returns
Returns a dictionary of function and flow combinations sorted by confidence that sum up to the threshold. The key is the component and the value is a list of type: [function-flow, confidence]
- Return type
return_dict