autofunc.get_func_rep

Find and return a functional representation of a product based on its constituent components and the results previously found from data mining

Module Contents

Functions

get_func_rep(thresh_results, input_comps, conf_values=True)

Find the functional representation of a set of components based on the results of data mining

autofunc.get_func_rep.get_func_rep(thresh_results, input_comps, conf_values=True)

Find the functional representation of a set of components based on the results of data mining

Parameters
  • thresh_results (dict) – The return dictionary from the “get_top_results” function

  • input_comps (string) – The filename of a .csv file containing the components of a product

  • conf_values (bool) – A boolean of whether or not to return the results with the frequency values, default is True

Returns

  • learned_dict – Returns a dictionary of function and flow combinations sorted by confidence for each component in the input_case. The key is the component and the value is a list of function-flow combinations.

  • unmatched – Returns a list of components that were in the set of input components but not found in the data mining results.