Test Out-of-Sample Reconstruction Accuracy
Source:R/kema-validation.R
validate_out_of_sample_reconstruction.RdValidates KEMA's out-of-sample reconstruction capability against the L2 error reported in the paper appendix.
Usage
validate_out_of_sample_reconstruction(
expected_error = 0.14,
tolerance = 0.05,
test_fraction = 0.2
)Examples
# \donttest{
result <- validate_out_of_sample_reconstruction()
print(result$success)
#> [1] TRUE
# }