Score API¶
Score
¶
Bases: Protocol
__call__
abstractmethod
¶
Evaluate the target with respect to the references.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
target
|
Any
|
The target to evaluate. |
required |
references
|
list[Any]
|
The references to evaluate against. |
required |
Returns:
| Type | Description |
|---|---|
float
|
The score for the target. |