set_keras_parameter_request module
SetKerasParameterRequest
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
akida_edge_learning_config: Optional[edgeimpulse_api.models.akida_edge_learning_config.AkidaEdgeLearningConfig]
anomaly_capacity: Optional[edgeimpulse_api.models.anomaly_capacity.AnomalyCapacity]
augmentation_policy_image: Optional[edgeimpulse_api.models.augmentation_policy_image_enum.AugmentationPolicyImageEnum]
augmentation_policy_spectrogram: Optional[edgeimpulse_api.models.augmentation_policy_spectrogram.AugmentationPolicySpectrogram]
auto_class_weights: Optional[pydantic.types.StrictBool]
batch_size: Optional[float]
block_parameters: Optional[edgeimpulse_api.models.block_parameters.BlockParameters]
custom_parameters: Optional[Dict[str, pydantic.types.StrictStr]]
custom_validation_metadata_key: Optional[pydantic.types.StrictStr]
last_shown_model_engine: Optional[edgeimpulse_api.models.model_engine_short_enum.ModelEngineShortEnum]
last_shown_model_variant: Optional[edgeimpulse_api.models.keras_model_variant_enum.KerasModelVariantEnum]
learning_rate: Optional[float]
minimum_confidence_rating: Optional[float]
mode: Optional[pydantic.types.StrictStr]
profile_int8: Optional[pydantic.types.StrictBool]
script: Optional[pydantic.types.StrictStr]
selected_model_type: Optional[edgeimpulse_api.models.keras_model_type_enum.KerasModelTypeEnum]
show_advanced_training_settings: Optional[pydantic.types.StrictBool]
show_augmentation_training_settings: Optional[pydantic.types.StrictBool]
skip_embeddings_and_memory: Optional[pydantic.types.StrictBool]
train_test_split: Optional[float]
training_cycles: Optional[pydantic.types.StrictInt]
use_learned_optimizer: Optional[pydantic.types.StrictBool]
visual_layers: Optional[List[edgeimpulse_api.models.keras_visual_layer.KerasVisualLayer]]
Static methods
from_dict
Create an instance of SetKerasParameterRequest from a dict
Parameters
obj: dict
Return
edgeimpulse_api.models.set_keras_parameter_request.SetKerasParameterRequest
from_json
Create an instance of SetKerasParameterRequest from a JSON string
Parameters
json_str: str
Return
edgeimpulse_api.models.set_keras_parameter_request.SetKerasParameterRequest
mode_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