<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Python libraries for evidence-based reasoning &#8211; Science</title>
	<atom:link href="https://scienmag.com/tag/python-libraries-for-evidence-based-reasoning/feed/" rel="self" type="application/rss+xml" />
	<link>https://scienmag.com</link>
	<description></description>
	<lastBuildDate>Wed, 23 Sep 2026 23:02:58 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=7.1.2</generator>

<image>
	<url>https://scienmag.com/wp-content/uploads/2024/07/cropped-scienmag_ico-32x32.jpg</url>
	<title>Python libraries for evidence-based reasoning &#8211; Science</title>
	<link>https://scienmag.com</link>
	<width>32</width>
	<height>32</height>
</image> 
<site xmlns="com-wordpress:feed-additions:1">73899611</site>	<item>
		<title>New Python Library Puts Conflicting Evidence on the Same Page</title>
		<link>https://scienmag.com/new-python-library-puts-conflicting-evidence-on-the-same-page/</link>
		
		<dc:creator><![CDATA[Denise Maddox]]></dc:creator>
		<pubDate>Wed, 23 Sep 2026 23:02:58 +0000</pubDate>
				<category><![CDATA[Technology and Engineering]]></category>
		<category><![CDATA[belief functions]]></category>
		<category><![CDATA[belief functions in decision making]]></category>
		<category><![CDATA[belief modeling in expert systems]]></category>
		<category><![CDATA[conflict redistribution]]></category>
		<category><![CDATA[conflicting information resolution in computing]]></category>
		<category><![CDATA[decision support]]></category>
		<category><![CDATA[Dempster–Shafer theory]]></category>
		<category><![CDATA[Dempster–Shafer Theory applications]]></category>
		<category><![CDATA[Dezert–Smarandache theory]]></category>
		<category><![CDATA[evidence fusion]]></category>
		<category><![CDATA[evidence theory for hypothesis management]]></category>
		<category><![CDATA[evidencelib]]></category>
		<category><![CDATA[handling ambiguous medical diagnoses]]></category>
		<category><![CDATA[information fusion]]></category>
		<category><![CDATA[multi-source data conflict resolution]]></category>
		<category><![CDATA[open-source evidence fusion library]]></category>
		<category><![CDATA[open-source library]]></category>
		<category><![CDATA[Python libraries for evidence-based reasoning]]></category>
		<category><![CDATA[Python software]]></category>
		<category><![CDATA[sensor data integration tools]]></category>
		<category><![CDATA[sensor fusion]]></category>
		<category><![CDATA[uncertain evidence modeling in Python]]></category>
		<category><![CDATA[uncertainty quantification]]></category>
		<guid isPermaLink="false">https://scienmag.com/?p=211062</guid>

					<description><![CDATA[Researchers have released evidencelib, an open-source Python library that unifies Dempster–Shafer and Dezert–Smarandache evidence modeling, high-conflict fusion rules, and decision support in a single dependency-free package.]]></description>
										<content:encoded><![CDATA[<p>A team of Polish researchers has released an open-source Python library that tackles one of the quietest but most consequential problems in modern computing: what to do when different sources of information disagree. The library, called evidencelib, was described in the journal SoftwareX by Szymon Śniegowski, Adrianna Świder, Andrii Shekhovtsov, and Wojciech Sałabun. It offers a single, coherent toolkit for modeling uncertain evidence and fusing it into decisions, even when the underlying sources contradict each other outright or describe hypotheses that overlap rather than exclude one another.</p>
<p>The mathematical backbone of the library is Dempster–Shafer Theory, sometimes called evidence theory or the theory of belief functions. Unlike classical probability, which requires every ounce of belief to be pinned to individual hypotheses, Dempster–Shafer Theory lets a source declare that its confidence covers a set of possibilities. A doctor reading a patient&#8217;s symptoms may be able to say the evidence points to a group of possible diseases without being able to split that support among them individually. This ability to represent partial knowledge and outright ignorance explicitly, rather than being forced to divide belief artificially, is what has made the theory attractive for sensor fusion, medical expert systems, target recognition in defense applications, and robotics.</p>
<p>Classical Dempster–Shafer Theory, however, rests on an assumption that rarely holds perfectly in the messy real world: that the possible hypotheses are mutually exclusive and exhaust all options. Categories can overlap, and information sources can generate extreme conflict. To handle overlapping hypotheses, researchers developed Dezert–Smarandache Theory, an extension built on a structure called the hyper-power set, which includes not just unions of hypotheses but also their intersections. A second, more notorious problem arises with Dempster&#8217;s original combination rule, which normalizes conflict away. In Zadeh&#8217;s famous counterexample, two sources strongly support two different hypotheses, and after normalization a third hypothesis that both sources consider nearly impossible ends up absorbing all the belief. That kind of counterintuitive result spurred a family of alternative fusion rules, including Yager&#8217;s rule, the transferable belief model of Smets, the Dubois–Prade rule, and the proportional conflict redistribution rules PCR5 and PCR6.</p>
<p>Building such machinery from scratch for every study is time-consuming and error-prone, and the authors found that existing tools each covered only fragments of the picture. The two existing Python packages and two R packages focus on classical Dempster–Shafer Theory, while the two MATLAB frameworks date from 2008 and 2010. According to a feature comparison conducted by the authors, no other modern tool combines classical DST, free and constrained Dezert–Smarandache models, a symbolic proposition parser, the hyper-power set, the DSmH fusion rule, and PCR5 within one interface. evidencelib, currently at version 1.2.0 under the MIT license, fills that gap. Its computational core is pure Python with zero runtime dependencies, requiring only Python 3.10 or newer, with optional Matplotlib support for visualization. It is installable from the Python Package Index, documented online, and validated by a test suite running in continuous integration on Python 3.10 through 3.14 with strict static type checking and an enforced coverage threshold of at least 90 percent.</p>
<p>Architecturally, the library is organized into five interconnected components. The Frame component defines the frame of discernment in one of three model variants: classical DST, the free DSm model in which all hypotheses may intersect, or hybrid models in which selected intersections are explicitly forbidden by constraints. A parser converts textual propositions into symbolic objects without executing arbitrary code, and the Proposition component encodes hypotheses as integer bitmasks over Venn regions, so that union, intersection, and containment reduce to single integer operations. The MassFunction component does the heavy lifting, offering belief, plausibility, commonality, and conflict measures; uncertainty metrics such as Deng entropy, fractal-based belief entropies, information volume, nonspecificity, and strife; the full menu of fusion rules; and round-trip import and export through dictionaries, JSON, and CSV, plus publication-ready LaTeX table output.</p>
<p>Two worked examples in the paper show what the library can do. The first is a weld inspection decision with three mutually exclusive outcomes: accept the component, repair it, or reject it. Visual inspection strongly supports acceptance with a mass of 0.70, while ultrasonic testing strongly supports repair with 0.65, producing a conjunctive conflict of 0.455 — a deliberately high value that exposes the differences between conflict-handling strategies. Smets&#8217; rule parks the conflicting mass on the empty set, Dempster&#8217;s rule normalizes it away, Yager&#8217;s rule transfers it to total ignorance, Dubois–Prade shunts it to the union of the contested hypotheses, and PCR5 redistributes it proportionally. The choice of rule changes the operational outcome: under Dempster&#8217;s rule the pignistic probability of acceptance is 0.539, clearing an illustrative decision threshold of 0.50, but under Yager&#8217;s rule it falls to 0.445, which under the example&#8217;s policy would trigger an additional inspection. The same evidence, the same hypotheses — yet a different action, purely because of how conflict is managed.</p>
<p>The second example leaps into territory classical theory cannot reach: diagnosing a pump that may suffer electrical, mechanical, and hydraulic faults simultaneously. In the free DSm model, these fault types may co-occur, and the hyper-power set for three hypotheses contains 19 propositions. Fusing readings from motor-current, vibration, and pressure-and-flow analysis with the conjunctive DSmC rule assigns the largest mass, 0.2925, to the intersection of electrical and mechanical faults, revealing a dominant electromechanical state with an additional hydraulic contribution rather than forcing a single diagnosis. The generalized pignistic transformation then distributes probability over the seven disjoint Venn regions, with the three-way fault intersection receiving 0.425.</p>
<p>The pump case also demonstrates the hybrid model&#8217;s power. If maintenance knowledge rules out a purely electrical fault co-occurring with a purely hydraulic one, a single constraint deletes those regions, shrinking the hyper-power set from 19 propositions to 13. Refusing the same data with the DSmH rule, which redistributes the support of forbidden intersections to the disjunctions of the involved propositions, sharpens the diagnosis: the electromechanical region&#8217;s pignistic probability rises from 0.257 to 0.521, and the Deng entropy of the fused assignment drops from 5.8371 to 4.5523 — a quantified measure of how a structural constraint reduces total uncertainty. Because the sources and masses are identical, every difference is attributable solely to the model constraint, making the library a natural laboratory for testing how modeling assumptions shape conclusions.</p>
<p>The tool has real limits, and the authors are candid about them. The free DSm hyper-power set grows explosively: with six hypotheses it contains 7,828,353 propositions, so complete free-model enumeration is recommended only up to five hypotheses, with larger problems requiring constrained hybrid models or classical DST. Venn diagram visualization caps out at three hypotheses, the implementation processes finite batches rather than streams, and the dependency-free pure-Python core, while maximally portable, avoids NumPy vectorization and is therefore not built for high-throughput workloads. The library also takes mass functions as input; deriving those masses from raw sensor data and modeling source reliability remain the user&#8217;s responsibility.</p>
<p>Even so, the significance is considerable. By turning the choice of hypothesis model and combination rule into a parameter of analysis rather than a fixture of hand-written code, evidencelib lets researchers directly study how modeling assumptions and conflict handling affect belief measures, uncertainty metrics, decision rankings, and final actions. For anyone building sensor networks, diagnostic systems, or any pipeline where imperfect sources must be reconciled, it promises to shorten the path from idea to reproducible, publishable result. The authors plan adaptive conflict-redistribution rules and more efficient fusion for large numbers of sources in future releases, and hint at an optional accelerated backend — keeping the core lean while the evidence gets heavier.</p>
<p><strong>Subject of Research:</strong> Evidence modeling and fusion under uncertainty using Dempster–Shafer and Dezert–Smarandache theories</p>
<p><strong>Article Title:</strong> evidencelib: A python library for evidence modeling and fusion under uncertainty</p>
<p><strong>Article References:</strong> Śniegowski, S., Świder, A., Shekhovtsov, A., &amp; Sałabun, W. (2026). evidencelib: A python library for evidence modeling and fusion under uncertainty. <em>SoftwareX, 36</em>, Article 103019. <a href="https://doi.org/10.1016/j.softx.2026.103019" rel="noopener noreferrer">https://doi.org/10.1016/j.softx.2026.103019</a></p>
<p><strong>Image Credits:</strong> AI Generated</p>
<p><strong>DOI:</strong> Not provided</p>
<p><strong>Keywords:</strong> evidencelib, Dempster–Shafer theory, Dezert–Smarandache theory, evidence fusion, uncertainty quantification, belief functions, conflict redistribution, sensor fusion, decision support, Python software, information fusion, open-source library</p>
]]></content:encoded>
					
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">211062</post-id>	</item>
	</channel>
</rss>
