er_algorithm

ertool.er.er_algorithm(W, DBF, numOfEvidence, numOfPropositions)

er_algorithm() can implement the Evidential Reasoning (ER) algorithm.

Input

Output

dempster_rule

ertool.er.dempster_rule(DBF, numOfEvidence, numOfPropositions)

dempster_rule() can implement the original Dempster-Shafer evidence theory.

Input

Output

yager_rule

ertool.er.yager_rule(DBF, numOfEvidence, numOfPropositions)

yager_rule() can implement the original Yager’s Rule.

Input

Output

murphy_rule

ertool.er.murphy_rule(DBF, numOfEvidence, numOfPropositions)

murphy_rule() can implement the original Murphy’s Rule.

Input

Output

show_er_result

ertool.er.show_er_result(B, P = None)

er.show_er_result() can visualize the result of evidential reasoning algorithm.

Input

run_algorithm_from_file

ertool.er.run_algorithm_from_file(file_path, algorithm = 'ER')

run_algorithm_from_file() reads CSV or XLSX files and performs multi-source evidence fusion on the data using ER approach or Dempster-Shafer’s theory.

Input

Output

multi_level_multi_source

ertool.er.multi_level_multi_source(folder_path)

The multi_level_multi_source() function can perform multi-level multi-source evidence fusion for folders that have already been structured using directory tree recursion method.

Input

Output

The result of multi-level multi-source evidence fusion is generated in the root folder and written into the “Objects_combined.csv” file.