API reference

andrey.data.CausePairs#

class andrey.data.CausePairs(pairs, description)[source]#

The pairs of the Tübingen collection, in the collection’s order.

Iterating gives each CausePair; len is their number, an integer indexes by position, and a name such as "pair0042" indexes by name.

pairs#

Every pair of the collection, the multivariate ones and those with weight 0 included.

Type:

tuple of CausePair

description#

The collection: source, terms, and how to cite it.

Type:

str

property weights: ndarray#

The pairs’ weights, in the order of the pairs, as a float64 array.