structured_classify_result module#

class edgeimpulse_api.models.structured_classify_result.StructuredClassifyResult(
*,
boxes: List[List[float]],
labels: List[StrictStr] | None = None,
scores: List[float],
mAP: float,
f1: float,
precision: float,
recall: float,
debugInfoJson: StrictStr | None = None,
)[source]#

Bases: BaseModel

class Config[source]#

Bases: object

allow_population_by_field_name = True#
validate_assignment = False#
boxes: List[List[float]]#
debug_info_json: StrictStr | None#
f1: float#
classmethod from_dict(
obj: dict,
) StructuredClassifyResult[source]#

Create an instance of StructuredClassifyResult from a dict

classmethod from_json(
json_str: str,
) StructuredClassifyResult[source]#

Create an instance of StructuredClassifyResult from a JSON string

labels: List[StrictStr] | None#
m_ap: float#
precision: float#
recall: float#
scores: List[float]#
to_dict()[source]#

Returns the dictionary representation of the model using alias

to_json() str[source]#

Returns the JSON representation of the model using alias

to_str() str[source]#

Returns the string representation of the model using alias