Skip to main content

MLCore::SupervisedDimReductionPipelineResult

MLCore::SupervisedDimReductionPipelineResult

Complete result of a supervised dimensionality reduction pipeline run.

#include <SupervisedDimReductionPipeline.hpp>

Public Attributes

Name
bool success
Whether the pipeline completed successfully.
std::string error_message
Error message (empty on success).
SupervisedDimReductionStage failed_stage
Stage at which the pipeline failed.
std::size_t num_observations
Total observations after NaN dropping (labeled + unlabeled in output).
std::size_t num_training_observations
Observations used for training (labeled rows only).
std::size_t rows_excluded_by_training_region
Rows excluded by training region filtering (0 if no training region set).
std::size_t num_input_features
Number of input features (tensor columns).
std::size_t num_output_dimensions
Number of output dimensions (number of classes).
std::size_t rows_dropped_nan
Rows dropped due to NaN/Inf in feature conversion.
std::size_t unlabeled_count
Rows excluded from training because they had no label.
std::size_t num_classes
Number of classes discovered by label assembly.
std::vector< std::string > class_names
Class names (one per output dimension).
std::string output_key
DataManager key of the output TensorData (empty if defer_dm_writes).
std::shared_ptr< TensorData > deferred_output
Deferred TensorData for main-thread writing (when defer_dm_writes is true).
std::string deferred_output_key
Deferred output key (paired with deferred_output).
std::string deferred_time_key
Deferred time key (paired with deferred_output).
std::unique_ptr< MLModelOperation > fitted_model
The fitted model (for re-projection of new data).

Public Attributes Documentation

variable success

bool success = false;

Whether the pipeline completed successfully.

variable error_message

std::string error_message;

Error message (empty on success).

variable failed_stage

SupervisedDimReductionStage failed_stage =
            SupervisedDimReductionStage::ValidatingFeatures;

Stage at which the pipeline failed.

variable num_observations

std::size_t num_observations = 0;

Total observations after NaN dropping (labeled + unlabeled in output).

variable num_training_observations

std::size_t num_training_observations = 0;

Observations used for training (labeled rows only).

variable rows_excluded_by_training_region

std::size_t rows_excluded_by_training_region = 0;

Rows excluded by training region filtering (0 if no training region set).

variable num_input_features

std::size_t num_input_features = 0;

Number of input features (tensor columns).

variable num_output_dimensions

std::size_t num_output_dimensions = 0;

Number of output dimensions (number of classes).

variable rows_dropped_nan

std::size_t rows_dropped_nan = 0;

Rows dropped due to NaN/Inf in feature conversion.

variable unlabeled_count

std::size_t unlabeled_count = 0;

Rows excluded from training because they had no label.

variable num_classes

std::size_t num_classes = 0;

Number of classes discovered by label assembly.

variable class_names

std::vector< std::string > class_names;

Class names (one per output dimension).

variable output_key

std::string output_key;

DataManager key of the output TensorData (empty if defer_dm_writes).

variable deferred_output

std::shared_ptr< TensorData > deferred_output;

Deferred TensorData for main-thread writing (when defer_dm_writes is true).

variable deferred_output_key

std::string deferred_output_key;

Deferred output key (paired with deferred_output).

variable deferred_time_key

std::string deferred_time_key;

Deferred time key (paired with deferred_output).

variable fitted_model

std::unique_ptr< MLModelOperation > fitted_model;

The fitted model (for re-projection of new data).


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