Skip to main content

MLCore::ClusterAssignmentRegion

MLCore::ClusterAssignmentRegion

Specifies where cluster assignment should be performed. More…

#include <ClusteringPipeline.hpp>

Public Attributes

Name
bool assign_all_rows
If true, assign clusters to all rows of the fitting tensor.
std::string assignment_tensor_key
DataManager key for a separate tensor to assign clusters to.

Detailed Description

struct MLCore::ClusterAssignmentRegion;

Specifies where cluster assignment should be performed.

By default (assign_all_rows = true), cluster assignments are made on all rows of the feature tensor used for fitting. Alternatively, a separate tensor can be specified for assignment via assignment_tensor_key.

Public Attributes Documentation

variable assign_all_rows

bool assign_all_rows = true;

If true, assign clusters to all rows of the fitting tensor.

variable assignment_tensor_key

std::string assignment_tensor_key;

DataManager key for a separate tensor to assign clusters to.

Used when assign_all_rows is false. Must have the same column structure (features) as the fitting tensor. Rows can differ. If empty and assign_all_rows is false, no cluster assignment output is produced (fit-only mode).


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