RiskResolveOut class

Constructors

RiskResolveOut({int? horizon, List<RiskResolved> labels = const [], String? now, int? unlabelled, int? unmatured})
Returns a new RiskResolveOut instance.

Properties

hashCode → int
The hash code for this object.
no setteroverride
horizon ↔ int?
Horizon is the maturity horizon this answer was computed under, IN DAYS — the caller's, or 120 when it stated none. Each event's as-of is its own at plus this many days, and that as-of is what decides which assertions were visible to it; an event whose as-of falls after Now is not resolved at all and is counted in Unmatured instead.
getter/setter pair
labels ↔ List<RiskResolved>
Labels is one entry per named event that BOTH matured and had at least one assertion knowable by its own as-of, in the order the events were named. The three outcomes partition the ask: len(labels) + Unmatured + Unlabelled is the number of DISTINCT events named, an event named twice having been answered once.
getter/setter pair
now ↔ String?
Now and Horizon echo the observation this answer was computed under. A resolved label without them is a claim nobody can check.
getter/setter pair
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
unlabelled ↔ int?
Unlabelled is how many matured events had no assertion knowable by their own as-of. That is the ordinary state of most traffic and it is reported rather than answered as unproductive: manufacturing negatives is how a fraud model comes to describe the incumbent block list.
getter/setter pair
unmatured ↔ int?
Unmatured is how many named events had not aged past the horizon. They are not unlabelled — they are not yet ASKABLE, and a supervised training set must exclude them rather than treat them as negatives.
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) → RiskResolveOut?
Returns a new RiskResolveOut instance and imports its values from value if it's a Map, null otherwise.
listFromJson(dynamic json, {bool growable = false}) → List<RiskResolveOut>
mapFromJson(dynamic json) → Map<String, RiskResolveOut>
mapListFromJson(dynamic json, {bool growable = false}) → Map<String, List<RiskResolveOut>>

Constants

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