factor_agent.acceptance.Contribution#

class Contribution(factor, mode, without, with_factor)[source]#

Bases: object

One accepted factor’s contribution in one mode: the models with it against the same models without it.

mode is drop_one (without: the selection without the factor, with_factor: the whole selection) or add_one (without: the baseline, with_factor: the baseline with only the factor); both sides hold the same seeds in the same order.

Attributes#

Contribution.agreeing#

Per statistic, the seeds whose difference has the sign of the seed-averaged difference.

Contribution.difference#

With the factor minus without it, of each seed-averaged statistic.

Contribution.factor#
Contribution.mode#
Contribution.without#
Contribution.with_factor#