Skip to main content

MLCore::SequenceSegment

MLCore::SequenceSegment

A single contiguous temporal segment of features and labels. More…

#include <SequenceAssembler.hpp>

Public Attributes

Name
arma::mat features
Feature sub-matrix (features × segment_length), mlpack column-major layout.
arma::Row< std::size_t > labels
Label row vector (1 × segment_length). Empty if segmented without labels.
std::vector< TimeFrameIndex > times
Original TimeFrameIndex for each column, preserving temporal provenance.

Detailed Description

struct MLCore::SequenceSegment;

A single contiguous temporal segment of features and labels.

Represents a run of consecutive TimeFrameIndex values with no gaps. The feature matrix follows mlpack convention: features × segment_length.

Public Attributes Documentation

variable features

arma::mat features;

Feature sub-matrix (features × segment_length), mlpack column-major layout.

variable labels

arma::Row< std::size_t > labels;

Label row vector (1 × segment_length). Empty if segmented without labels.

variable times

std::vector< TimeFrameIndex > times;

Original TimeFrameIndex for each column, preserving temporal provenance.


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