Skip to content

Latest commit

 

History

History
31 lines (22 loc) · 1001 Bytes

File metadata and controls

31 lines (22 loc) · 1001 Bytes

Vectors

Vector representation of the feature. Can be any supported vector type.

Properties

Name Type Description Notes
indices List[RangeBucketBoundariesInner] Indices of non-zero elements
values List[float] Values of non-zero elements

Example

from mixpeek.models.vectors import Vectors

# TODO update the JSON string below
json = "{}"
# create an instance of Vectors from a JSON string
vectors_instance = Vectors.from_json(json)
# print the JSON string representation of the object
print(Vectors.to_json())

# convert the object into a dict
vectors_dict = vectors_instance.to_dict()
# create an instance of Vectors from a dict
vectors_from_dict = Vectors.from_dict(vectors_dict)

[Back to Model list] [Back to API list] [Back to README]