keras_response module#
- class edgeimpulse_api.models.keras_response.KerasResponse(
- *,
- success: StrictBool,
- error: StrictStr | None = None,
- dependencies: DependencyData,
- trained: StrictBool,
- name: StrictStr,
- type: LearnBlockType | None = None,
- script: StrictStr,
- minimumConfidenceRating: float,
- selectedModelType: KerasModelTypeEnum,
- mode: StrictStr,
- visualLayers: List[KerasVisualLayer],
- trainingCycles: StrictInt,
- learningRate: float,
- batchSize: StrictInt | None = None,
- defaultBatchSize: StrictInt,
- shape: StrictStr,
- trainTestSplit: float | None = None,
- autoClassWeights: StrictBool | None = None,
- useLearnedOptimizer: StrictBool | None = None,
- augmentationPolicyImage: AugmentationPolicyImageEnum,
- augmentationPolicySpectrogram: AugmentationPolicySpectrogram | None = None,
- transferLearningModels: List[TransferLearningModel],
- profileInt8: StrictBool,
- skipEmbeddingsAndMemory: StrictBool,
- akidaEdgeLearningConfig: AkidaEdgeLearningConfig | None = None,
- customValidationMetadataKey: StrictStr | None = None,
- showAdvancedTrainingSettings: StrictBool,
- showAugmentationTrainingSettings: StrictBool,
- customParameters: Dict[str, StrictStr] | None = None,
- anomalyCapacity: AnomalyCapacity | None = None,
- lastShownModelVariant: KerasModelVariantEnum | None = None,
- lastShownModelEngine: ModelEngineShortEnum | None = None,
Bases:
BaseModel
- class Config[source]#
Bases:
object
- allow_population_by_field_name = True#
- validate_assignment = False#
- akida_edge_learning_config: AkidaEdgeLearningConfig | None#
- anomaly_capacity: AnomalyCapacity | None#
- augmentation_policy_image: AugmentationPolicyImageEnum#
- augmentation_policy_spectrogram: AugmentationPolicySpectrogram | None#
- auto_class_weights: StrictBool | None#
- batch_size: StrictInt | None#
- custom_parameters: Dict[str, StrictStr] | None#
- custom_validation_metadata_key: StrictStr | None#
- default_batch_size: StrictInt#
- dependencies: DependencyData#
- error: StrictStr | None#
- classmethod from_dict(
- obj: dict,
Create an instance of KerasResponse from a dict
- classmethod from_json(
- json_str: str,
Create an instance of KerasResponse from a JSON string
- last_shown_model_engine: ModelEngineShortEnum | None#
- last_shown_model_variant: KerasModelVariantEnum | None#
- learning_rate: float#
- minimum_confidence_rating: float#
- mode: StrictStr#
- name: StrictStr#
- profile_int8: StrictBool#
- script: StrictStr#
- selected_model_type: KerasModelTypeEnum#
- shape: StrictStr#
- show_advanced_training_settings: StrictBool#
- show_augmentation_training_settings: StrictBool#
- skip_embeddings_and_memory: StrictBool#
- success: StrictBool#
- train_test_split: float | None#
- trained: StrictBool#
- training_cycles: StrictInt#
- transfer_learning_models: List[TransferLearningModel]#
- type: LearnBlockType | None#
- use_learned_optimizer: StrictBool | None#
- visual_layers: List[KerasVisualLayer]#