keras_model_metadata_metrics module
KerasModelMetadataMetrics
Create a new model by parsing and validating input data from keyword arguments.
Raises ValidationError if the input data cannot be parsed to form a valid model.
Parameters
**data: Any
Bases
pydantic.main.BaseModel
pydantic.utils.Representation
Class variables
Config
The type of the None singleton.accuracy: float | None
The type of the None singleton.additional_metrics: List[edgeimpulse_api.models.additional_metric.AdditionalMetric]
The type of the None singleton.confusion_matrix: List[List[float]]
The type of the None singleton.is_supported_on_mcu: pydantic.types.StrictBool
The type of the None singleton.loss: float
The type of the None singleton.mcu_support_error: pydantic.types.StrictStr | None
The type of the None singleton.on_device_performance: List[edgeimpulse_api.models.keras_model_metadata_metrics_on_device_performance_inner.KerasModelMetadataMetricsOnDevicePerformanceInner]
The type of the None singleton.predictions: List[edgeimpulse_api.models.model_prediction.ModelPrediction] | None
The type of the None singleton.profiling_job_failed: pydantic.types.StrictBool | None
The type of the None singleton.profiling_job_id: pydantic.types.StrictInt | None
The type of the None singleton.report: Dict[str, Any]
The type of the None singleton.type: edgeimpulse_api.models.keras_model_type_enum.KerasModelTypeEnum
The type of the None singleton.visualization: pydantic.types.StrictStr
The type of the None singleton.
Static methods
from_dict
Create an instance of KerasModelMetadataMetrics from a dict
Parameters
obj: dict
Return
edgeimpulse_api.models.keras_model_metadata_metrics.KerasModelMetadataMetrics
from_json
Create an instance of KerasModelMetadataMetrics from a JSON string
Parameters
json_str: str
Return
edgeimpulse_api.models.keras_model_metadata_metrics.KerasModelMetadataMetrics
visualization_validate_enum
Parameters
v
Methods
to_dict
Returns the dictionary representation of the model using alias
Parameters
self
to_json
Returns the JSON representation of the model using alias
Parameters
self
indent=None
Return
str
to_str
Returns the string representation of the model using alias
Parameters
self
Return
str
Last updated
Was this helpful?