{ "info": { "author": "Jonathan S. Prieto", "author_email": "prieto.jona@gmail.com", "bugtrack_url": null, "classifiers": [ "Intended Audience :: Information Technology" ], "description": "Evidence Theory\n===============\n\nA Python Library to attack the problem of **Fusion Information**.\nDempster-Shafer Theory implemention is our first goal.\n\n| Install:\n| \\_\\_\\_\\_\\_\\_\\_\\_\n\n::\n\n pip install evidencetheory\n\nUsage:\n------\n\n::\n\n from evidence.theory import dst # load dempster-shafer functions\n from evidenec.tests.assets import INPUT\n print INPUT['bba1'] # path for the bba example\n\nKnowing the format of file ``bba1``:\n\n::\n\n bba = []\n with open(INPUT['bba1'], 'r') as f:\n N = int(f.readline())\n for _ in range(N):\n bba += [ float(f.readline()) ]\n print bba # verify a table with values between 0 and 1 \n\nWe want to get a Belief function ``Bel`` from a table ``bba`` (basic\nbelief assignament function), so the following is how to do that:\n\n::\n\n bel1 = dst.Bel(m=bba)\n for i in range(1<