RiskSplitCounts class

Constructors

RiskSplitCounts({int? judged, int? productive, int? rows, int? subjects, int? test, int? train, int? unproductive, int? val})
Returns a new RiskSplitCounts instance.

Properties

hashCode → int
The hash code for this object.
no setteroverride
judged ↔ int?
Judged is how many rows carry a disposition. It is zero until a label plane writes one, and reporting it plainly is what lets a model plane refuse to rank rather than name a winner it cannot justify.
getter/setter pair
productive ↔ int?
Productive is how many judged rows carry the one disposition.
getter/setter pair
rows ↔ int?
Rows is how many rows the version holds across every split. It is the size of the version, not of the source window — the horizon, the cuts and the row cap all bind before this number.
getter/setter pair
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
subjects ↔ int?
Subjects is how many distinct subjects the rows belong to. Every row of one subject is in ONE split, so this is the real sample size — the row count flatters it whenever a subject is active.
getter/setter pair
test ↔ int?
Test is how many fall after the second cut — the LATEST slice, and the only one a score is honest about, since the split is temporal.
getter/setter pair
train ↔ int?
Train is how many rows fall before the first cut — the EARLIEST slice of the window, which is what a model is fitted on.
getter/setter pair
unproductive ↔ int?
Unproductive is how many carry the other. With Productive it accounts for Judged, so the class imbalance is visible before anyone trains on it; both stay 0 while Judged is 0.
getter/setter pair
val ↔ int?
Val is how many fall between the two cuts, held out for tuning.
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) → RiskSplitCounts?
Returns a new RiskSplitCounts instance and imports its values from value if it's a Map, null otherwise.
listFromJson(dynamic json, {bool growable = false}) → List<RiskSplitCounts>
mapFromJson(dynamic json) → Map<String, RiskSplitCounts>
mapListFromJson(dynamic json, {bool growable = false}) → Map<String, List<RiskSplitCounts>>

Constants

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