class documentation
class BinaryEvaluationConfig(ClassificationEvaluationConfig): (source)
Constructor: BinaryEvaluationConfig(pred_field, gt_field, custom_metrics, **kwargs)
Binary evaluation config.
Parameters | |
pred | the name of the field containing the predicted
fiftyone.core.labels.Classification instances |
gt | the name of the field containing the ground truth |
custom | an optional list of custom metrics to compute or dict mapping metric names to kwargs dicts |
Property | method |
The name of the method. |
Inherited from ClassificationEvaluationConfig
:
Method | __init__ |
Undocumented |
Instance Variable | gt |
Undocumented |
Instance Variable | pred |
Undocumented |
Property | type |
The type of run. |
Inherited from BaseRunConfig
(via ClassificationEvaluationConfig
, BaseEvaluationMethodConfig
, EvaluationMethodConfig
):
Class Method | from |
Constructs a BaseRunConfig from a serialized JSON dict representation of it. |
Static Method | base |
Returns the config class for the given run type. |
Method | attributes |
Returns the list of class attributes that will be serialized by serialize . |
Method | build |
Builds the BaseRun instance associated with this config. |
Method | load |
Loads any necessary credentials from the given keyword arguments or the relevant FiftyOne config. |
Property | cls |
The fully-qualified name of this BaseRunConfig class. |
Property | run |
The BaseRun class associated with this config. |
Class Method | _virtual |
A list of attributes that are serialized but should not be treated as parameters when loading the config class from the database. |
Inherited from Config
(via ClassificationEvaluationConfig
, BaseEvaluationMethodConfig
, EvaluationMethodConfig
, BaseRunConfig
):
Method | __repr__ |
Undocumented |