model_result module#

class edgeimpulse_api.models.model_result.ModelResult(
*,
sampleId: StrictInt,
sample: Sample,
classifications: List[ClassifySampleResponseClassification],
)[source]#

Bases: BaseModel

class Config[source]#

Bases: object

allow_population_by_field_name = True#
validate_assignment = False#
classifications: List[ClassifySampleResponseClassification]#
classmethod from_dict(
obj: dict,
) ModelResult[source]#

Create an instance of ModelResult from a dict

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

Create an instance of ModelResult from a JSON string

sample: Sample#
sample_id: StrictInt#
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