get_diversity_data_response_all_of_cluster_infos module#

class edgeimpulse_api.models.get_diversity_data_response_all_of_cluster_infos.GetDiversityDataResponseAllOfClusterInfos(
*,
idx: StrictInt,
indexes: List[StrictInt],
windows: List[List[StrictInt]],
samples: List[Sample] | None = None,
vendiScore: float,
vendiRatio: float,
count: StrictInt,
distance: float,
leftIdx: StrictInt | None,
rightIdx: StrictInt | None,
)[source]#

Bases: BaseModel

class Config[source]#

Bases: object

allow_population_by_field_name = True#
validate_assignment = False#
count: StrictInt#
distance: float#
classmethod from_dict(
obj: dict,
) GetDiversityDataResponseAllOfClusterInfos[source]#

Create an instance of GetDiversityDataResponseAllOfClusterInfos from a dict

classmethod from_json(
json_str: str,
) GetDiversityDataResponseAllOfClusterInfos[source]#

Create an instance of GetDiversityDataResponseAllOfClusterInfos from a JSON string

idx: StrictInt#
indexes: List[StrictInt]#
left_idx: StrictInt | None#
right_idx: StrictInt | None#
samples: List[Sample] | None#
to_dict()[source]#

Returns the dictionary representation of the model using alias

to_json() str[source]#

Returns the JSON representation of the model using alias

to_str() str[source]#

Returns the string representation of the model using alias

vendi_ratio: float#
vendi_score: float#
windows: List[List[StrictInt]]#