class edgeimpulse_api.models.model_prediction.ModelPrediction(
**data: Any
)
Config
The type of the None singleton.
anomaly_scores: List[List[float]] | None
The type of the None singleton.
end_ms: float
The type of the None singleton.
f1_score: float | None
The type of the None singleton.
label: pydantic.types.StrictStr | None
The type of the None singleton.
prediction: pydantic.types.StrictStr
The type of the None singleton.
prediction_correct: pydantic.types.StrictBool | None
The type of the None singleton.
sample_id: pydantic.types.StrictInt
The type of the None singleton.
start_ms: float
The type of the None singleton.
edgeimpulse_api.models.model_prediction.from_dict(
obj: dict
) ‑> edgeimpulse_api.models.model_prediction.ModelPrediction
edgeimpulse_api.models.model_prediction.from_json(
json_str: str
) ‑> edgeimpulse_api.models.model_prediction.ModelPrediction
edgeimpulse_api.models.model_prediction.to_dict(
self
)
edgeimpulse_api.models.model_prediction.to_json(
self,
indent=None
) ‑> str
edgeimpulse_api.models.model_prediction.to_str(
self
) ‑> str