diff --git a/Overal_PLSR_modeling.pptx b/Overal_PLSR_modeling.pptx index c6f96a9b..9cf28e2e 100644 Binary files a/Overal_PLSR_modeling.pptx and b/Overal_PLSR_modeling.pptx differ diff --git a/PLSR/PLSR_models.R b/PLSR/PLSR_models.R index 3c8aa833..3ad4891c 100644 --- a/PLSR/PLSR_models.R +++ b/PLSR/PLSR_models.R @@ -30,6 +30,11 @@ hist(data_curated$sqrt_Vcmax25_JB) ## Removing Na values to avoid any issue data_curated=data_curated[!is.na(data_curated$sqrt_Vcmax25),] +## Using a LOO PLSR model to identify wrong data +test_LOO=plsr(sqrt_Vcmax25~ Spectra,ncomp = 19, data = data_curated, validation = "LOO") +res_LOO=test_LOO$validation$pred[,1,19]-data_curated$sqrt_Vcmax25 +outliers=which(abs(res_LOO)>3*sd(res_LOO)) +data_curated=data_curated[-outliers,] ############################ #### PLSR models VCMAX25 ### ############################ diff --git a/PLSR/Validation_Albert_et_al_2018.pdf b/PLSR/Validation_Albert_et_al_2018.pdf index 4988d7de..e40b6a7a 100644 Binary files a/PLSR/Validation_Albert_et_al_2018.pdf and b/PLSR/Validation_Albert_et_al_2018.pdf differ diff --git a/PLSR/Validation_Alldatasets 2021-11-08 sqrt_Vcmax25_JB.pdf b/PLSR/Validation_Alldatasets 2021-11-08 sqrt_Vcmax25_JB.pdf index 4fad9bdf..72d3b7ba 100644 Binary files a/PLSR/Validation_Alldatasets 2021-11-08 sqrt_Vcmax25_JB.pdf and b/PLSR/Validation_Alldatasets 2021-11-08 sqrt_Vcmax25_JB.pdf differ diff --git a/PLSR/Validation_Alldatasets 2021-11-08.pdf b/PLSR/Validation_Alldatasets 2021-11-08.pdf index 15c70197..5c4b678f 100644 Binary files a/PLSR/Validation_Alldatasets 2021-11-08.pdf and b/PLSR/Validation_Alldatasets 2021-11-08.pdf differ diff --git a/PLSR/Validation_dataset sqrt_Vcmax25_JB .jpeg b/PLSR/Validation_dataset sqrt_Vcmax25_JB .jpeg deleted file mode 100644 index 944cdf5e..00000000 Binary files a/PLSR/Validation_dataset sqrt_Vcmax25_JB .jpeg and /dev/null differ diff --git a/PLSR/Validation_dataset sqrt_Vqmax25_JB .jpeg b/PLSR/Validation_dataset sqrt_Vqmax25_JB .jpeg deleted file mode 100644 index 944cdf5e..00000000 Binary files a/PLSR/Validation_dataset sqrt_Vqmax25_JB .jpeg and /dev/null differ diff --git a/PLSR/Validation_random sqrt_Vcmax25_JB .jpeg b/PLSR/Validation_random sqrt_Vcmax25_JB .jpeg deleted file mode 100644 index 944cdf5e..00000000 Binary files a/PLSR/Validation_random sqrt_Vcmax25_JB .jpeg and /dev/null differ diff --git a/PLSR/Validation_random sqrt_Vqmax25_JB .jpeg b/PLSR/Validation_random sqrt_Vqmax25_JB .jpeg deleted file mode 100644 index ea39675e..00000000 Binary files a/PLSR/Validation_random sqrt_Vqmax25_JB .jpeg and /dev/null differ diff --git a/PLSR/Validation_random.jpeg b/PLSR/Validation_random.jpeg index 08d84ad4..0bc51c87 100644 Binary files a/PLSR/Validation_random.jpeg and b/PLSR/Validation_random.jpeg differ diff --git a/PLSR/Validation_random_JB.jpeg b/PLSR/Validation_random_JB.jpeg new file mode 100644 index 00000000..7bdb40bf Binary files /dev/null and b/PLSR/Validation_random_JB.jpeg differ