RiskLabelCoverage class

Constructors

RiskLabelCoverage({int? contested, int? events, num? explore, int? facts, String? from, int? horizon, int? judged, int? matured, int? pending, int? productive, List<RiskSourceCoverage> sources = const [], String? to, int? unlabelled, int? unmatured, int? unproductive})
Returns a new RiskLabelCoverage instance.

Properties

contested ↔ int?
Contested is how many matured events have two visible assertions that disagree. It is the number that says whether the precedence rule is load-bearing or decorative, and it is the one to watch after wiring a new source.
getter/setter pair
events ↔ int?
Events is how many DISTINCT judged events those assertions name, keyed on (kind, subject, at). It counts only events something was ASSERTED about: what share of the whole event stream carries a label is a question about the feature plane's denominator and is not answerable here. Matured + Unmatured is Events.
getter/setter pair
explore ↔ num?
Explore is the share of judged events whose winning assertion came from the below-the-line sample. A blocked transaction never produces a chargeback, so a training set with no exploration in it is a description of the incumbent block list rather than of the world — and a champion measured on it is measured on whether it agrees with the incumbent.
getter/setter pair
facts ↔ int?
Facts is how many assertions the window holds; Events is how many distinct judged events they cover. The two differ by exactly the corroboration and the conflict in the plane.
getter/setter pair
from ↔ String?
From is the INCLUSIVE start of the EVENT window these counts were folded over, RFC 3339, echoed with the defaults filled in — the caller's, or 90 days before To. An assertion is in the window when its event time satisfies at >= From.
getter/setter pair
hashCode → int
The hash code for this object.
no setteroverride
horizon ↔ int?
Horizon is the maturity horizon these counts were measured under, IN DAYS — the caller's, or 120. It decides Matured (an event is matured when its at plus this many days is not after now), it sets each event's own as-of and so which assertions were visible to it, and when the caller bounds nothing it also places the default window's end.
getter/setter pair
judged ↔ int?
Judged is how many MATURED events resolve, at their own as-of, to something other than unjudged.
getter/setter pair
matured ↔ int?
Matured is how many of those events have aged past the horizon and may therefore be admitted to a supervised set at all. It counts every matured event, judged or not — it is the DENOMINATOR an operator divides Judged by, and a denominator that excluded the unjudged would read 1.0 on a plane with one label in it.
getter/setter pair
pending ↔ int?
Pending is how many of this tenant's assertions the DERIVED columnar copy is not known to hold yet. Every count above is folded from the record, so they are right regardless — but a materialiser that joins in the warehouse while this is non-zero is joining against an incomplete answer key, and a missing fraud label is indistinguishable from an honest customer. It is reported at the training gate because that is where somebody is deciding whether the ground truth is good enough to fit on. Counted under a cap, so it saturates rather than costing a full scan on every read.
getter/setter pair
productive ↔ int?
Productive is how many matured events resolve, at their own as-of, to a WINNING assertion of productive — the event led somewhere: escalated, reported, charged back. It is the positive class a supervised fit would train on, and a near-zero count is the number that says the fit is not worth running.
getter/setter pair
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
sources ↔ List<RiskSourceCoverage>
Sources breaks the judged events down by the source that WON, so a plane that looks labelled because one noisy source dominates is visible as such.
getter/setter pair
to ↔ String?
To is the EXCLUSIVE end of that window (at < To). Unstated it is one horizon before now, never now: a window running to now under a maturity horizon can hold no matured event at all, so every count below would read zero however much ground truth the tenant held.
getter/setter pair
unlabelled ↔ int?
Unlabelled is how many MATURED events had no assertion knowable by their own as-of — including every assertion that arrived after that instant. It is the field that says WHY judged is low: a tenant whose ground truth was filed long after the events it judges reads matured=n, judged=0, unlabelled=n, which is diagnosable, rather than a bare zero, which is not.
getter/setter pair
unmatured ↔ int?
Unmatured is how many events in the window have NOT aged past the horizon. They are not unlabelled — they are not yet askable, and a supervised set must exclude them rather than treat them as negatives. Matured + Unmatured is Events.
getter/setter pair
unproductive ↔ int?
Unproductive is every OTHER judged event: the winner claimed unproductive, judged not suspicious. Productive + Unproductive is Judged exactly, because a winner of the explicit unjudged is counted in neither — it is a matured event somebody looked at and could not conclude about, and rolling it into the negatives would hand a model a claim nobody made.
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() → Map<String, dynamic>
toString() → String
A string representation of this object.
override

Operators

operator ==(Object other) → bool
The equality operator.
override

Static Methods

fromJson(dynamic value) → RiskLabelCoverage?
Returns a new RiskLabelCoverage instance and imports its values from value if it's a Map, null otherwise.
listFromJson(dynamic json, {bool growable = false}) → List<RiskLabelCoverage>
mapFromJson(dynamic json) → Map<String, RiskLabelCoverage>
mapListFromJson(dynamic json, {bool growable = false}) → Map<String, List<RiskLabelCoverage>>

Constants

requiredKeys → const Set<String>
The list of required keys that must be present in a JSON.