MLCore::DimReductionPipelineResult
MLCore::DimReductionPipelineResult
Complete result of a dimensionality reduction pipeline run.
#include <DimReductionPipeline.hpp>
Public Attributes
| Name | |
|---|---|
| bool | success Whether the pipeline completed successfully. |
| std::string | error_message Error message (empty on success). |
| DimReductionStage | failed_stage Stage at which the pipeline failed. |
| std::size_t | num_observations Number of observations used. |
| std::size_t | num_input_features Number of input features. |
| std::size_t | num_output_components Number of output components. |
| std::size_t | rows_dropped_nan Number of rows dropped due to NaN/Inf. |
| std::vector< double > | explained_variance_ratio Explained variance ratio per component (empty if not applicable). |
| 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
DimReductionStage failed_stage = DimReductionStage::ValidatingFeatures;Stage at which the pipeline failed.
variable num_observations
std::size_t num_observations = 0;Number of observations used.
variable num_input_features
std::size_t num_input_features = 0;Number of input features.
variable num_output_components
std::size_t num_output_components = 0;Number of output components.
variable rows_dropped_nan
std::size_t rows_dropped_nan = 0;Number of rows dropped due to NaN/Inf.
variable explained_variance_ratio
std::vector< double > explained_variance_ratio;Explained variance ratio per component (empty if not applicable).
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