toloka.client.task.BaseTask.KnownSolution
| Source code
KnownSolution( self, *, output_values: Optional[Dict[str, Any]] = None, correctness_weight: Optional[float] = None)
A correct response for a control or training task.
Responses have a correctness weight.
For example, if correctness_weight
is 0.5,
then half of the error is counted to the Toloker.
Parameters | Type | Description |
---|---|---|
output_values | Optional[Dict[str, Any]] | Correct values of output fields. |
correctness_weight | Optional[float] | The correctness weight of the response. |
Last updated: August 28, 2023