TSNE

class citrination_client.models.tsne.Tsne

A TSNE analysis which can be extracted from the data analysis for a trained model on Citrination.

__init__()

Constructor

add_projection(key, projection)

Register a projection under a descriptor key.

Parameters
  • key (str) – The descriptor key for the projection

  • projection (Projection) – The projection for the provided descriptor key

get_projection(key)

Retrieves the projection registered under a particular descriptor key.

Parameters

key – A descriptor key

Returns

A Projection

projections()

List the descriptor keys with registered projections.

Returns

List of descriptor keys

class citrination_client.models.projection.Projection(xs, ys, responses, tags, uids)

A projection to be included in the TSNE analysis.

__init__(xs, ys, responses, tags, uids)

Constructor.

Parameters
  • xs (list of floats) – A list of x values of the projection.

  • ys (list of floats) – A list of y values of the projection.

  • responses (list of floats) – A list of z values of the projection.

  • tags (list of strings) – A list of tags for the projected points

  • uids (list of strings) – A list of record UIDs for the projected points