factor_agent.evaluator.NodeCoverage#

class NodeCoverage(node, coverage, infinite, infinite_days, inputs, column=False)[source]#

Bases: object

One node of a graph on the scored member days (Evaluator.trace_coverage).

coverage is the mean daily share of the members on which the node has a finite value, as a candidate’s coverage is measured; infinite the share of the member days on which it is infinite, and infinite_days the share of the days with an infinite value on at least one member. inputs are the node’s inputs, by position in the graph, that are traced too, and column says the node reads a column of the data.

Attributes#

NodeCoverage.column = False#
NodeCoverage.node#
NodeCoverage.coverage#
NodeCoverage.infinite#
NodeCoverage.infinite_days#
NodeCoverage.inputs#