Skip to main content

MLCore::ClusteringOutputConfig

MLCore::ClusteringOutputConfig

Configuration for the clustering pipeline output.

#include <ClusteringPipeline.hpp>

Public Attributes

Name
std::string output_prefix
Prefix for output group names and data keys.
bool write_to_putative_groups
Whether to write cluster assignments to putative entity groups.
bool write_intervals
Whether to write cluster assignments as DigitalIntervalSeries.
bool write_probabilities
Whether to write soft cluster probabilities as AnalogTimeSeries.
std::string time_key_str
Time key string for the clock that feature rows are indexed by.

Public Attributes Documentation

variable output_prefix

std::string output_prefix = "Cluster:";

Prefix for output group names and data keys.

Cluster groups are named “{output_prefix}{cluster_index}”, e.g., “Cluster:0”, “Cluster:1”.

variable write_to_putative_groups

bool write_to_putative_groups = true;

Whether to write cluster assignments to putative entity groups.

Creates TimeEntity groups for each cluster, following the putative group pattern.

variable write_intervals

bool write_intervals = true;

Whether to write cluster assignments as DigitalIntervalSeries.

For each cluster, creates an interval series from contiguous runs of that cluster assignment. Keys: “{output_prefix}{cluster_index}”

variable write_probabilities

bool write_probabilities = true;

Whether to write soft cluster probabilities as AnalogTimeSeries.

Only effective if the model supports probability output (e.g., GMM). Creates one AnalogTimeSeries per cluster. Keys: “{output_prefix}prob_{cluster_index}”

variable time_key_str

std::string time_key_str = "time";

Time key string for the clock that feature rows are indexed by.

Used to register TimeEntities and set time keys on output data objects.


Updated on 2026-11-13 at 20:25:42 +0000