Skip to content

comet_ml.Embedding ¶

Embedding(
    vector_url,
    vector_shape,
    metadata_url,
    sprite_url=None,
    image_size=None,
    title="Comet Embedding",
)

Data structure for holding embedding template info.

The URL's and sizes for all of the Embedding' resources.

Attributes¶

image_size instance-attribute ¶

image_size = image_size

metadata_url instance-attribute ¶

metadata_url = metadata_url

sprite_url instance-attribute ¶

sprite_url = sprite_url

title instance-attribute ¶

title = title

vector_shape instance-attribute ¶

vector_shape = vector_shape

vector_url instance-attribute ¶

vector_url = vector_url

Functions¶

to_json ¶

to_json()

Return a JSON representation of the embedding

Nov. 18, 2024