classify_sample_response_classification_details module#

class edgeimpulse_api.models.classify_sample_response_classification_details.ClassifySampleResponseClassificationDetails(
*,
boxes: List[List[float]] | None = None,
labels: List[float] | None = None,
scores: List[float] | None = None,
mAP: float | None = None,
f1: float | None = None,
)[source]#

Bases: BaseModel

class Config[source]#

Bases: object

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

Create an instance of ClassifySampleResponseClassificationDetails from a dict

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

Create an instance of ClassifySampleResponseClassificationDetails from a JSON string

labels: List[float] | None#
m_ap: float | None#
scores: List[float] | None#
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