DSPInfo

class edgeimpulse_api.models.dsp_info.DSPInfo(
		**data: Any
)
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.
  • calculate_feature_importance: pydantic.types.StrictBool The type of the None singleton.
  • can_calculate_feature_importance: pydantic.types.StrictBool The type of the None singleton.
  • can_normalize_data: pydantic.types.StrictBool The type of the None singleton.
  • classes: List[pydantic.types.StrictStr] The type of the None singleton.
  • expected_window_count: pydantic.types.StrictInt The type of the None singleton.
  • features: edgeimpulse_api.models.dsp_info_features.DSPInfoFeatures The type of the None singleton.
  • has_auto_tune: pydantic.types.StrictBool | None The type of the None singleton.
  • has_autotuner_results: pydantic.types.StrictBool | None The type of the None singleton.
  • id: pydantic.types.StrictInt The type of the None singleton.
  • input_axes: List[pydantic.types.StrictStr] The type of the None singleton.
  • minimum_version_for_autotune: float | None The type of the None singleton.
  • name: pydantic.types.StrictStr The type of the None singleton.
  • normalize_data: edgeimpulse_api.models.dsp_normalize_data.DSPNormalizeData The type of the None singleton.
  • performance: edgeimpulse_api.models.dsp_performance.DspPerformance | None The type of the None singleton.
  • type: pydantic.types.StrictStr The type of the None singleton.
  • uses_state: pydantic.types.StrictBool | None The type of the None singleton.
  • window_length: pydantic.types.StrictInt The type of the None singleton.

Static methods

from_dict

edgeimpulse_api.models.dsp_info.from_dict(
		obj: dict
) ‑> edgeimpulse_api.models.dsp_info.DSPInfo
Create an instance of DSPInfo from a dict Parameters
  • obj: dict
Return edgeimpulse_api.models.dsp_info.DSPInfo

from_json

edgeimpulse_api.models.dsp_info.from_json(
		json_str: str
) ‑> edgeimpulse_api.models.dsp_info.DSPInfo
Create an instance of DSPInfo from a JSON string Parameters
  • json_str: str
Return edgeimpulse_api.models.dsp_info.DSPInfo

Methods

to_dict

edgeimpulse_api.models.dsp_info.to_dict(
		self
)
Returns the dictionary representation of the model using alias Parameters
  • self

to_json

edgeimpulse_api.models.dsp_info.to_json(
		self,
		indent=None
) ‑> str
Returns the JSON representation of the model using alias Parameters
  • self
  • indent=None
Return str

to_str

edgeimpulse_api.models.dsp_info.to_str(
		self
) ‑> str
Returns the string representation of the model using alias Parameters
  • self
Return str