pub struct ValidationFramework { /* private fields */ }Expand description
Core validation framework
Implementations§
Source§impl ValidationFramework
impl ValidationFramework
Sourcepub fn with_config(config: ValidationConfig) -> Self
pub fn with_config(config: ValidationConfig) -> Self
Create with custom configuration
Sourcepub fn validate_input_matrix(
&self,
matrix: &Array2<Float>,
) -> Result<InputValidationResult>
pub fn validate_input_matrix( &self, matrix: &Array2<Float>, ) -> Result<InputValidationResult>
Validate input matrix for decomposition
Sourcepub fn validate_parameters(
&self,
algorithm: DecompositionAlgorithm,
params: &HashMap<String, ParameterValue>,
matrix_shape: (usize, usize),
) -> Result<ParameterValidationResult>
pub fn validate_parameters( &self, algorithm: DecompositionAlgorithm, params: &HashMap<String, ParameterValue>, matrix_shape: (usize, usize), ) -> Result<ParameterValidationResult>
Validate parameters for specific decomposition algorithm
Sourcepub fn validate_results(
&self,
original_matrix: &Array2<Float>,
result: &DecompositionResult,
) -> Result<ResultValidationResult>
pub fn validate_results( &self, original_matrix: &Array2<Float>, result: &DecompositionResult, ) -> Result<ResultValidationResult>
Validate decomposition results
Sourcepub fn statistical_validation(
&self,
original: &Array2<Float>,
reconstructed: &Array2<Float>,
) -> Result<StatisticalValidationResult>
pub fn statistical_validation( &self, original: &Array2<Float>, reconstructed: &Array2<Float>, ) -> Result<StatisticalValidationResult>
Perform statistical validation of decomposition quality
Sourcepub fn performance_validation(
&self,
execution_time: Duration,
memory_usage: usize,
matrix_size: (usize, usize),
) -> Result<PerformanceValidationResult>
pub fn performance_validation( &self, execution_time: Duration, memory_usage: usize, matrix_size: (usize, usize), ) -> Result<PerformanceValidationResult>
Validate performance metrics
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ValidationFramework
impl RefUnwindSafe for ValidationFramework
impl Send for ValidationFramework
impl Sync for ValidationFramework
impl Unpin for ValidationFramework
impl UnsafeUnpin for ValidationFramework
impl UnwindSafe for ValidationFramework
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more