From 46a07e8443c8fa7879102bb98f40081506e8f4f6 Mon Sep 17 00:00:00 2001
From: Nicolas Barthes <nicolas.barthes@cnrs.fr>
Date: Tue, 9 Apr 2024 16:32:22 +0200
Subject: [PATCH] updated .bib refs

---
 Packages.py      |  2 +-
 Report/refs.bib  | 78 ++++++++++++++++++++++++++++++++++++++++++++++++
 Report/report.py | 10 +++----
 3 files changed, 84 insertions(+), 6 deletions(-)

diff --git a/Packages.py b/Packages.py
index 4d90631..18a2ede 100644
--- a/Packages.py
+++ b/Packages.py
@@ -56,5 +56,5 @@ import json
 import joblib
 # import pickle as pkl
 
-# from hyperopt import fmin, hp, tpe, Trials, space_eval, STATUS_OK, anneal
+from hyperopt import fmin, hp, tpe, Trials, space_eval, STATUS_OK, anneal
 st.set_option('deprecation.showPyplotGlobalUse', False)
diff --git a/Report/refs.bib b/Report/refs.bib
index a990cbf..b51f262 100644
--- a/Report/refs.bib
+++ b/Report/refs.bib
@@ -20,3 +20,81 @@
   journal = {Journal of Machine Learning Research},
   year    = {2011},
 }
+
+@Article{BellonMaurel2010,
+  author       = {Bellon-Maurel, Véronique and Fernandez-Ahumada, Elvira and Palagos, Bernard and Roger, Jean-Michel and McBratney, Alex},
+  date         = {2010-10},
+  journal      = {TrAC Trends in Analytical Chemistry},
+  title        = {Critical review of chemometric indicators commonly used for assessing the quality of the prediction of soil attributes by NIR spectroscopy},
+  doi          = {10.1016/j.trac.2010.05.006},
+  issn         = {0165-9936},
+  number       = {9},
+  pages        = {1073--1081},
+  volume       = {29},
+  groups       = {NIRS_Workflow},
+  publisher    = {Elsevier BV},
+}
+
+@Article{Mejia2017,
+  author       = {Mejia, Amanda F. and Nebel, Mary Beth and Eloyan, Ani and Caffo, Brian and Lindquist, Martin A.},
+  date         = {2017-02},
+  journal      = {Biostatistics},
+  title        = {PCA leverage: outlier detection for high-dimensional functional magnetic resonance imaging data},
+  doi          = {10.1093/biostatistics/kxw050},
+  issn         = {1468-4357},
+  number       = {3},
+  pages        = {521--536},
+  volume       = {18},
+  groups       = {NIRS_Workflow},
+  publisher    = {Oxford University Press (OUP)},
+}
+
+@Article{Wold2001,
+  author       = {Wold, Svante and Sjöström, Michael and Eriksson, Lennart},
+  date         = {2001-10},
+  journal      = {Chemometrics and Intelligent Laboratory Systems},
+  title        = {PLS-regression: a basic tool of chemometrics},
+  doi          = {10.1016/s0169-7439(01)00155-1},
+  issn         = {0169-7439},
+  number       = {2},
+  pages        = {109--130},
+  volume       = {58},
+  groups       = {NIRS_Workflow},
+  publisher    = {Elsevier BV},
+}
+
+@Article{Roger2011,
+  author       = {Roger, J.M. and Palagos, B. and Bertrand, D. and Fernandez-Ahumada, E.},
+  date         = {2011-04},
+  journal      = {Chemometrics and Intelligent Laboratory Systems},
+  title        = {CovSel: Variable selection for highly multivariate and multi-response calibration},
+  doi          = {10.1016/j.chemolab.2010.10.003},
+  issn         = {0169-7439},
+  number       = {2},
+  pages        = {216--223},
+  volume       = {106},
+  groups       = {NIRS_Workflow},
+  publisher    = {Elsevier BV},
+}
+
+@Article{Yu2023,
+  author       = {Yu, Bo and Yan, Changxiang and Yuan, Jing and Ding, Ning and Chen, Zhiwei},
+  date         = {2023-05},
+  journal      = {Spectrochimica Acta Part A: Molecular and Biomolecular Spectroscopy},
+  title        = {Prediction of soil properties based on characteristic wavelengths with optimal spectral resolution by using Vis-NIR spectroscopy},
+  doi          = {10.1016/j.saa.2023.122452},
+  issn         = {1386-1425},
+  pages        = {122452},
+  volume       = {293},
+  groups       = {NIRS_Workflow},
+  publisher    = {Elsevier BV},
+}
+
+@Article{Wold1966,
+  author       = {Herman Wold},
+  date         = {1966},
+  journal      = {Multivariate analysis},
+  title        = {Estimation of principal components and related models by iterative least squares},
+  series       = {Academic Press},
+  groups       = {NIRS_Workflow},
+}
diff --git a/Report/report.py b/Report/report.py
index 3a6f7b5..139232e 100644
--- a/Report/report.py
+++ b/Report/report.py
@@ -195,16 +195,16 @@ latex_report = report('sample', 'predict',)
 
 def compile_latex():
     # path to pdflatex
-    pdflatex = "C:/Donnees/Logiciels/Papps/PortableApps/Notepad++Portable/LaTEX/texmfs/install/miktex/bin/"
+    pdflatex_path = "C:/Donnees/Logiciels/Papps/PortableApps/Notepad++Portable/LaTEX/texmfs/install/miktex/bin/"
     filename = 'report.tex'
     # run pdflatex with bibtex compilation (2nd run)
-    proc = subprocess.Popen([pdflatex + 'pdflatex.exe', filename])
+    proc = subprocess.Popen([pdflatex_path + 'pdflatex.exe', filename])
     proc.communicate()
-    proc = subprocess.Popen([r'C:\Donnees\Logiciels\Papps\PortableApps\Notepad++Portable\LaTEX\texmfs\install\miktex\bin\bibtex.exe', filename[:-4]])
+    proc = subprocess.Popen([pdflatex_path + 'bibtex.exe', filename[:-4]])
     proc.communicate()
-    proc = subprocess.Popen([r'C:\Donnees\Logiciels\Papps\PortableApps\Notepad++Portable\LaTEX\texmfs\install\miktex\bin\pdflatex.exe', filename])
+    proc = subprocess.Popen([pdflatex_path + 'pdflatex.exe', filename])
     proc.communicate()
-    proc = subprocess.Popen([r'C:\Donnees\Logiciels\Papps\PortableApps\Notepad++Portable\LaTEX\texmfs\install\miktex\bin\pdflatex.exe', filename])
+    proc = subprocess.Popen([pdflatex_path + 'pdflatex.exe', filename])
     proc.communicate()
     # remove pdflatex compilation files
     os.unlink(filename[:-4] + '.log')
-- 
GitLab