Options
All
  • Public
  • Public/Protected
  • All
Menu

Class QueryComparison

Determines whether and how queried values (e.g. probabilities) are adjusted to be comparisons.

Hierarchy

  • QueryComparison

Index

Properties

Properties

Static Difference

Difference: QueryComparison = new QueryComparison()

The difference between the current queried value and the value calculated using {@link com.bayesserver.inference.IInference#getBaseEvidence Base evidence}. Returns a value between -1 and 1 for discrete values.

This comparison is useful because it gives less weight when small probabilities are involved.

Static Lift

Lift: QueryComparison = new QueryComparison()

Each queried value is divided by its value when calculated using {@link com.bayesserver.inference.IInference#getBaseEvidence Base evidence}.

A value of NaN will be returned if the probability before and after is zero. This is by design.

A value of Infinity will be returned if the probability before is zero and the probability after is positive. This is by design.

Static None

None: QueryComparison = new QueryComparison()

No comparison is made. This is the default.