riskResolveLabelsWithHttpInfo method
Resolve the label in force for named events, as of each event's own horizon
Answers, for each named event, which assertion was in force AS OF that event's own horizon — and what disagreed with it. This is the join surface: the dataset materialiser calls it to attach ground truth to training rows, and the evaluator calls it to score a past decision against what was knowable when the decision had to be made. One mechanism for both, so a model can never be trained under one leakage rule and scored under another. Three answers are distinct and all three are honest: a resolved label, an event that has not matured, and a matured event nobody has judged. The last is never reported as unproductive.
Note: This method returns the HTTP Response.
Parameters:
- RiskResolveIn riskResolveIn (required):
Implementation
Future<Response> riskResolveLabelsWithHttpInfo(RiskResolveIn riskResolveIn,) async {
// ignore: prefer_const_declarations
final path = r'/v1/label/resolve';
// ignore: prefer_final_locals
Object? postBody = riskResolveIn;
final queryParams = <QueryParam>[];
final headerParams = <String, String>{};
final formParams = <String, String>{};
const contentTypes = <String>['application/json'];
return apiClient.invokeAPI(
path,
'POST',
queryParams,
postBody,
headerParams,
formParams,
contentTypes.isEmpty ? null : contentTypes.first,
);
}