factor_agent.web.run_view.Contribution#

class Contribution(factor, mode, difference, agreeing)[source]#

Bases: object

One accepted factor’s contribution to the model in one mode, from an Acceptance report’s contribution table.

factor is the factor’s label. mode is "drop_one" (the whole selection against the selection without it) or "add_one" (the baseline with only it against the baseline). difference holds, per compared statistic, with the factor minus without it, seed-averaged; agreeing the seeds whose own difference has the sign of that mean.

Attributes#

Contribution.factor#
Contribution.mode#
Contribution.difference#
Contribution.agreeing#