model_variant_stats module#
- class edgeimpulse_api.models.model_variant_stats.ModelVariantStats(
- *,
- modelType: KerasModelTypeEnum,
- learnBlockId: StrictInt,
- learnBlockType: LearnBlockType,
- confusionMatrix: Dict[str, Dict[str, Dict[str, Any]]],
- trainingLabels: List[StrictStr],
- classificationLabels: List[StrictStr],
- totalWindowCount: StrictInt | None = None,
- totalCorrectWindowCount: EvaluateResultValue | None = None,
- accuracy: EvaluateResultValue,
Bases:
BaseModel
- class Config[source]#
Bases:
object
- allow_population_by_field_name = True#
- validate_assignment = False#
- accuracy: EvaluateResultValue#
- classification_labels: List[StrictStr]#
- confusion_matrix: Dict[str, Dict[str, Dict[str, Any]]]#
- classmethod from_dict(
- obj: dict,
Create an instance of ModelVariantStats from a dict
- classmethod from_json(
- json_str: str,
Create an instance of ModelVariantStats from a JSON string
- learn_block_id: StrictInt#
- learn_block_type: LearnBlockType#
- model_type: KerasModelTypeEnum#
- total_correct_window_count: EvaluateResultValue | None#
- total_window_count: StrictInt | None#
- training_labels: List[StrictStr]#