/*
* SPDX-License-Identifier: MIT
* Copyright (c) 2023 - 2026. The DeepCausality Authors and Contributors. All Rights Reserved.
*/usecrate::DataCleaningError;usedeep_causality_tensor::CausalTensor;pubtraitDataCleaner{/// Cleans the input tensor according to the provided configuration.
////// # Arguments
////// * `tensor` - The input `CausalTensor<f64>` to be processed.
////// # Returns
////// A `Result` containing a new, processed `CausalTensor<Option<f64>` on success.
////// # Errors
////// Returns a `PreprocessError` if the processing fails, for example due to an
/// invalid configuration or an issue with the data itself.
fnprocess(&self,
tensor:CausalTensor<f64>,
)->Result<CausalTensor<Option<f64>>, DataCleaningError>;}