Sessions (Segmenters)

A session separates your Segments into a group. The session allows you to work on multiple branches of the same data set. In the server APIs the related session method is called segmenter. There are two types of sessions:

  1. Manual: Create segments by manually setting the start and end locations for each event

  2. Auto: Use a segmentation algorithm to automatically detect the start and end locations for each event

Examples:

# gets the set of labels associated with this project
client.project.list_segmenters()
class sensiml.datamanager.segmenter.Segmenter(connection: Connection, project: Project)

Base class for a segmenter object.

delete() Response

Calls the REST API and deletes the object from the server.

insert() Response

Calls the REST API and inserts a metadata object onto the server using the local object’s properties.

property name: str

The name property of the metadata object

refresh() Response

Calls the REST API and populates the local object’s properties from the server.

update() Response

Calls the REST API and updates the object on the server.

property uuid: str

Auto generated unique identifier for the metadata object

class sensiml.datamanager.segmenter.SegmenterSet(connection: Connection, project: Project, initialize_set: bool = True)

Base class for a segmenter object.

property get_set_url

replace this with the url to call to pull down the set objects