
<!DOCTYPE article
  PUBLIC "-//NLM//DTD JATS (Z39.96) Journal Archiving and Interchange DTD with MathML3 v1.4 20241031//EN" "JATS-archivearticle1-4-mathml3.dtd">
<article xml:lang="en" article-type="research-article" dtd-version="1.4"><?da-xref-anchor-style autodetect?><processing-meta base-tagset="archiving" mathml-version="3.0" table-model="xhtml" tagset-family="jats"><restricted-by>pmc</restricted-by></processing-meta><front><journal-meta><journal-id journal-id-type="nlm-ta">Plants (Basel)</journal-id><journal-id journal-id-type="iso-abbrev">Plants (Basel)</journal-id><journal-id journal-id-type="pmc-domain-id">2909</journal-id><journal-id journal-id-type="pmc-domain">plants</journal-id><journal-id journal-id-type="nlm-id">101596181</journal-id><journal-id journal-id-type="publisher-id">plants</journal-id><journal-title-group><journal-title>Plants</journal-title></journal-title-group><issn pub-type="epub">2223-7747</issn><?publisher_abbrev mdpi?><publisher><publisher-name>Multidisciplinary Digital Publishing Institute  (MDPI)</publisher-name></publisher></journal-meta><article-meta><article-id pub-id-type="pmcid">PMC10975745</article-id><article-id pub-id-type="pmcid-ver">PMC10975745.1</article-id><article-id pub-id-type="pmcaid">10975745</article-id><article-id pub-id-type="pmcaiid">10975745</article-id><article-id pub-id-type="pmid">38592891</article-id><article-id pub-id-type="doi">10.3390/plants13060833</article-id><article-id pub-id-type="publisher-id">plants-13-00833</article-id><article-version article-version-type="pmc-version">1</article-version><article-categories><subj-group subj-group-type="heading"><subject>Article</subject></subj-group></article-categories><title-group><article-title>Non-Destructive Near-Infrared Technology for Efficient Cannabinoid Analysis in Cannabis Inflorescences</article-title></title-group><contrib-group><contrib contrib-type="author"><contrib-id contrib-id-type="orcid" authenticated="true">https://orcid.org/0000-0002-2384-3233</contrib-id><name name-style="western"><surname>Rafiq</surname><given-names initials="H">Hamza</given-names></name><role vocab="credit" vocab-identifier="https://credit.niso.org/" vocab-term="Conceptualization" vocab-term-identifier="https://credit.niso.org/contributor-roles/conceptualization/">Conceptualization</role><role vocab="credit" vocab-identifier="https://credit.niso.org/" vocab-term="Methodology" vocab-term-identifier="https://credit.niso.org/contributor-roles/methodology/">Methodology</role><role vocab="credit" vocab-identifier="https://credit.niso.org/" vocab-term="Software" vocab-term-identifier="https://credit.niso.org/contributor-roles/software/">Software</role><role vocab="credit" vocab-identifier="https://credit.niso.org/" vocab-term="Validation" vocab-term-identifier="https://credit.niso.org/contributor-roles/validation/">Validation</role><role vocab="credit" vocab-identifier="https://credit.niso.org/" vocab-term="Formal analysis" vocab-term-identifier="https://credit.niso.org/contributor-roles/formal-analysis/">Formal analysis</role><role vocab="credit" vocab-identifier="https://credit.niso.org/" vocab-term="Investigation" vocab-term-identifier="https://credit.niso.org/contributor-roles/investigation/">Investigation</role><role vocab="credit" vocab-identifier="https://credit.niso.org/" vocab-term="Resources" vocab-term-identifier="https://credit.niso.org/contributor-roles/resources/">Resources</role><role vocab="credit" vocab-identifier="https://credit.niso.org/" vocab-term="Data curation" vocab-term-identifier="https://credit.niso.org/contributor-roles/data-curation/">Data curation</role><role vocab="credit" vocab-identifier="https://credit.niso.org/" vocab-term="Writing – original draft" vocab-term-identifier="https://credit.niso.org/contributor-roles/writing-original-draft/">Writing – original draft</role><role vocab="credit" vocab-identifier="https://credit.niso.org/" vocab-term="Writing – review &amp; editing" vocab-term-identifier="https://credit.niso.org/contributor-roles/writing-review-editing/">Writing – review &amp; editing</role><xref rid="af1-plants-13-00833" ref-type="aff">1</xref><xref rid="c1-plants-13-00833" ref-type="corresp">*</xref></contrib><contrib contrib-type="author"><name name-style="western"><surname>Hartung</surname><given-names initials="J">Jens</given-names></name><role vocab="credit" vocab-identifier="https://credit.niso.org/" vocab-term="Methodology" vocab-term-identifier="https://credit.niso.org/contributor-roles/methodology/">Methodology</role><role vocab="credit" vocab-identifier="https://credit.niso.org/" vocab-term="Validation" vocab-term-identifier="https://credit.niso.org/contributor-roles/validation/">Validation</role><role vocab="credit" vocab-identifier="https://credit.niso.org/" vocab-term="Formal analysis" vocab-term-identifier="https://credit.niso.org/contributor-roles/formal-analysis/">Formal analysis</role><role vocab="credit" vocab-identifier="https://credit.niso.org/" vocab-term="Writing – review &amp; editing" vocab-term-identifier="https://credit.niso.org/contributor-roles/writing-review-editing/">Writing – review &amp; editing</role><xref rid="af2-plants-13-00833" ref-type="aff">2</xref></contrib><contrib contrib-type="author"><name name-style="western"><surname>Schober</surname><given-names initials="T">Torsten</given-names></name><role vocab="credit" vocab-identifier="https://credit.niso.org/" vocab-term="Software" vocab-term-identifier="https://credit.niso.org/contributor-roles/software/">Software</role><xref rid="af1-plants-13-00833" ref-type="aff">1</xref></contrib><contrib contrib-type="author"><name name-style="western"><surname>Vogt</surname><given-names initials="MM">Maximilian M.</given-names></name><role vocab="credit" vocab-identifier="https://credit.niso.org/" vocab-term="Resources" vocab-term-identifier="https://credit.niso.org/contributor-roles/resources/">Resources</role><role vocab="credit" vocab-identifier="https://credit.niso.org/" vocab-term="Data curation" vocab-term-identifier="https://credit.niso.org/contributor-roles/data-curation/">Data curation</role><xref rid="af3-plants-13-00833" ref-type="aff">3</xref></contrib><contrib contrib-type="author"><name name-style="western"><surname>Carrera</surname><given-names initials="DÁ">Dániel Árpád</given-names></name><role vocab="credit" vocab-identifier="https://credit.niso.org/" vocab-term="Resources" vocab-term-identifier="https://credit.niso.org/contributor-roles/resources/">Resources</role><xref rid="af3-plants-13-00833" ref-type="aff">3</xref></contrib><contrib contrib-type="author"><name name-style="western"><surname>Ruckle</surname><given-names initials="M">Michael</given-names></name><role vocab="credit" vocab-identifier="https://credit.niso.org/" vocab-term="Resources" vocab-term-identifier="https://credit.niso.org/contributor-roles/resources/">Resources</role><xref rid="af3-plants-13-00833" ref-type="aff">3</xref></contrib><contrib contrib-type="author"><name name-style="western"><surname>Graeff-Hönninger</surname><given-names initials="S">Simone</given-names></name><role vocab="credit" vocab-identifier="https://credit.niso.org/" vocab-term="Conceptualization" vocab-term-identifier="https://credit.niso.org/contributor-roles/conceptualization/">Conceptualization</role><role vocab="credit" vocab-identifier="https://credit.niso.org/" vocab-term="Methodology" vocab-term-identifier="https://credit.niso.org/contributor-roles/methodology/">Methodology</role><role vocab="credit" vocab-identifier="https://credit.niso.org/" vocab-term="Validation" vocab-term-identifier="https://credit.niso.org/contributor-roles/validation/">Validation</role><role vocab="credit" vocab-identifier="https://credit.niso.org/" vocab-term="Writing – review &amp; editing" vocab-term-identifier="https://credit.niso.org/contributor-roles/writing-review-editing/">Writing – review &amp; editing</role><role vocab="credit" vocab-identifier="https://credit.niso.org/" vocab-term="Supervision" vocab-term-identifier="https://credit.niso.org/contributor-roles/supervision/">Supervision</role><role vocab="credit" vocab-identifier="https://credit.niso.org/" vocab-term="Project administration" vocab-term-identifier="https://credit.niso.org/contributor-roles/project-administration/">Project administration</role><role vocab="credit" vocab-identifier="https://credit.niso.org/" vocab-term="Funding acquisition" vocab-term-identifier="https://credit.niso.org/contributor-roles/funding-acquisition/">Funding acquisition</role><xref rid="af1-plants-13-00833" ref-type="aff">1</xref></contrib></contrib-group><contrib-group><contrib contrib-type="editor"><name name-style="western"><surname>Nicola</surname><given-names initials="S">Silvana</given-names></name><role>Academic Editor</role></contrib><contrib contrib-type="editor"><name name-style="western"><surname>Carrubba</surname><given-names initials="A">Alessandra</given-names></name><role>Academic Editor</role></contrib></contrib-group><aff id="af1-plants-13-00833"><label>1</label>Department of Agronomy, Institute of Crop Science, University of Hohenheim, 70599 Stuttgart, Germany</aff><aff id="af2-plants-13-00833"><label>2</label>Biostatistics Unit, Institute of Crop Science, University of Hohenheim, 70599 Stuttgart, Germany</aff><aff id="af3-plants-13-00833"><label>3</label>Puregene AG, 4314 Zeiningen, Switzerland</aff><author-notes><corresp id="c1-plants-13-00833"><label>*</label>Correspondence: <email>h.rafiq@uni-hohenheim.de</email></corresp></author-notes><pub-date pub-type="epub"><day>14</day><month>3</month><year>2024</year></pub-date><pub-date pub-type="collection"><month>3</month><year>2024</year></pub-date><volume>13</volume><issue>6</issue><issue-id pub-id-type="pmc-issue-id">458754</issue-id><elocation-id>833</elocation-id><history><date date-type="received"><day>20</day><month>2</month><year>2024</year></date><date date-type="rev-recd"><day>07</day><month>3</month><year>2024</year></date><date date-type="accepted"><day>12</day><month>3</month><year>2024</year></date></history><pub-history><event event-type="pmc-release"><date><day>14</day><month>03</month><year>2024</year></date></event><event event-type="pmc-live"><date><day>29</day><month>03</month><year>2024</year></date></event><event event-type="pmc-last-change"><date iso-8601-date="2026-03-01 15:25:14.510"><day>01</day><month>03</month><year>2026</year></date></event></pub-history><permissions><copyright-statement>© 2024 by the authors.</copyright-statement><copyright-year>2024</copyright-year><license><ali:license_ref xmlns:ali="http://www.niso.org/schemas/ali/1.0/" specific-use="textmining" content-type="ccbylicense">https://creativecommons.org/licenses/by/4.0/</ali:license_ref><license-p>Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (<ext-link xmlns:xlink="http://www.w3.org/1999/xlink" ext-link-type="uri" xlink:href="https://creativecommons.org/licenses/by/4.0/">https://creativecommons.org/licenses/by/4.0/</ext-link>).</license-p></license></permissions><self-uri xmlns:xlink="http://www.w3.org/1999/xlink" content-type="pmc-pdf" xlink:href="plants-13-00833.pdf"><?pdf-name plants-13-00833.pdf?><?pdf-size 1116160?><?pdf-md5 469110d97a383690dcb149556374c3f2?><?pdf-image-server-status NEVER_LOAD?><?pdf-cloudpmc-urn urn:app:69bd/10975745/469110d97a38/plants-13-00833.pdf?></self-uri><abstract><p>In the evolving field of cannabis research, scholars are exploring innovative methods to quantify cannabinoids rapidly and non-destructively. This study evaluates the effectiveness of a hand-held near-infrared (NIR) device for quantifying total cannabidiol (total CBD), total delta-9-tetrahydrocannabinol (total THC), and total cannabigerol (total CBG) in whole cannabis inflorescences. Employing pre-processing techniques, including standard normal variate (SNV) and Savitzky–Golay (SG) smoothing, we aim to optimize the portable NIR technology for rapid and non-destructive cannabinoid analysis. A partial least-squares regression (PLSR) model was utilized to predict cannabinoid concentration based on NIR spectra. The results indicated that SNV pre-processing exhibited superior performance in predicting total CBD concentration, yielding the lowest root mean square error of prediction (RMSEP) of 2.228 and the highest coefficient of determination for prediction (R<sup>2</sup>P) of 0.792. The ratio of performance to deviation (RPD) for total CBD was highest (2.195) with SNV. In contrast, raw data exhibited the least accurate predictions for total THC, with an R<sup>2</sup>P of 0.812, an RPD of 2.306, and an RMSEP of 1.651. Notably, total CBG prediction showed unique characteristics, with raw data yielding the highest R<sup>2</sup>P of 0.806. SNV pre-processing emerges as a robust method for precise total CBD quantification, offering valuable insights into the optimization of a hand-held NIR device for the rapid and non-destructive analysis of cannabinoid in whole inflorescence samples. These findings contribute to ongoing efforts in developing portable and efficient technologies for cannabinoid analysis, addressing the increasing demand for quick and accurate assessment methods in cannabis cultivation, pharmaceuticals, and regulatory compliance.</p></abstract><kwd-group><kwd>cannabinoid</kwd><kwd>near-infrared</kwd><kwd>partial least-squares regression</kwd></kwd-group><funding-group><award-group><funding-source>German Federal Ministry for Economic Affairs and Climate Action within the Central Innovation Program for SMEs</funding-source><award-id>16KN089621</award-id></award-group><funding-statement>This research was funded by the German Federal Ministry for Economic Affairs and Climate Action within the Central Innovation Program for SMEs (16KN089621).</funding-statement></funding-group><custom-meta-group><custom-meta><meta-name>pmc-status-qastatus</meta-name><meta-value>0</meta-value></custom-meta><custom-meta><meta-name>pmc-status-live</meta-name><meta-value>yes</meta-value></custom-meta><custom-meta><meta-name>pmc-status-embargo</meta-name><meta-value>no</meta-value></custom-meta><custom-meta><meta-name>pmc-status-released</meta-name><meta-value>yes</meta-value></custom-meta><custom-meta><meta-name>pmc-prop-open-access</meta-name><meta-value>yes</meta-value></custom-meta><custom-meta><meta-name>pmc-prop-olf</meta-name><meta-value>no</meta-value></custom-meta><custom-meta><meta-name>pmc-prop-manuscript</meta-name><meta-value>no</meta-value></custom-meta><custom-meta><meta-name>pmc-prop-legally-suppressed</meta-name><meta-value>no</meta-value></custom-meta><custom-meta><meta-name>pmc-prop-has-pdf</meta-name><meta-value>yes</meta-value></custom-meta><custom-meta><meta-name>pmc-prop-has-supplement</meta-name><meta-value>yes</meta-value></custom-meta><custom-meta><meta-name>pmc-prop-pdf-only</meta-name><meta-value>no</meta-value></custom-meta><custom-meta><meta-name>pmc-prop-suppress-copyright</meta-name><meta-value>no</meta-value></custom-meta><custom-meta><meta-name>pmc-prop-is-real-version</meta-name><meta-value>no</meta-value></custom-meta><custom-meta><meta-name>pmc-prop-is-scanned-article</meta-name><meta-value>no</meta-value></custom-meta><custom-meta><meta-name>pmc-prop-preprint</meta-name><meta-value>no</meta-value></custom-meta><custom-meta><meta-name>pmc-prop-in-epmc</meta-name><meta-value>yes</meta-value></custom-meta><custom-meta><meta-name>pmc-license-ref</meta-name><meta-value>CC BY</meta-value></custom-meta></custom-meta-group></article-meta></front><body><sec sec-type="intro" id="sec1-plants-13-00833"><title>1. Introduction</title><p><italic toggle="yes">Cannabis sativa</italic> L., belonging to the Cannabaceae family, possesses a noteworthy historical legacy as a versatile asset with significant contributions to multiple domains. Notably, it has been harnessed for medicinal purposes. Beyond its therapeutic applications, this plant finds utility in diverse industries, including food, textiles, and paper production [<xref rid="B1-plants-13-00833" ref-type="bibr">1</xref>]. Cannabidiol (CBD), delta-9-tetrahydrocannabinol (d9-THC), and cannabigerol (CBG) are important quality parameters in medicinal cannabis due to their significant medicinal effects. Renowned for its psychoactive properties and pain-relieving effects, THC plays a crucial role in managing conditions such as chronic pain and nausea [<xref rid="B2-plants-13-00833" ref-type="bibr">2</xref>]. On the other hand, CBD has gained attention for its potential anti-inflammatory, anticonvulsant, and anxiolytic properties, making it valuable in treating epilepsy, anxiety disorders, and inflammation-related conditions [<xref rid="B3-plants-13-00833" ref-type="bibr">3</xref>,<xref rid="B4-plants-13-00833" ref-type="bibr">4</xref>]. Although present in smaller quantities, CBG is recognized as a precursor to other cannabinoids and demonstrates neuroprotective and potential anti-inflammatory effects, making it an emerging target for research and medicinal applications [<xref rid="B5-plants-13-00833" ref-type="bibr">5</xref>,<xref rid="B6-plants-13-00833" ref-type="bibr">6</xref>].</p><p>The variability of phytocannabinoid content in cannabis inflorescences underscores the importance of reliable analytical methods for accurate and consistent quantification. Cannabis (<italic toggle="yes">Cannabis sativa</italic> L.) exhibits considerable genetic diversity, leading to variations in cannabinoid profiles among different genotypes and even within the same genotype grown under different conditions [<xref rid="B7-plants-13-00833" ref-type="bibr">7</xref>]. This inherent variability poses challenges in determining the precise concentration of cannabinoid, which is crucial for assessing the potency and potential medicinal effects of cannabis products. Traditional methods, such as high-performance liquid chromatography (HPLC) and gas chromatography (GC), have been widely employed for the analysis of cannabinoid concentration. However, these methods often require lengthy sample preparation and the use of hazardous solvents and are highly expensive, and time consuming [<xref rid="B8-plants-13-00833" ref-type="bibr">8</xref>]. This has led to the exploration of alternative techniques like near-infrared (NIR) spectroscopy, which offers a non-destructive and rapid approach to cannabinoid analysis, reducing the reliance on solvents and simplifying the overall process [<xref rid="B9-plants-13-00833" ref-type="bibr">9</xref>].</p><p>In recent years, NIR spectroscopy has emerged as a powerful tool for the comprehensive analysis of cannabis, covering aspects such as moisture content [<xref rid="B10-plants-13-00833" ref-type="bibr">10</xref>], growth stages [<xref rid="B11-plants-13-00833" ref-type="bibr">11</xref>], cannabinoids [<xref rid="B12-plants-13-00833" ref-type="bibr">12</xref>,<xref rid="B13-plants-13-00833" ref-type="bibr">13</xref>], and terpenes [<xref rid="B14-plants-13-00833" ref-type="bibr">14</xref>]. The analysis of NIR spectra entails comparing data with a reference method such as HPLC to construct predictive models employing statistical methodologies [<xref rid="B15-plants-13-00833" ref-type="bibr">15</xref>]. To predict the cannabinoids of different cannabis cultivars accurately, it is essential to have access to extensive and diverse sample sets that adequately represent the genetic and corresponding chemotypic diversity [<xref rid="B16-plants-13-00833" ref-type="bibr">16</xref>]. While existing methods often involve scanning ground or semi-ground inflorescence samples, a limited number of studies have explored the potential of NIR spectroscopy on whole inflorescence samples [<xref rid="B10-plants-13-00833" ref-type="bibr">10</xref>,<xref rid="B13-plants-13-00833" ref-type="bibr">13</xref>]. Although screening whole inflorescences presents a more time-efficient approach compared to scanning ground inflorescence methods, research in this domain has been constrained by small sample sizes and low variation in cannabinoid content [<xref rid="B12-plants-13-00833" ref-type="bibr">12</xref>].</p><p>The selection of a partial least-squares regression (PLSR) model, coupled with specific pre-processing techniques, is a critical aspect to be considered in the development of prediction models [<xref rid="B17-plants-13-00833" ref-type="bibr">17</xref>]. Standard normal variate (SNV) is instrumental in mitigating unwanted variations, such as baseline shifts and sample thickness differences, thereby ensuring the consistency and reliability of the spectral data [<xref rid="B18-plants-13-00833" ref-type="bibr">18</xref>]. Additionally, Savitzky–Golay (SG) smoothing reduced random noise while preserving the essential spectral features to improve data quality and facilitate more precise spectral interpretation [<xref rid="B19-plants-13-00833" ref-type="bibr">19</xref>]. Often, prediction models employ a comprehensive package or a combination of multiple techniques. In this study, we assessed the efficacy of pre-processing techniques, SNV and SG smoothing, individually, and compared them with the unprocessed raw data. This comparative analysis aims to find the individual impact of these techniques on predictive performance and their contributions to the overall modeling process.</p><p>The hypothesis tested in this study is that a hand-held NIR device in conjunction with pre-processing techniques such as SNV and SG smoothing can accurately quantify the concentrations of total CBD, total THC, and total CBG in whole cannabis inflorescences. The study aims to compare NIR measurements with reference values to assess the accuracy and reliability of portable NIR technology for cannabinoid analysis.</p></sec><sec sec-type="results" id="sec2-plants-13-00833"><title>2. Results and Discussion</title><sec id="sec2dot1-plants-13-00833"><title>2.1. Quantitative Analysis Using HPLC</title><p>In this study, we analyzed a diverse set of cannabis genotypes, each exhibiting varying concentrations of total cannabidiol (total CBD), total delta-9-tetrahydrocannabinol (total THC), and total cannabigerol (total CBG). Our dataset comprised 890 genotypes encompassing a wide spectrum of cannabinoid concentration, ranging from zero to a maximum of 22.16% for total CBD, 16.33% for total THC, and 13.76% for total CBG. Among the three cannabinoids, total CBD exhibited the highest mean concentration at 7.40%, with a standard deviation (SD) of 5.12% (<xref rid="plants-13-00833-t001" ref-type="table">Table 1</xref>). Samples with diverse concentrations of cannabinoid led to an impartial population, enabling the model to make predictions without overfitting [<xref rid="B13-plants-13-00833" ref-type="bibr">13</xref>]. Therefore, this study is the most comprehensive and largest of its kind (<xref rid="plants-13-00833-t001" ref-type="table">Table 1</xref>), leading to the development of the most robust cannabinoid prediction model currently available.</p></sec><sec id="sec2dot2-plants-13-00833"><title>2.2. Pre-Processing Techniques for NIR Spectra</title><p>In the context of cannabinoid prediction using near-infrared (NIR) spectroscopy, pre-processing techniques, such as standard normal variate (SNV) and Savitzky–Golay (SG) smoothing, are commonly employed together to enhance the efficacy of predictive models [<xref rid="B13-plants-13-00833" ref-type="bibr">13</xref>,<xref rid="B20-plants-13-00833" ref-type="bibr">20</xref>]. However, in a recent investigation [<xref rid="B8-plants-13-00833" ref-type="bibr">8</xref>], the efficiency of raw data and pre-processing techniques were examined through individual comparisons. Their study focused on 35 hemp samples in semi-fine powder for the prediction of total CBD and THC concentrations [<xref rid="B8-plants-13-00833" ref-type="bibr">8</xref>]. Nevertheless, to the best of our knowledge, whole inflorescences have not been investigated for the individual comparison of pre-processing techniques and raw data for the prediction of cannabinoid concentration using NIR spectroscopy (<xref rid="plants-13-00833-f001" ref-type="fig">Figure 1</xref>).</p></sec><sec id="sec2dot3-plants-13-00833"><title>2.3. PLSR Modeling for the Prediction of Total CBD, Total THC, and Total CBG Concentrations</title><p>The partial least-squares regression (PLSR) model is based on training (70%), data scaling, and cross-validation, ensuring a consistent and reproducible approach for assessing predictive accuracy. The predictive performances of the PLSR models for total CBD, total THC, and total CBG concentrations were compared between raw data, SNV, and SG smoothing (<xref rid="plants-13-00833-t002" ref-type="table">Table 2</xref>).</p><p>In <xref rid="plants-13-00833-t002" ref-type="table">Table 2</xref>, the performance of different pre-processing techniques in predicting total CBD concentration is detailed. The application of standard normal variate (SNV) pre-processing exhibited superior performance, as evidenced by the lowest root mean square error of prediction (RMSEP) of 2.228 and the highest coefficient of determination for prediction (R<sup>2</sup>P) of 0.792. Additionally, the ratio of performance to deviation (RPD) for total CBD was highest (2.195) with SNV, indicating its robustness in accurately predicting CBD concentration. In contrast, the raw data resulted in the highest RMSEP (2.379) and the lowest R<sup>2</sup>P (0.763) and RPD (2.055) compared to both pre-processed datasets. <xref rid="plants-13-00833-f002" ref-type="fig">Figure 2</xref> visually represents the comparison of these results, showing that the predicted values with SNV (<xref rid="plants-13-00833-f002" ref-type="fig">Figure 2</xref>b) are more closely aligned with the observed values, indicated by their proximity to the diagonal line, compared to raw data (<xref rid="plants-13-00833-f002" ref-type="fig">Figure 2</xref>a) and SG smoothing (<xref rid="plants-13-00833-f002" ref-type="fig">Figure 2</xref>c).</p><p>The PLSR model demonstrated optimal performance when coupled with SNV pre-processing for predicting total THC concentration (<xref rid="plants-13-00833-t002" ref-type="table">Table 2</xref>). This combination yielded the highest coefficient of determination for prediction (R<sup>2</sup>P) of 0.847 and ratio of performance to deviation (RPD) of 2.555, along with the lowest root mean square error of prediction (RMSEP) of 1.498. In contrast, both raw data and Savitzky–Golay (SG) smoothing techniques fell short in accuracy. Specifically, raw data resulted in an R<sup>2</sup>P of 0.812, an RPD of 2.306, and an RMSEP of 1.651, indicating less precise predictions compared to SNV pre-processing. These findings underscore the superiority of SNV pre-processing in enhancing the accuracy of total THC concentration predictions (<xref rid="app1-plants-13-00833" ref-type="app">Figure S1</xref>).</p><p>In predicting the concentration of total CBG, the results exhibited unique characteristics (<xref rid="app1-plants-13-00833" ref-type="app">Figure S1</xref>). Raw data produced the highest prediction correlation coefficient (R<sup>2</sup>P) of 0.806, accompanied by a ratio of performance to deviation (RPD) of 2.267 and a root mean square error of prediction (RMSEP) of 0.623. Notably, SNV pre-processing, which typically performed favorably for other cannabinoids in this study, yielded lower predictions with an R<sup>2</sup>P of 0.763, an RPD of 2.057, and an RMSEP of 0.687 (<xref rid="plants-13-00833-t002" ref-type="table">Table 2</xref>). Interestingly, SG smoothing demonstrated competitive performance comparable to the highest raw data prediction, achieving an R<sup>2</sup>P of 0.804, an RPD of 2.256, and an RMSEP of 0.627.</p><p>NIR spectroscopy has already been applied to the quantitative analysis of CBD [<xref rid="B21-plants-13-00833" ref-type="bibr">21</xref>], THC [<xref rid="B13-plants-13-00833" ref-type="bibr">13</xref>,<xref rid="B21-plants-13-00833" ref-type="bibr">21</xref>], and CBG [<xref rid="B14-plants-13-00833" ref-type="bibr">14</xref>] in fine powder [<xref rid="B22-plants-13-00833" ref-type="bibr">22</xref>], semi fine powder [<xref rid="B8-plants-13-00833" ref-type="bibr">8</xref>], and whole inflorescences [<xref rid="B13-plants-13-00833" ref-type="bibr">13</xref>,<xref rid="B23-plants-13-00833" ref-type="bibr">23</xref>]. Heterogeneity in the whole cannabis inflorescence presents a challenging analytic target for NIR spectroscopy [<xref rid="B13-plants-13-00833" ref-type="bibr">13</xref>] due to its sensitivity to both chemical and physical properties [<xref rid="B24-plants-13-00833" ref-type="bibr">24</xref>]. Therefore, a whole inflorescence with 10 spectra per sample was used in this study. In addition, a large sample size is pivotal in the training of NIR prediction to underline the spectral pattern more effectively [<xref rid="B25-plants-13-00833" ref-type="bibr">25</xref>], strengthen robustness to variations within the dataset [<xref rid="B26-plants-13-00833" ref-type="bibr">26</xref>], and mitigate the risk of overfitting [<xref rid="B27-plants-13-00833" ref-type="bibr">27</xref>]. In this investigation, we utilized a substantial sample size (<italic toggle="yes">n</italic> = 890), emphasizing the effectiveness of highlighting spectral patterns and dataset variations and reducing the risk of overfitting.</p><p>In the study conducted by [<xref rid="B10-plants-13-00833" ref-type="bibr">10</xref>], a predictive model was developed for the whole inflorescences, covering five cannabinoids within the wavelength range of 950 to 1650 nm. The PLSR model employed in their research demonstrated notable predictive accuracy, yielding the highest R<sup>2</sup>P of 0.89 for CBD concentration (SD = 1.84) and a contrasting R<sup>2</sup>P of 0.11 (SD = 0.20) for THC across a total of 194 samples [<xref rid="B10-plants-13-00833" ref-type="bibr">10</xref>]. For CBG concentration, which involved 187 whole inflorescence samples, the R<sup>2</sup>P was 0.43 (SD = 0.04). The lower variations observed in the CBG and THC datasets were identified as potential contributors to the lower prediction accuracy in their study [<xref rid="B10-plants-13-00833" ref-type="bibr">10</xref>]. In our investigation, where the total THC concentration exhibited substantial variation, with a standard deviation of 3.88 (<xref rid="plants-13-00833-t001" ref-type="table">Table 1</xref>), pre-processing with SNV resulted in the highest R<sup>2</sup>P of 0.847 (<xref rid="plants-13-00833-t002" ref-type="table">Table 2</xref>). Conversely, despite lower variations in total CBG concentration (SD = 1.34) compared to both total THC and total CBD concentrations (SD = 5.12), the raw data still yielded a noteworthy R<sup>2</sup>P of 0.806. Importantly, variation in cannabinoid concentrations alone does not translate into higher prediction accuracy. As previously mentioned [<xref rid="B10-plants-13-00833" ref-type="bibr">10</xref>], demonstrated that CBG concentration, characterized by extremely low variation (SD = 0.04), exhibited a higher R<sup>2</sup>P compared to THC (R<sup>2</sup>P = 0.11), which had relatively higher variation (SD = 0.20). Our study aligns with these findings, where total CBD concentration, marked by higher variation (<xref rid="plants-13-00833-t001" ref-type="table">Table 1</xref>), exhibited lower prediction accuracy in comparison to total THC and total CBG concentrations (<xref rid="plants-13-00833-t002" ref-type="table">Table 2</xref>).</p><p>In the comparison conducted by [<xref rid="B13-plants-13-00833" ref-type="bibr">13</xref>], low-cost NIRSG1 and mid-cost MicroNIR devices were evaluated on a total of 26 samples for THC concentration prediction using PLSR models, considering variations in whole inflorescences and different grinding levels. In their study, MicroNIR outperformed NIRSG1, achieving the highest prediction accuracy for whole inflorescences with an R<sup>2</sup>P of 0.93 and an RPD of 4.54, while NIRSG1 showed lower accuracy with R<sup>2</sup>P = 0.73 and RPD = 1.95 [<xref rid="B13-plants-13-00833" ref-type="bibr">13</xref>]. In our current study, we obtained the highest prediction accuracy for total THC concentration using the low-cost NIRSG1 device (R<sup>2</sup>P = 0.847 and RPD = 2.555). This was achieved through the application of the pre-processing SNV technique (<xref rid="plants-13-00833-t002" ref-type="table">Table 2</xref>). Notably, our research, conducted with a considerably larger sample size (<italic toggle="yes">n</italic> = 890), reinforces the robustness of our findings while utilizing the cost-effective NIRSG1 device.</p><p>The findings in this study underscore the critical influence of pre-processing techniques on the predictive performance of PLSR models for cannabinoid concentration. SNV pre-processing consistently produced superior prediction of both total CBD and total THC concentrations, emphasizing its effectiveness in reducing noise and enhancing the interpretability of spectral data. The raw data, while showcasing competitive prediction for CBG concentration, lagged when applied to total CBD and total THC concentration models. The unexpected outcome observed for the prediction of total CBG concentration requires further investigation. While SNV pre-processing was advantageous for other cannabinoids, it exhibited decreased performance for total CBG concentration. This suggests that the underlying spectral characteristics of total CBG may differ substantially from total CBD and total THC, necessitating alternative pre-processing strategies.</p><p>The reference values were obtained using high-performance liquid chromatography (HPLC), a widely trusted method. However, the findings from NIR spectroscopy, as indicated above, continue to hold relevance within the cannabis industry. Typically, only a single inflorescence (apical bud) per plant is utilized for cannabinoid analysis to represent the whole plant. Nevertheless, research studies have revealed significant variations in CBD concentrations among different inflorescences within the same plant [<xref rid="B7-plants-13-00833" ref-type="bibr">7</xref>,<xref rid="B28-plants-13-00833" ref-type="bibr">28</xref>]. For instance, a recent study [<xref rid="B7-plants-13-00833" ref-type="bibr">7</xref>], demonstrated significant differences in CBD concentration between top, mid, and low buds. To conduct a comprehensive and representative examination of the cannabis plant, multiple samples per plant are necessary, which can be highly expensive when using HPLC. Incorporating NIR spectroscopy alongside HPLC offers a robust, cost-effective, and representative approach that aligns with the standards of the cannabis industry.</p><p>The regulations that impose stringent limits on THC levels in cannabis genotypes, as seen in Europe with a threshold of 0.3%, present significant hurdles for the cultivation of non-psychoactive dominant varieties, such as CBD-dominant varieties. Considering these restrictions, breeding programs encounter substantial challenges when attempting to develop novel cultivars [<xref rid="B29-plants-13-00833" ref-type="bibr">29</xref>]. The risk of pollen contamination from a single THC-dominant plant can jeopardize the entire breeding initiative. NIR spectroscopy offers a potential solution by enabling comprehensive cannabinoid profiling at early growth stages [<xref rid="B11-plants-13-00833" ref-type="bibr">11</xref>]. This allows for a swift assessment to avoid potential contamination issues and aids in the early selection of relevant genotype profiles.</p><p>In conclusion, the results obtained in this study highlight the importance of tailoring pre-processing techniques to the specific cannabinoid of interest with an NIRSG1 device. The choice of pre-processing technique can significantly impact model accuracy and generalization; careful consideration should be given to the unique spectral characteristics of each compound. Further research is required with extended wavelength ranges to uncover the underlying factors contributing to the varying performance of pre-processing methods across different cannabinoids. Overall, this study demonstrates the versatility of PLSR modeling and the critical role of pre-processing in optimizing predictions for cannabinoid concentration with NIRSG1, offering valuable insights for researchers in the field of spectroscopy and analytical chemistry.</p></sec></sec><sec id="sec3-plants-13-00833"><title>3. Materials and Methods</title><sec id="sec3dot1-plants-13-00833"><title>3.1. Sample Collection</title><p>In this study, cannabis plant samples were taken from Puregene AG’s breeding trials located in Zeiningen, Switzerland. A total of 890 unreplicated diverse cannabis genotypes grown at the same location during the year 2020 were included in our research. Each cannabis sample consisted of the whole apical inflorescence (top 15 cm), representing individual genotypes. To ensure consistency amongst samples, inflorescences were frozen shortly after harvest. The frozen material was then freeze dried, and dry inflorescences were closely monitored for humidity levels, ensuring humidity levels between 8% and 13%. Following this, the samples were stored in a dark environment, where the temperature remained consistently below 25 °C.</p></sec><sec id="sec3dot2-plants-13-00833"><title>3.2. Near-Infrared (NIR) Spectroscopy</title><p>Near-infrared spectra were acquired in the reflectance mode using a portable NIRSG1 device from Luxflux GmbH, Kusterdingen, Germany. The recorded wavelength ranged from 950 to 1650 nm with a 4 nm interval and a spectral resolution of 10 nm. Each scan took less than a second. To ensure comprehensive coverage of the samples, we measured each inflorescence ten times in the reflection mode. The spectrum used in the model for each plant was the average of these ten scans. To achieve more consistent spectra, each inflorescence underwent regular rotation during the measurement setups (<xref rid="plants-13-00833-f003" ref-type="fig">Figure 3</xref>).</p></sec><sec id="sec3dot3-plants-13-00833"><title>3.3. High-Performance Liquid Chromatography (HPLC)</title><p>Cannabinoid extractions from inflorescence material were performed through mechanical homogenization in a VWR Starbeater mill (VWR International, Radnor, PA, USA). Approximately 500 mg of plant inflorescence material (weight noted) and 15 mL of ethanol (99.6%, Ph.Eur. grade) were added to disposable 50 mL test tubes with zirconia beads (~2 mm diameter), and cannabinoid was extracted via shaking for 5 min at 25 Hz. An aliquot of the crude extract was directly filtered through a 0.2 µm PTFE syringe filter (or a 96 well format filter plate with 0.2 µm PTFE) and diluted as needed with ethanol.</p><p>The cannabinoid assay was run on a 1290 Infinity II Agilent HPLC system (Agilent Technologies, Santa Clara, CA, USA) equipped with a diode array detector (DAD), temperature-controlled column compartment, multisampler, and quaternary pump. The separation of the analytes was achieved on a Kinetex 1.7 µm EVO C18 100A 100 × 1.2 mm column (Phenomenex, Torrance, CA, USA). Full spectra were recorded from 200 to 400 nm, and absorbance at 230 nm was used to quantify cannabinoid content.</p><p>Instrument control, data acquisition, and integration were achieved with OpenLAB CDS 2.8 (Agilent Technologies, Santa Clara, CA, USA) software, applying an identification and quantification method based on an 8-level external standards calibration curve. To confirm the identity of analytes in the plant material, retention time and peak purity were compared with the signals acquired from certified reference materials (CRMs).</p><p>The calibration curve used for quantification of the most common cannabinoid was obtained by analyzing serial dilutions of cannabinoid mixtures produced in-house from commercially available cannabinoid CRMs. Namely, cannabidiol (CBD), cannabigerol (CBG), cannabidiolic acid (CBDA), cannabigerolic acid (CBGA), delta-9-tetrahydrocannabinol (d9-THC), and tetrahydrocannabinolic acid (THCA).</p><p>The concentration of cannabinoid is calculated as a percentage of the dry mass of cannabis inflorescence [% <italic toggle="yes">w</italic>/<italic toggle="yes">w</italic>]. Total CBD is calculated according to the following formula: CBD [% <italic toggle="yes">w</italic>/<italic toggle="yes">w</italic>] + CBDA × 0.877 [% <italic toggle="yes">w</italic>/<italic toggle="yes">w</italic>], with the factor of 0.877 accounting for decarboxylation of the CBDA molecule. Similarly, the formulas for the other relevant major cannabinoids are: total THC = d9-THC [% <italic toggle="yes">w</italic>/<italic toggle="yes">w</italic>] + d9-THCA × 0.877 [% <italic toggle="yes">w</italic>/<italic toggle="yes">w</italic>], total CBG = CBG [% <italic toggle="yes">w</italic>/<italic toggle="yes">w</italic>] + CBGA × 0.877 [% <italic toggle="yes">w</italic>/<italic toggle="yes">w</italic>]. The total cannabinoid concentration is calculated as the sum of the above total concentration values for a single cannabinoid.</p></sec><sec id="sec3dot4-plants-13-00833"><title>3.4. Pre-Processing Techniques</title><p>Information of interest in the NIR spectra can be interfered with due to different factors such as spectra noise. Various mathematical pre-processing techniques can be used to deal with these interferences. In this study, wavelength information was used in three versions: as raw observed values, as smoothed values, and as standardized values. For SG smoothing operation, raw observed values <inline-formula><mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" id="mm1" overflow="scroll"><mml:mrow><mml:mrow><mml:msub><mml:mrow><mml:mi>y</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi><mml:mi>k</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:mrow></mml:math></inline-formula> at the <italic toggle="yes">i</italic>-th wavelength within each spectrum <italic toggle="yes">k</italic> were smoothed with Equation (1).
<disp-formula id="FD1-plants-13-00833"><label>(1)</label><mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" id="mm2" display="block" overflow="scroll"><mml:mrow><mml:mrow><mml:msub><mml:mrow><mml:mi>y</mml:mi></mml:mrow><mml:mrow><mml:msub><mml:mrow><mml:mi>s</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi><mml:mi>k</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:msub><mml:mo>=</mml:mo><mml:mfrac><mml:mrow><mml:mn>1</mml:mn></mml:mrow><mml:mrow><mml:mn>2</mml:mn><mml:mi>m</mml:mi><mml:mo>+</mml:mo><mml:mn>1</mml:mn></mml:mrow></mml:mfrac><mml:mrow><mml:msubsup><mml:mo stretchy="false">∑</mml:mo><mml:mrow><mml:mi>j</mml:mi><mml:mo>=</mml:mo><mml:mo>−</mml:mo><mml:mi>m</mml:mi></mml:mrow><mml:mrow><mml:mi>m</mml:mi></mml:mrow></mml:msubsup><mml:mrow><mml:msub><mml:mrow><mml:mi>c</mml:mi></mml:mrow><mml:mrow><mml:mi>j</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:mrow><mml:mo>⋅</mml:mo><mml:msub><mml:mrow><mml:mi>y</mml:mi></mml:mrow><mml:mrow><mml:mfenced separators="|"><mml:mrow><mml:mi>i</mml:mi><mml:mo>+</mml:mo><mml:mi>j</mml:mi></mml:mrow></mml:mfenced><mml:mi>k</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:mrow></mml:math></disp-formula>
where <inline-formula><mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" id="mm3" overflow="scroll"><mml:mrow><mml:mrow><mml:msub><mml:mrow><mml:mi>y</mml:mi></mml:mrow><mml:mrow><mml:msub><mml:mrow><mml:mi>s</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi><mml:mi>k</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:msub></mml:mrow></mml:mrow></mml:math></inline-formula> is the smoothed value at wavelength <italic toggle="yes">i</italic> in spectrum <italic toggle="yes">k</italic>, <italic toggle="yes">m</italic> is 3, <inline-formula><mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" id="mm4" overflow="scroll"><mml:mrow><mml:mrow><mml:msub><mml:mrow><mml:mi>c</mml:mi></mml:mrow><mml:mrow><mml:mi>j</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:mrow></mml:math></inline-formula> is the coefficients determined by the chosen parameters, and <inline-formula><mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" id="mm5" overflow="scroll"><mml:mrow><mml:mrow><mml:msub><mml:mrow><mml:mi>y</mml:mi></mml:mrow><mml:mrow><mml:mfenced separators="|"><mml:mrow><mml:mi>i</mml:mi><mml:mo>+</mml:mo><mml:mi>j</mml:mi></mml:mrow></mml:mfenced><mml:mi>k</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:mrow></mml:math></inline-formula> denotes the (<italic toggle="yes">i + j</italic>)-th data points in spectrum <italic toggle="yes">k</italic> within the smoothing window centered around wavelength <inline-formula><mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" id="mm6" overflow="scroll"><mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:mrow></mml:math></inline-formula>. In our case, a polynomial of order 3 (<italic toggle="yes">p</italic> = 3) was chosen to capture data trends, with a derivative order of 0 (<italic toggle="yes">d</italic> = 0) focusing on data smoothing rather than derivative extraction. We used a window size of 7 (2<italic toggle="yes">m</italic> + 1 = 7) consecutive points during polynomial smoothing.</p><p>Standardized normal value (SNV) was applied row-wise to all observations within a spectrum in the dataset to normalize the data (Equation (2)). We extracted each spectrum as a row vector from the dataset, centered the data by subtracting the spectrum’s mean from each data point, and scaled it by dividing each data point by the spectrum’s standard deviation. This resulted in rows of normalized data with a centered baseline and reduced intensity variations.
<disp-formula id="FD2-plants-13-00833"><label>(2)</label><mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" id="mm7" display="block" overflow="scroll"><mml:mrow><mml:mrow><mml:mi>S</mml:mi><mml:mi>N</mml:mi><mml:mi>V</mml:mi><mml:mfenced separators="|"><mml:mrow><mml:msub><mml:mrow><mml:mi>y</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi><mml:mi>k</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:mfenced><mml:mo>=</mml:mo><mml:mfenced separators="|"><mml:mrow><mml:msub><mml:mrow><mml:mi>y</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi><mml:mi>k</mml:mi></mml:mrow></mml:msub><mml:mo>−</mml:mo><mml:msub><mml:mrow><mml:mi>μ</mml:mi></mml:mrow><mml:mrow><mml:mi>k</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:mfenced><mml:mo>/</mml:mo><mml:msub><mml:mrow><mml:mi>σ</mml:mi></mml:mrow><mml:mrow><mml:mi>k</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:mrow></mml:math></disp-formula></p><p>In Equation (2), <inline-formula><mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" id="mm8" overflow="scroll"><mml:mrow><mml:mrow><mml:mi>S</mml:mi><mml:mi>N</mml:mi><mml:mi>V</mml:mi><mml:mfenced separators="|"><mml:mrow><mml:msub><mml:mrow><mml:mi>y</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi><mml:mi>k</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:mfenced></mml:mrow></mml:mrow></mml:math></inline-formula> represents the SNV normalized value of <inline-formula><mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" id="mm9" overflow="scroll"><mml:mrow><mml:mrow><mml:msub><mml:mrow><mml:mi>y</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi><mml:mi>k</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:mrow></mml:math></inline-formula>. The variable <inline-formula><mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" id="mm10" overflow="scroll"><mml:mrow><mml:mrow><mml:msub><mml:mrow><mml:mi>μ</mml:mi></mml:mrow><mml:mrow><mml:mi>k</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:mrow></mml:math></inline-formula> corresponds to the estimated mean of the data points <inline-formula><mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" id="mm11" overflow="scroll"><mml:mrow><mml:mrow><mml:msub><mml:mrow><mml:mi>y</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi><mml:mi>k</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:mrow></mml:math></inline-formula> within the spectrum <italic toggle="yes">k</italic>, and <inline-formula><mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" id="mm12" overflow="scroll"><mml:mrow><mml:mrow><mml:msub><mml:mrow><mml:mi>σ</mml:mi></mml:mrow><mml:mrow><mml:mi>k</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:mrow></mml:math></inline-formula> represents the estimated standard deviation of these data points. By applying this normalization technique row-wise to each spectrum in our dataset, we centered the baseline and reduced intensity variations, ensuring that the data remained on a consistent scale for subsequent analysis. Smoothing and normalization was performed for all <italic toggle="yes">I</italic> wavelengths and <italic toggle="yes">K</italic> spectra, where <italic toggle="yes">I</italic> and <italic toggle="yes">K</italic> are the number of wavelengths and spectra, respectively.</p></sec><sec id="sec3dot5-plants-13-00833"><title>3.5. Partial Least-Squares Regression (PLSR)</title><p>Utilizing partial least-squares regression (PLSR), the relationship between the predictor variables (wavelength spectra) and the target response variable (total CBD, total THC, and total CBG) was modeled. Ten-fold cross-validation was employed to determine the optimal number of latent variables. The dataset was randomly divided into ten subsets, and the PLSR model was trained and validated iteratively. Equation (3) represents the PLSR model equation used in our analysis:<disp-formula id="FD3-plants-13-00833"><label>(3)</label><mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" id="mm13" display="block" overflow="scroll"><mml:mrow><mml:mrow><mml:mi mathvariant="bold-italic">T</mml:mi><mml:mo>=</mml:mo><mml:mi mathvariant="bold-italic">X</mml:mi><mml:mo>⋅</mml:mo><mml:mi mathvariant="bold-italic">W</mml:mi></mml:mrow></mml:mrow></mml:math></disp-formula>
where <bold><italic toggle="yes">T</italic></bold> represents the <italic toggle="yes">K</italic>
<inline-formula><mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" id="mm14" overflow="scroll"><mml:mrow><mml:mrow><mml:mo>×</mml:mo></mml:mrow></mml:mrow></mml:math></inline-formula>
<italic toggle="yes">A</italic> matrix of orthogonal latent variables, <bold><italic toggle="yes">X</italic></bold> is a <italic toggle="yes">I</italic>
<inline-formula><mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" id="mm15" overflow="scroll"><mml:mrow><mml:mrow><mml:mo>×</mml:mo></mml:mrow></mml:mrow></mml:math></inline-formula>
<italic toggle="yes">K</italic> matrix of wavelength <inline-formula><mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" id="mm16" overflow="scroll"><mml:mrow><mml:mrow><mml:msub><mml:mrow><mml:mi>y</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi><mml:mi>k</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:mrow></mml:math></inline-formula>, and <bold><italic toggle="yes">W</italic></bold> is a <italic toggle="yes">K</italic>
<inline-formula><mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" id="mm17" overflow="scroll"><mml:mrow><mml:mrow><mml:mo>×</mml:mo></mml:mrow></mml:mrow></mml:math></inline-formula>
<italic toggle="yes">A</italic> matrix of weights. The matrix <bold><italic toggle="yes">T</italic></bold> has the property that errors in <bold><italic toggle="yes">X</italic></bold> = <bold><italic toggle="yes">TP</italic></bold> + <bold><italic toggle="yes">E</italic></bold> and <bold><italic toggle="yes">Y</italic></bold> = <bold><italic toggle="yes">TC</italic></bold> + <bold><italic toggle="yes">F</italic></bold> are small [<xref rid="B30-plants-13-00833" ref-type="bibr">30</xref>,<xref rid="B31-plants-13-00833" ref-type="bibr">31</xref>], where <bold><italic toggle="yes">Y</italic></bold> is the vector of the response variable, <bold><italic toggle="yes">P</italic></bold> and <bold><italic toggle="yes">C</italic></bold> are some weighting matrices, and <bold><italic toggle="yes">E</italic></bold> and <bold><italic toggle="yes">F</italic></bold> are error matrices. Small means that it maximizes the coefficient of determination (R<sup>2</sup>) and minimizes the root mean square error of prediction (RMSEP), ensuring they effectively capture the underlying patterns in the <italic toggle="yes">I</italic>
<inline-formula><mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" id="mm18" overflow="scroll"><mml:mrow><mml:mrow><mml:mo>×</mml:mo></mml:mrow></mml:mrow></mml:math></inline-formula><italic toggle="yes">K</italic> that are most relevant for predicting the response variable vector <bold><italic toggle="yes">Y</italic></bold>. In this study, <italic toggle="yes">A</italic> = 20 was chosen as the optimal number of latent variables. Predicting the content of the target response variable (<inline-formula><mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" id="mm19" overflow="scroll"><mml:mrow><mml:mrow><mml:mover><mml:mrow><mml:mi mathvariant="bold-italic">Y</mml:mi></mml:mrow><mml:mo>^</mml:mo></mml:mover></mml:mrow></mml:mrow></mml:math></inline-formula>) for a new dataset, (<inline-formula><mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" id="mm20" overflow="scroll"><mml:mrow><mml:mrow><mml:msub><mml:mrow><mml:mi mathvariant="bold-italic">T</mml:mi></mml:mrow><mml:mrow><mml:mi>pred</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:mrow></mml:math></inline-formula>) is achieved using Equation (4):<disp-formula id="FD4-plants-13-00833"><label>(4)</label><mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" id="mm21" display="block" overflow="scroll"><mml:mrow><mml:mrow><mml:mover><mml:mrow><mml:mi mathvariant="bold-italic">Y</mml:mi></mml:mrow><mml:mo>^</mml:mo></mml:mover><mml:mo>=</mml:mo><mml:msub><mml:mrow><mml:mi mathvariant="bold-italic">T</mml:mi></mml:mrow><mml:mrow><mml:mi>pred</mml:mi></mml:mrow></mml:msub><mml:mo>⋅</mml:mo><mml:mover><mml:mrow><mml:mi mathvariant="bold-italic">C</mml:mi></mml:mrow><mml:mo>^</mml:mo></mml:mover></mml:mrow></mml:mrow></mml:math></disp-formula>
where <inline-formula><mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" id="mm22" overflow="scroll"><mml:mrow><mml:mrow><mml:mover><mml:mrow><mml:mi mathvariant="bold-italic">Y</mml:mi></mml:mrow><mml:mo>^</mml:mo></mml:mover></mml:mrow></mml:mrow></mml:math></inline-formula> represents the predicted content of the target response variable, <inline-formula><mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" id="mm23" overflow="scroll"><mml:mrow><mml:mrow><mml:msub><mml:mrow><mml:mi mathvariant="bold-italic">T</mml:mi></mml:mrow><mml:mrow><mml:mi>pred</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:mrow></mml:math></inline-formula> represents the set of latent variables for these new observations, and <inline-formula><mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" id="mm24" overflow="scroll"><mml:mrow><mml:mrow><mml:mover><mml:mrow><mml:mi mathvariant="bold-italic">C</mml:mi></mml:mrow><mml:mo>^</mml:mo></mml:mover></mml:mrow></mml:mrow></mml:math></inline-formula> is the estimated matrix of regression coefficients. To ensure the reproducibility of our results, a random seed was set before using any modeling techniques. Additionally, we performed a random split of the dataset, selecting 70% for the training set and reserving 30% for the test set. This random data split allows one to train the PLSR model on one portion of the data and validate its performance on an independent dataset, thereby assessing its predictive accuracy. The prediction ability of the model was evaluated through several metrics, including the root mean square error of cross-validation (RMSECV), the root mean square error of prediction (RMSEP), correlation coefficients (R<sup>2</sup>), and the relative predictive deviation (RPD) for each model [<xref rid="B32-plants-13-00833" ref-type="bibr">32</xref>]. These metrics collectively assess the accuracy and reliability of our predictive models.</p><p>In addition to PLSR modeling, we used the expolinear function for visualization purposes. This function is defined by the Equation (5):<disp-formula id="FD5-plants-13-00833"><label>(5)</label><mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" id="mm25" display="block" overflow="scroll"><mml:mrow><mml:mrow><mml:mi>y</mml:mi><mml:mo>=</mml:mo><mml:mfrac><mml:mrow><mml:mi>c</mml:mi><mml:mi>m</mml:mi></mml:mrow><mml:mrow><mml:mi>r</mml:mi><mml:mi>m</mml:mi></mml:mrow></mml:mfrac><mml:mo>⋅</mml:mo><mml:mi mathvariant="normal">l</mml:mi><mml:mi mathvariant="normal">n</mml:mi><mml:mfenced separators="|"><mml:mrow><mml:mn>1</mml:mn><mml:mo>+</mml:mo><mml:msup><mml:mrow><mml:mi mathvariant="normal">e</mml:mi></mml:mrow><mml:mrow><mml:mfenced separators="|"><mml:mrow><mml:mi>r</mml:mi><mml:mi>m</mml:mi><mml:mo>⋅</mml:mo><mml:mfenced separators="|"><mml:mrow><mml:mi>t</mml:mi><mml:mo>−</mml:mo><mml:mi>t</mml:mi><mml:mi>b</mml:mi></mml:mrow></mml:mfenced></mml:mrow></mml:mfenced></mml:mrow></mml:msup></mml:mrow></mml:mfenced></mml:mrow></mml:mrow></mml:math></disp-formula>
where <inline-formula><mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" id="mm26" overflow="scroll"><mml:mrow><mml:mrow><mml:mi>y</mml:mi></mml:mrow></mml:mrow></mml:math></inline-formula> represents the output variable (cannabinoid) and <inline-formula><mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" id="mm27" overflow="scroll"><mml:mrow><mml:mrow><mml:mi>t</mml:mi></mml:mrow></mml:mrow></mml:math></inline-formula> denotes the input variable (wavelength spectra). Parameters <inline-formula><mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" id="mm28" overflow="scroll"><mml:mrow><mml:mrow><mml:mi>c</mml:mi><mml:mi>m</mml:mi><mml:mo>,</mml:mo><mml:mi>r</mml:mi><mml:mi>m</mml:mi><mml:mo>,</mml:mo><mml:mo> </mml:mo><mml:mi mathvariant="normal">a</mml:mi><mml:mi mathvariant="normal">n</mml:mi><mml:mi mathvariant="normal">d</mml:mi><mml:mo> </mml:mo><mml:mi>t</mml:mi></mml:mrow></mml:mrow></mml:math></inline-formula> are used for curve fitting. The ‘expolinear’ function was primarily employed to enhance the visual representation of our data.</p></sec></sec></body><back><fn-group><fn><p><bold>Disclaimer/Publisher’s Note:</bold> The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.</p></fn></fn-group><app-group><app id="app1-plants-13-00833"><title>Supplementary Materials</title><p>The following supporting information can be downloaded at: <uri xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="https://www.mdpi.com/article/10.3390/plants13060833/s1">https://www.mdpi.com/article/10.3390/plants13060833/s1</uri>. Figure S1: Observed versus predicted plot of the total delta-9-tetrahydrocannabinol (total THC) concentration for (a) raw data, (b) standard normal variate (SNV), and (c) Savitzky–Golay (SG) smoothing and total cannabigerol (total CBG) concentration for (d) raw data, (e) standard normal variate (SNV), and (f) Savitzky–Golay (SG) smoothing.</p><supplementary-material id="plants-13-00833-s001" position="float" content-type="local-data" orientation="portrait"><media xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="plants-13-00833-s001.zip" position="float" orientation="portrait"><?suppdata-name plants-13-00833-s001.zip?><?suppdata-size 215020?><?suppdata-md5 92b4cf7fcf7cc8113aa4a6c687c868e0?><?suppdata-image-server-status NEVER_LOAD?><?suppdata-mime-type application?><?suppdata-mime-sub-type zip?><?suppdata-cloudpmc-urn urn:app:69bd/10975745/92b4cf7fcf7c/plants-13-00833-s001.zip?></media></supplementary-material></app></app-group><notes><title>Author Contributions</title><p>Conceptualization, H.R. and S.G.-H.; methodology, H.R. and S.G.-H.; software, H.R. and T.S.; validation, H.R., J.H. and S.G.-H.; formal analysis, H.R. and J.H.; investigation, H.R.; resources, H.R., M.R., M.M.V. and D.Á.C.; data curation, H.R. and M.M.V.; writing—original draft preparation, H.R.; writing—review and editing, S.G.-H. and J.H.; visualization, H.R.; supervision, S.G.-H.; project administration, S.G.-H.; funding acquisition, S.G.-H. All authors have read and agreed to the published version of the manuscript.</p></notes><notes notes-type="data-availability"><title>Data Availability Statement</title><p>Data are contained within the article and <xref rid="app1-plants-13-00833" ref-type="app">Supplementary Materials</xref>.</p></notes><notes notes-type="COI-statement"><title>Conflicts of Interest</title><p>Authors Maximilian M. Vogt, Dániel Árpád Carrera and Michael Ruckle were employed by the company Puregene AG. The remaining authors declare that the research was conducted in the absence of any commercial or financial relationships that could be construed as a potential conflict of interest. The funders had no role in the design of the study; in the collection, analysis, or interpretation of the data; in the writing of the manuscript; or in the decision to publish the results.</p></notes><ref-list><title>References</title><ref id="B1-plants-13-00833"><label>1.</label><element-citation publication-type="journal"><person-group person-group-type="author">
<name name-style="western"><surname>Russo</surname><given-names>E.B.</given-names></name>
</person-group><article-title>History of Cannabis and Its Preparations in Saga, Science, and Sobriquet</article-title><source>Chem. Biodivers.</source><year>2007</year><volume>4</volume><fpage>1614</fpage><lpage>1648</lpage><pub-id pub-id-type="doi">10.1002/cbdv.200790144</pub-id><pub-id pub-id-type="pmid">17712811</pub-id></element-citation></ref><ref id="B2-plants-13-00833"><label>2.</label><element-citation publication-type="journal"><person-group person-group-type="author">
<name name-style="western"><surname>Hillig</surname><given-names>K.W.</given-names></name>
<name name-style="western"><surname>Mahlberg</surname><given-names>P.G.</given-names></name>
</person-group><article-title>A Chemotaxonomic Analysis of Cannabinoid Variation in Cannabis (Cannabaceae)</article-title><source>Am. J. Bot.</source><year>2004</year><volume>91</volume><fpage>966</fpage><lpage>975</lpage><pub-id pub-id-type="doi">10.3732/ajb.91.6.966</pub-id><pub-id pub-id-type="pmid">21653452</pub-id></element-citation></ref><ref id="B3-plants-13-00833"><label>3.</label><element-citation publication-type="journal"><person-group person-group-type="author">
<name name-style="western"><surname>Devinsky</surname><given-names>O.</given-names></name>
<name name-style="western"><surname>Cilio</surname><given-names>M.R.</given-names></name>
<name name-style="western"><surname>Cross</surname><given-names>H.</given-names></name>
<name name-style="western"><surname>Fernandez-Ruiz</surname><given-names>J.</given-names></name>
<name name-style="western"><surname>French</surname><given-names>J.</given-names></name>
<name name-style="western"><surname>Hill</surname><given-names>C.</given-names></name>
<name name-style="western"><surname>Katz</surname><given-names>R.</given-names></name>
<name name-style="western"><surname>Di Marzo</surname><given-names>V.</given-names></name>
<name name-style="western"><surname>Jutras-Aswad</surname><given-names>D.</given-names></name>
<name name-style="western"><surname>Notcutt</surname><given-names>W.G.</given-names></name>
<etal/>
</person-group><article-title>Cannabidiol: Pharmacology and Potential Therapeutic Role in Epilepsy and Other Neuropsychiatric Disorders</article-title><source>Epilepsia</source><year>2014</year><volume>55</volume><fpage>791</fpage><lpage>802</lpage><pub-id pub-id-type="doi">10.1111/epi.12631</pub-id><pub-id pub-id-type="pmid">24854329</pub-id><pub-id pub-id-type="pmcid">PMC4707667</pub-id></element-citation></ref><ref id="B4-plants-13-00833"><label>4.</label><element-citation publication-type="journal"><person-group person-group-type="author">
<name name-style="western"><surname>Baron</surname><given-names>E.P.</given-names></name>
</person-group><article-title>Medicinal Properties of Cannabinoids, Terpenes, and Flavonoids in Cannabis, and Benefits in Migraine, Headache, and Pain: An Update on Current Evidence and Cannabis Science</article-title><source>Headache J. Head Face Pain</source><year>2018</year><volume>58</volume><fpage>1139</fpage><lpage>1186</lpage><pub-id pub-id-type="doi">10.1111/head.13345</pub-id><pub-id pub-id-type="pmid">30152161</pub-id></element-citation></ref><ref id="B5-plants-13-00833"><label>5.</label><element-citation publication-type="journal"><person-group person-group-type="author">
<name name-style="western"><surname>Pertwee</surname><given-names>R.G.</given-names></name>
</person-group><article-title>The Diverse CB1 and CB2 Receptor Pharmacology of Three Plant Cannabinoids: Δ9-Tetrahydrocannabinol, Cannabidiol and Δ9-Tetrahydrocannabivarin</article-title><source>Br. J. Pharmacol.</source><year>2008</year><volume>153</volume><fpage>199</fpage><lpage>215</lpage><pub-id pub-id-type="doi">10.1038/sj.bjp.0707442</pub-id><pub-id pub-id-type="pmid">17828291</pub-id><pub-id pub-id-type="pmcid">PMC2219532</pub-id></element-citation></ref><ref id="B6-plants-13-00833"><label>6.</label><element-citation publication-type="journal"><person-group person-group-type="author">
<name name-style="western"><surname>Shinjyo</surname><given-names>N.</given-names></name>
<name name-style="western"><surname>Di Marzo</surname><given-names>V.</given-names></name>
</person-group><article-title>The Effect of Cannabichromene on Adult Neural Stem/Progenitor Cells</article-title><source>Neurochem. Int.</source><year>2013</year><volume>63</volume><fpage>432</fpage><lpage>437</lpage><pub-id pub-id-type="doi">10.1016/j.neuint.2013.08.002</pub-id><pub-id pub-id-type="pmid">23941747</pub-id></element-citation></ref><ref id="B7-plants-13-00833"><label>7.</label><element-citation publication-type="journal"><person-group person-group-type="author">
<name name-style="western"><surname>Crispim Massuela</surname><given-names>D.</given-names></name>
<name name-style="western"><surname>Hartung</surname><given-names>J.</given-names></name>
<name name-style="western"><surname>Munz</surname><given-names>S.</given-names></name>
<name name-style="western"><surname>Erpenbach</surname><given-names>F.</given-names></name>
<name name-style="western"><surname>Graeff-Hönninger</surname><given-names>S.</given-names></name>
</person-group><article-title>Impact of Harvest Time and Pruning Technique on Total CBD Concentration and Yield of Medicinal Cannabis</article-title><source>Plants</source><year>2022</year><volume>11</volume><elocation-id>140</elocation-id><pub-id pub-id-type="doi">10.3390/plants11010140</pub-id><pub-id pub-id-type="pmid">35009146</pub-id><pub-id pub-id-type="pmcid">PMC8747189</pub-id></element-citation></ref><ref id="B8-plants-13-00833"><label>8.</label><element-citation publication-type="journal"><person-group person-group-type="author">
<name name-style="western"><surname>Jarén</surname><given-names>C.</given-names></name>
<name name-style="western"><surname>Zambrana</surname><given-names>P.C.</given-names></name>
<name name-style="western"><surname>Pérez-Roncal</surname><given-names>C.</given-names></name>
<name name-style="western"><surname>López-Maestresalas</surname><given-names>A.</given-names></name>
<name name-style="western"><surname>Ábrego</surname><given-names>A.</given-names></name>
<name name-style="western"><surname>Arazuri</surname><given-names>S.</given-names></name>
</person-group><article-title>Potential of NIRS Technology for the Determination of Cannabinoid Content in Industrial Hemp (<italic toggle="yes">Cannabis sativa</italic> L.)</article-title><source>Agronomy</source><year>2022</year><volume>12</volume><elocation-id>938</elocation-id><pub-id pub-id-type="doi">10.3390/agronomy12040938</pub-id></element-citation></ref><ref id="B9-plants-13-00833"><label>9.</label><element-citation publication-type="journal"><person-group person-group-type="author">
<name name-style="western"><surname>Pacifici</surname><given-names>R.</given-names></name>
<name name-style="western"><surname>Marchei</surname><given-names>E.</given-names></name>
<name name-style="western"><surname>Salvatore</surname><given-names>F.</given-names></name>
<name name-style="western"><surname>Guandalini</surname><given-names>L.</given-names></name>
<name name-style="western"><surname>Busardò</surname><given-names>F.P.</given-names></name>
<name name-style="western"><surname>Pichini</surname><given-names>S.</given-names></name>
</person-group><article-title>Evaluation of Long-Term Stability of Cannabinoids in Standardized Preparations of Cannabis Flowering Tops and Cannabis Oil by Ultra-High-Performance Liquid Chromatography Tandem Mass Spectrometry</article-title><source>Clin. Chem. Lab. Med. CCLM</source><year>2018</year><volume>56</volume><fpage>94</fpage><lpage>96</lpage><pub-id pub-id-type="doi">10.1515/cclm-2017-0758</pub-id><pub-id pub-id-type="pmid">29176009</pub-id></element-citation></ref><ref id="B10-plants-13-00833"><label>10.</label><element-citation publication-type="journal"><person-group person-group-type="author">
<name name-style="western"><surname>Su</surname><given-names>K.</given-names></name>
<name name-style="western"><surname>Maghirang</surname><given-names>E.</given-names></name>
<name name-style="western"><surname>Tan</surname><given-names>J.W.</given-names></name>
<name name-style="western"><surname>Yoon</surname><given-names>J.Y.</given-names></name>
<name name-style="western"><surname>Armstrong</surname><given-names>P.</given-names></name>
<name name-style="western"><surname>Kachroo</surname><given-names>P.</given-names></name>
<name name-style="western"><surname>Hildebrand</surname><given-names>D.</given-names></name>
</person-group><article-title>NIR Spectroscopy for Rapid Measurement of Moisture and Cannabinoid Contents of Industrial Hemp (<italic toggle="yes">Cannabis sativa</italic>)</article-title><source>Ind. Crops Prod.</source><year>2022</year><volume>184</volume><fpage>115007</fpage><pub-id pub-id-type="doi">10.1016/j.indcrop.2022.115007</pub-id></element-citation></ref><ref id="B11-plants-13-00833"><label>11.</label><element-citation publication-type="journal"><person-group person-group-type="author">
<name name-style="western"><surname>Borille</surname><given-names>B.T.</given-names></name>
<name name-style="western"><surname>Marcelo</surname><given-names>M.C.A.</given-names></name>
<name name-style="western"><surname>Ortiz</surname><given-names>R.S.</given-names></name>
<name name-style="western"><surname>Mariotti</surname><given-names>K.d.C.</given-names></name>
<name name-style="western"><surname>Ferrão</surname><given-names>M.F.</given-names></name>
<name name-style="western"><surname>Limberger</surname><given-names>R.P.</given-names></name>
</person-group><article-title>Near Infrared Spectroscopy Combined with Chemometrics for Growth Stage Classification of Cannabis Cultivated in a Greenhouse from Seized Seeds</article-title><source>Spectrochim. Acta Part A Mol. Biomol. Spectrosc.</source><year>2017</year><volume>173</volume><fpage>318</fpage><lpage>323</lpage><pub-id pub-id-type="doi">10.1016/j.saa.2016.09.040</pub-id><pub-id pub-id-type="pmid">27673500</pub-id></element-citation></ref><ref id="B12-plants-13-00833"><label>12.</label><element-citation publication-type="journal"><person-group person-group-type="author">
<name name-style="western"><surname>Tran</surname><given-names>J.</given-names></name>
<name name-style="western"><surname>Vassiliadis</surname><given-names>S.</given-names></name>
<name name-style="western"><surname>Elkins</surname><given-names>A.C.</given-names></name>
<name name-style="western"><surname>Cogan</surname><given-names>N.O.I.</given-names></name>
<name name-style="western"><surname>Rochfort</surname><given-names>S.J.</given-names></name>
</person-group><article-title>Developing Prediction Models Using Near-Infrared Spectroscopy to Quantify Cannabinoid Content in <italic toggle="yes">Cannabis sativa</italic></article-title><source>Sensors</source><year>2023</year><volume>23</volume><elocation-id>2607</elocation-id><pub-id pub-id-type="doi">10.3390/s23052607</pub-id><pub-id pub-id-type="pmid">36904818</pub-id><pub-id pub-id-type="pmcid">PMC10007171</pub-id></element-citation></ref><ref id="B13-plants-13-00833"><label>13.</label><element-citation publication-type="journal"><person-group person-group-type="author">
<name name-style="western"><surname>Deidda</surname><given-names>R.</given-names></name>
<name name-style="western"><surname>Coppey</surname><given-names>F.</given-names></name>
<name name-style="western"><surname>Damergi</surname><given-names>D.</given-names></name>
<name name-style="western"><surname>Schelling</surname><given-names>C.</given-names></name>
<name name-style="western"><surname>Coïc</surname><given-names>L.</given-names></name>
<name name-style="western"><surname>Veuthey</surname><given-names>J.-L.</given-names></name>
<name name-style="western"><surname>Sacré</surname><given-names>P.-Y.</given-names></name>
<name name-style="western"><surname>De Bleye</surname><given-names>C.</given-names></name>
<name name-style="western"><surname>Hubert</surname><given-names>P.</given-names></name>
<name name-style="western"><surname>Esseiva</surname><given-names>P.</given-names></name>
<etal/>
</person-group><article-title>New Perspective for the In-Field Analysis of Cannabis Samples Using Handheld near-Infrared Spectroscopy: A Case Study Focusing on the Determination of Δ9-Tetrahydrocannabinol</article-title><source>J. Pharm. Biomed. Anal.</source><year>2021</year><volume>202</volume><elocation-id>114150</elocation-id><pub-id pub-id-type="doi">10.1016/j.jpba.2021.114150</pub-id><pub-id pub-id-type="pmid">34034047</pub-id></element-citation></ref><ref id="B14-plants-13-00833"><label>14.</label><element-citation publication-type="journal"><person-group person-group-type="author">
<name name-style="western"><surname>Birenboim</surname><given-names>M.</given-names></name>
<name name-style="western"><surname>Kengisbuch</surname><given-names>D.</given-names></name>
<name name-style="western"><surname>Chalupowicz</surname><given-names>D.</given-names></name>
<name name-style="western"><surname>Maurer</surname><given-names>D.</given-names></name>
<name name-style="western"><surname>Barel</surname><given-names>S.</given-names></name>
<name name-style="western"><surname>Chen</surname><given-names>Y.</given-names></name>
<name name-style="western"><surname>Fallik</surname><given-names>E.</given-names></name>
<name name-style="western"><surname>Paz-Kagan</surname><given-names>T.</given-names></name>
<name name-style="western"><surname>Shimshoni</surname><given-names>J.A.</given-names></name>
</person-group><article-title>Use of Near-Infrared Spectroscopy for the Classification of Medicinal Cannabis Cultivars and the Prediction of Their Cannabinoid and Terpene Contents</article-title><source>Phytochemistry</source><year>2022</year><volume>204</volume><fpage>113445</fpage><pub-id pub-id-type="doi">10.1016/j.phytochem.2022.113445</pub-id><pub-id pub-id-type="pmid">36165867</pub-id></element-citation></ref><ref id="B15-plants-13-00833"><label>15.</label><element-citation publication-type="journal"><person-group person-group-type="author">
<name name-style="western"><surname>Yang</surname><given-names>J.</given-names></name>
<name name-style="western"><surname>Lou</surname><given-names>X.</given-names></name>
<name name-style="western"><surname>Yang</surname><given-names>H.</given-names></name>
<name name-style="western"><surname>Yang</surname><given-names>H.</given-names></name>
<name name-style="western"><surname>Liu</surname><given-names>C.</given-names></name>
<name name-style="western"><surname>Wu</surname><given-names>J.</given-names></name>
<name name-style="western"><surname>Bin</surname><given-names>J.</given-names></name>
</person-group><article-title>Improved Calibration Transfer between Near-Infrared (NIR) Spectrometers Using Canonical Correlation Analysis</article-title><source>Anal. Lett.</source><year>2019</year><volume>52</volume><fpage>2188</fpage><lpage>2202</lpage><pub-id pub-id-type="doi">10.1080/00032719.2019.1604725</pub-id></element-citation></ref><ref id="B16-plants-13-00833"><label>16.</label><element-citation publication-type="journal"><person-group person-group-type="author">
<name name-style="western"><surname>Gloerfelt-Tarp</surname><given-names>F.</given-names></name>
<name name-style="western"><surname>Hewavitharana</surname><given-names>A.K.</given-names></name>
<name name-style="western"><surname>Mieog</surname><given-names>J.</given-names></name>
<name name-style="western"><surname>Palmer</surname><given-names>W.M.</given-names></name>
<name name-style="western"><surname>Fraser</surname><given-names>F.</given-names></name>
<name name-style="western"><surname>Ansari</surname><given-names>O.</given-names></name>
<name name-style="western"><surname>Kretzschmar</surname><given-names>T.</given-names></name>
</person-group><article-title>Using a Global Diversity Panel of <italic toggle="yes">Cannabis sativa</italic> L. to Develop a near InfraRed-Based Chemometric Application for Cannabinoid Quantification</article-title><source>Sci. Rep.</source><year>2023</year><volume>13</volume><fpage>2253</fpage><pub-id pub-id-type="doi">10.1038/s41598-023-29148-0</pub-id><pub-id pub-id-type="pmid">36755037</pub-id><pub-id pub-id-type="pmcid">PMC9908977</pub-id></element-citation></ref><ref id="B17-plants-13-00833"><label>17.</label><element-citation publication-type="journal"><person-group person-group-type="author">
<name name-style="western"><surname>Chen</surname><given-names>H.</given-names></name>
<name name-style="western"><surname>Song</surname><given-names>Q.</given-names></name>
<name name-style="western"><surname>Tang</surname><given-names>G.</given-names></name>
<name name-style="western"><surname>Feng</surname><given-names>Q.</given-names></name>
<name name-style="western"><surname>Lin</surname><given-names>L.</given-names></name>
</person-group><article-title>The Combined Optimization of Savitzky-Golay Smoothing and Multiplicative Scatter Correction for FT-NIR PLS Models</article-title><source>ISRN Spectrosc.</source><year>2013</year><volume>2013</volume><fpage>642190</fpage><pub-id pub-id-type="doi">10.1155/2013/642190</pub-id></element-citation></ref><ref id="B18-plants-13-00833"><label>18.</label><element-citation publication-type="journal"><person-group person-group-type="author">
<name name-style="western"><surname>Bi</surname><given-names>Y.</given-names></name>
<name name-style="western"><surname>Yuan</surname><given-names>K.</given-names></name>
<name name-style="western"><surname>Xiao</surname><given-names>W.</given-names></name>
<name name-style="western"><surname>Wu</surname><given-names>J.</given-names></name>
<name name-style="western"><surname>Shi</surname><given-names>C.</given-names></name>
<name name-style="western"><surname>Xia</surname><given-names>J.</given-names></name>
<name name-style="western"><surname>Chu</surname><given-names>G.</given-names></name>
<name name-style="western"><surname>Zhang</surname><given-names>G.</given-names></name>
<name name-style="western"><surname>Zhou</surname><given-names>G.</given-names></name>
</person-group><article-title>A Local Pre-Processing Method for near-Infrared Spectra, Combined with Spectral Segmentation and Standard Normal Variate Transformation</article-title><source>Anal. Chim. Acta</source><year>2016</year><volume>909</volume><fpage>30</fpage><lpage>40</lpage><pub-id pub-id-type="doi">10.1016/j.aca.2016.01.010</pub-id><pub-id pub-id-type="pmid">26851082</pub-id></element-citation></ref><ref id="B19-plants-13-00833"><label>19.</label><element-citation publication-type="journal"><person-group person-group-type="author">
<name name-style="western"><surname>Zheng</surname><given-names>K.-Y.</given-names></name>
<name name-style="western"><surname>Zhang</surname><given-names>X.</given-names></name>
<name name-style="western"><surname>Tong</surname><given-names>P.-J.</given-names></name>
<name name-style="western"><surname>Yao</surname><given-names>Y.</given-names></name>
<name name-style="western"><surname>Du</surname><given-names>Y.-P.</given-names></name>
</person-group><article-title>Pretreating near Infrared Spectra with Fractional Order Savitzky–Golay Differentiation (FOSGD)</article-title><source>Chin. Chem. Lett.</source><year>2015</year><volume>26</volume><fpage>293</fpage><lpage>296</lpage><pub-id pub-id-type="doi">10.1016/j.cclet.2014.10.023</pub-id></element-citation></ref><ref id="B20-plants-13-00833"><label>20.</label><element-citation publication-type="journal"><person-group person-group-type="author">
<name name-style="western"><surname>Risoluti</surname><given-names>R.</given-names></name>
<name name-style="western"><surname>Gullifa</surname><given-names>G.</given-names></name>
<name name-style="western"><surname>Battistini</surname><given-names>A.</given-names></name>
<name name-style="western"><surname>Materazzi</surname><given-names>S.</given-names></name>
</person-group><article-title>Development of a “Single-Click” Analytical Platform for the Detection of Cannabinoids in Hemp Seed Oil</article-title><source>RSC Adv.</source><year>2020</year><volume>10</volume><fpage>43394</fpage><lpage>43399</lpage><pub-id pub-id-type="doi">10.1039/D0RA07142K</pub-id><pub-id pub-id-type="pmid">35519692</pub-id><pub-id pub-id-type="pmcid">PMC9058129</pub-id></element-citation></ref><ref id="B21-plants-13-00833"><label>21.</label><element-citation publication-type="journal"><person-group person-group-type="author">
<name name-style="western"><surname>Yao</surname><given-names>S.</given-names></name>
<name name-style="western"><surname>Ball</surname><given-names>C.</given-names></name>
<name name-style="western"><surname>Miyagusuku-Cruzado</surname><given-names>G.</given-names></name>
<name name-style="western"><surname>Giusti</surname><given-names>M.M.</given-names></name>
<name name-style="western"><surname>Aykas</surname><given-names>D.P.</given-names></name>
<name name-style="western"><surname>Rodriguez-Saona</surname><given-names>L.E.</given-names></name>
</person-group><article-title>A Novel Handheld FT-NIR Spectroscopic Approach for Real-Time Screening of Major Cannabinoids Content in Hemp</article-title><source>Talanta</source><year>2022</year><volume>247</volume><fpage>123559</fpage><pub-id pub-id-type="doi">10.1016/j.talanta.2022.123559</pub-id><pub-id pub-id-type="pmid">35636366</pub-id></element-citation></ref><ref id="B22-plants-13-00833"><label>22.</label><element-citation publication-type="journal"><person-group person-group-type="author">
<name name-style="western"><surname>Risoluti</surname><given-names>R.</given-names></name>
<name name-style="western"><surname>Gullifa</surname><given-names>G.</given-names></name>
<name name-style="western"><surname>Battistini</surname><given-names>A.</given-names></name>
<name name-style="western"><surname>Materazzi</surname><given-names>S.</given-names></name>
</person-group><article-title>Monitoring of Cannabinoids in Hemp Flours by MicroNIR/Chemometrics</article-title><source>Talanta</source><year>2020</year><volume>211</volume><fpage>120672</fpage><pub-id pub-id-type="doi">10.1016/j.talanta.2019.120672</pub-id><pub-id pub-id-type="pmid">32070595</pub-id></element-citation></ref><ref id="B23-plants-13-00833"><label>23.</label><element-citation publication-type="journal"><person-group person-group-type="author">
<name name-style="western"><surname>Geskovski</surname><given-names>N.</given-names></name>
<name name-style="western"><surname>Stefkov</surname><given-names>G.</given-names></name>
<name name-style="western"><surname>Gigopulu</surname><given-names>O.</given-names></name>
<name name-style="western"><surname>Stefov</surname><given-names>S.</given-names></name>
<name name-style="western"><surname>Huck</surname><given-names>C.W.</given-names></name>
<name name-style="western"><surname>Makreski</surname><given-names>P.</given-names></name>
</person-group><article-title>Mid-Infrared Spectroscopy as Process Analytical Technology Tool for Estimation of THC and CBD Content in Cannabis Flowers and Extracts</article-title><source>Spectrochim. Acta Part A Mol. Biomol. Spectrosc.</source><year>2021</year><volume>251</volume><elocation-id>119422</elocation-id><pub-id pub-id-type="doi">10.1016/j.saa.2020.119422</pub-id><pub-id pub-id-type="pmid">33477086</pub-id></element-citation></ref><ref id="B24-plants-13-00833"><label>24.</label><element-citation publication-type="book"><person-group person-group-type="author">
<name name-style="western"><surname>Shenk</surname><given-names>J.S.</given-names></name>
<name name-style="western"><surname>Westerhaus</surname><given-names>M.O.</given-names></name>
</person-group><article-title>The Application of near Infrared Reflectance Spectroscopy (NIRS) to Forage Analysis</article-title><source>Forage Quality, Evaluation, and Utilization</source><publisher-name>John Wiley &amp; Sons, Ltd.</publisher-name><publisher-loc>Hoboken, NJ, USA</publisher-loc><year>1994</year><fpage>406</fpage><lpage>449</lpage><isbn>978-0-89118-579-6</isbn></element-citation></ref><ref id="B25-plants-13-00833"><label>25.</label><element-citation publication-type="journal"><person-group person-group-type="author">
<name name-style="western"><surname>Ng</surname><given-names>W.</given-names></name>
<name name-style="western"><surname>Minasny</surname><given-names>B.</given-names></name>
<name name-style="western"><surname>Mendes</surname><given-names>W.d.S.</given-names></name>
<name name-style="western"><surname>Demattê</surname><given-names>J.A.M.</given-names></name>
</person-group><article-title>The Influence of Training Sample Size on the Accuracy of Deep Learning Models for the Prediction of Soil Properties with Near-Infrared Spectroscopy Data</article-title><source>SOIL</source><year>2020</year><volume>6</volume><fpage>565</fpage><lpage>578</lpage><pub-id pub-id-type="doi">10.5194/soil-6-565-2020</pub-id></element-citation></ref><ref id="B26-plants-13-00833"><label>26.</label><element-citation publication-type="journal"><person-group person-group-type="author">
<name name-style="western"><surname>Schoot</surname><given-names>M.</given-names></name>
<name name-style="western"><surname>Kapper</surname><given-names>C.</given-names></name>
<name name-style="western"><surname>van Kollenburg</surname><given-names>G.H.</given-names></name>
<name name-style="western"><surname>Postma</surname><given-names>G.J.</given-names></name>
<name name-style="western"><surname>van Kessel</surname><given-names>G.</given-names></name>
<name name-style="western"><surname>Buydens</surname><given-names>L.M.C.</given-names></name>
<name name-style="western"><surname>Jansen</surname><given-names>J.J.</given-names></name>
</person-group><article-title>Investigating the Need for Preprocessing of Near-Infrared Spectroscopic Data as a Function of Sample Size</article-title><source>Chemom. Intell. Lab. Syst.</source><year>2020</year><volume>204</volume><fpage>104105</fpage><pub-id pub-id-type="doi">10.1016/j.chemolab.2020.104105</pub-id></element-citation></ref><ref id="B27-plants-13-00833"><label>27.</label><element-citation publication-type="journal"><person-group person-group-type="author">
<name name-style="western"><surname>Gonçalves</surname><given-names>T.R.</given-names></name>
<name name-style="western"><surname>Wentzell</surname><given-names>P.D.</given-names></name>
<name name-style="western"><surname>Matsushita</surname><given-names>M.</given-names></name>
<name name-style="western"><surname>Valderrama</surname><given-names>P.</given-names></name>
</person-group><article-title>Exploring the Scores: Procrustes Analysis for Comprehensive Exploration of Multivariate Data</article-title><source>Chemom. Intell. Lab. Syst.</source><year>2023</year><volume>238</volume><fpage>104841</fpage><pub-id pub-id-type="doi">10.1016/j.chemolab.2023.104841</pub-id></element-citation></ref><ref id="B28-plants-13-00833"><label>28.</label><element-citation publication-type="journal"><person-group person-group-type="author">
<name name-style="western"><surname>Reichel</surname><given-names>P.</given-names></name>
<name name-style="western"><surname>Munz</surname><given-names>S.</given-names></name>
<name name-style="western"><surname>Hartung</surname><given-names>J.</given-names></name>
<name name-style="western"><surname>Kotiranta</surname><given-names>S.</given-names></name>
<name name-style="western"><surname>Graeff-Hönninger</surname><given-names>S.</given-names></name>
</person-group><article-title>Impacts of Different Light Spectra on CBD, CBDA and Terpene Concentrations in Relation to the Flower Positions of Different <italic toggle="yes">Cannabis sativa</italic> L. Strains</article-title><source>Plants</source><year>2022</year><volume>11</volume><elocation-id>2695</elocation-id><pub-id pub-id-type="doi">10.3390/plants11202695</pub-id><pub-id pub-id-type="pmid">36297719</pub-id><pub-id pub-id-type="pmcid">PMC9612076</pub-id></element-citation></ref><ref id="B29-plants-13-00833"><label>29.</label><element-citation publication-type="journal"><person-group person-group-type="author">
<name name-style="western"><surname>Sunoj Valiaparambil Sebastian</surname><given-names>J.</given-names></name>
<name name-style="western"><surname>Dong</surname><given-names>X.</given-names></name>
<name name-style="western"><surname>Trostle</surname><given-names>C.</given-names></name>
<name name-style="western"><surname>Pham</surname><given-names>H.</given-names></name>
<name name-style="western"><surname>Joshi</surname><given-names>M.V.</given-names></name>
<name name-style="western"><surname>Jessup</surname><given-names>R.W.</given-names></name>
<name name-style="western"><surname>Burow</surname><given-names>M.D.</given-names></name>
<name name-style="western"><surname>Provin</surname><given-names>T.L.</given-names></name>
</person-group><article-title>Hemp Agronomy: Current Advances, Questions, Challenges, and Opportunities</article-title><source>Agronomy</source><year>2023</year><volume>13</volume><elocation-id>475</elocation-id><pub-id pub-id-type="doi">10.3390/agronomy13020475</pub-id></element-citation></ref><ref id="B30-plants-13-00833"><label>30.</label><element-citation publication-type="journal"><person-group person-group-type="author">
<name name-style="western"><surname>Wold</surname><given-names>S.</given-names></name>
<name name-style="western"><surname>Sjöström</surname><given-names>M.</given-names></name>
<name name-style="western"><surname>Eriksson</surname><given-names>L.</given-names></name>
</person-group><article-title>PLS-Regression: A Basic Tool of Chemometrics</article-title><source>Chemom. Intell. Lab. Syst.</source><year>2001</year><volume>58</volume><fpage>109</fpage><lpage>130</lpage><pub-id pub-id-type="doi">10.1016/S0169-7439(01)00155-1</pub-id></element-citation></ref><ref id="B31-plants-13-00833"><label>31.</label><element-citation publication-type="journal"><person-group person-group-type="author">
<name name-style="western"><surname>Mevik</surname><given-names>B.-H.</given-names></name>
<name name-style="western"><surname>Wehrens</surname><given-names>R.</given-names></name>
</person-group><article-title>The Pls Package: Principal Component and Partial Least Squares Regression in R</article-title><source>J. Stat. Softw.</source><year>2007</year><volume>18</volume><fpage>1</fpage><lpage>23</lpage><pub-id pub-id-type="doi">10.18637/jss.v018.i02</pub-id></element-citation></ref><ref id="B32-plants-13-00833"><label>32.</label><element-citation publication-type="journal"><person-group person-group-type="author">
<name name-style="western"><surname>Materazzi</surname><given-names>S.</given-names></name>
<name name-style="western"><surname>Peluso</surname><given-names>G.</given-names></name>
<name name-style="western"><surname>Ripani</surname><given-names>L.</given-names></name>
<name name-style="western"><surname>Risoluti</surname><given-names>R.</given-names></name>
</person-group><article-title>High-Throughput Prediction of AKB48 in Emerging Illicit Products by NIR Spectroscopy and Chemometrics</article-title><source>Microchem. J.</source><year>2017</year><volume>134</volume><fpage>277</fpage><lpage>283</lpage><pub-id pub-id-type="doi">10.1016/j.microc.2017.06.014</pub-id></element-citation></ref></ref-list></back><floats-group><fig position="float" id="plants-13-00833-f001" orientation="portrait"><label>Figure 1</label><caption><p>Near-infrared spectra of 200 genotype samples within the wavelength range of 950 to 1650 nm. The figure features two subplots, (<bold>a</bold>) raw spectra and (<bold>b</bold>) standard normal variate (SNV) spectra processing. In the raw data plot, each color spectrum represents the spectral signature across the wavelength range per sample. On the other hand, in the SNV plot, the spectra have been processed using standard normal variate transformation, resulting in a distinct representation of the spectral data.</p></caption><graphic xmlns:xlink="http://www.w3.org/1999/xlink" position="float" orientation="portrait" xlink:href="plants-13-00833-g001.jpg"><?image-name plants-13-00833-g001.jpg?><?image-size 192551?><?image-md5 bb889ff2fb505ea5d779ef9a13056470?><?image-image-server-status LOAD_COMPLETED?><?image-original-height 2444?><?image-original-width 3622?><?image-scaled-height 489?><?image-scaled-width 724?><?image-cloudpmc-urn urn:cdn:blobs/69bd/10975745/bb889ff2fb50/plants-13-00833-g001.jpg?><?thumb-name plants-13-00833-g001.gif?><?thumb-size 8801?><?thumb-md5 269ef1b398d108d9a890a0497dbe902c?><?thumb-image-server-status NEVER_LOAD?><?thumb-scaled-height 80?><?thumb-scaled-width 118?><?thumb-cloudpmc-urn urn:cdn:blobs/69bd/10975745/269ef1b398d1/plants-13-00833-g001.gif?></graphic></fig><fig position="float" id="plants-13-00833-f002" orientation="portrait"><label>Figure 2</label><caption><p>Observed versus predicted plot of the total cannabidiol (total CBD) concentration using the partial least-squares regression (PLSR) model. The plot compares the performance of three pre-processing techniques: (<bold>a</bold>) raw data, (<bold>b</bold>) standard normal variate (SNV), and (<bold>c</bold>) Savitzky–Golay (SG) smoothing. Each point represents an individual measurement, with the <italic toggle="yes">x</italic>-axis showing the predicted total CBD concentration and the <italic toggle="yes">y</italic>-axis showing the observed total CBD concentration.</p></caption><graphic xmlns:xlink="http://www.w3.org/1999/xlink" position="float" orientation="portrait" xlink:href="plants-13-00833-g002.jpg"><?image-name plants-13-00833-g002.jpg?><?image-size 110202?><?image-md5 90d0d2b36b64373de73702cb34183dac?><?image-image-server-status LOAD_COMPLETED?><?image-original-height 4139?><?image-original-width 2146?><?image-scaled-height 1379?><?image-scaled-width 715?><?image-cloudpmc-urn urn:cdn:blobs/69bd/10975745/90d0d2b36b64/plants-13-00833-g002.jpg?><?thumb-name plants-13-00833-g002.gif?><?thumb-size 7099?><?thumb-md5 bc1c96368d91f06d13017bd44c9006bc?><?thumb-image-server-status NEVER_LOAD?><?thumb-scaled-height 193?><?thumb-scaled-width 100?><?thumb-cloudpmc-urn urn:cdn:blobs/69bd/10975745/bc1c96368d91/plants-13-00833-g002.gif?></graphic></fig><fig position="float" id="plants-13-00833-f003" orientation="portrait"><label>Figure 3</label><caption><p>Raw near-infrared spectra of the 890 whole inflorescences with wavelength ranges from 950 to 1650 nm in the reflection mode. Each color spectrum represents the spectral signature across the wavelength range per sample.</p></caption><graphic xmlns:xlink="http://www.w3.org/1999/xlink" position="float" orientation="portrait" xlink:href="plants-13-00833-g003.jpg"><?image-name plants-13-00833-g003.jpg?><?image-size 220585?><?image-md5 5eb5b97c0710441ca9d3ad20bd2ac9f7?><?image-image-server-status LOAD_COMPLETED?><?image-original-height 1590?><?image-original-width 3015?><?image-scaled-height 397?><?image-scaled-width 753?><?image-cloudpmc-urn urn:cdn:blobs/69bd/10975745/5eb5b97c0710/plants-13-00833-g003.jpg?><?thumb-name plants-13-00833-g003.gif?><?thumb-size 11190?><?thumb-md5 f5144284ab8b1fb5dce04f64935592ba?><?thumb-image-server-status NEVER_LOAD?><?thumb-scaled-height 80?><?thumb-scaled-width 151?><?thumb-cloudpmc-urn urn:cdn:blobs/69bd/10975745/f5144284ab8b/plants-13-00833-g003.gif?></graphic></fig><table-wrap position="float" id="plants-13-00833-t001" orientation="portrait"><object-id pub-id-type="pii">plants-13-00833-t001_Table 1</object-id><label>Table 1</label><caption><p>Cannabinoid concentration of total cannabidiol (total CBD), total delta-9-tetrahydrocannabinol (total THC), and total cannabigerol (total CBG) with minimum, maximum, mean, and standard deviation (SD).</p></caption><table frame="hsides" rules="groups"><thead><tr><th align="center" valign="middle" style="border-top:solid thin;border-bottom:solid thin" rowspan="1" colspan="1">
</th><th align="center" valign="middle" style="border-top:solid thin;border-bottom:solid thin" rowspan="1" colspan="1">
</th><th colspan="3" align="center" valign="middle" style="border-top:solid thin;border-bottom:solid thin" rowspan="1">Cannabinoid Concentration (%)</th><th align="center" valign="middle" style="border-top:solid thin;border-bottom:solid thin" rowspan="1" colspan="1">
</th></tr><tr><th align="center" valign="middle" style="border-bottom:solid thin" rowspan="1" colspan="1">Cannabinoid</th><th align="center" valign="middle" style="border-bottom:solid thin" rowspan="1" colspan="1">
<italic toggle="yes">n</italic>
</th><th align="center" valign="middle" style="border-bottom:solid thin" rowspan="1" colspan="1">Minimum</th><th align="center" valign="middle" style="border-bottom:solid thin" rowspan="1" colspan="1">Maximum</th><th align="center" valign="middle" style="border-bottom:solid thin" rowspan="1" colspan="1">Mean</th><th align="center" valign="middle" style="border-bottom:solid thin" rowspan="1" colspan="1">SD</th></tr></thead><tbody><tr><td align="center" valign="middle" rowspan="1" colspan="1">Total CBD</td><td align="center" valign="middle" rowspan="1" colspan="1">890</td><td align="center" valign="middle" rowspan="1" colspan="1">0.0</td><td align="center" valign="middle" rowspan="1" colspan="1">22.16</td><td align="center" valign="middle" rowspan="1" colspan="1">7.40</td><td align="center" valign="middle" rowspan="1" colspan="1">5.12</td></tr><tr><td align="center" valign="middle" rowspan="1" colspan="1">Total THC</td><td align="center" valign="middle" rowspan="1" colspan="1">890</td><td align="center" valign="middle" rowspan="1" colspan="1">0.0</td><td align="center" valign="middle" rowspan="1" colspan="1">16.33</td><td align="center" valign="middle" rowspan="1" colspan="1">2.49</td><td align="center" valign="middle" rowspan="1" colspan="1">3.88</td></tr><tr><td align="center" valign="middle" style="border-bottom:solid thin" rowspan="1" colspan="1">Total CBG</td><td align="center" valign="middle" style="border-bottom:solid thin" rowspan="1" colspan="1">890</td><td align="center" valign="middle" style="border-bottom:solid thin" rowspan="1" colspan="1">0.0</td><td align="center" valign="middle" style="border-bottom:solid thin" rowspan="1" colspan="1">13.76</td><td align="center" valign="middle" style="border-bottom:solid thin" rowspan="1" colspan="1">0.66</td><td align="center" valign="middle" style="border-bottom:solid thin" rowspan="1" colspan="1">1.34</td></tr></tbody></table></table-wrap><table-wrap position="float" id="plants-13-00833-t002" orientation="portrait"><object-id pub-id-type="pii">plants-13-00833-t002_Table 2</object-id><label>Table 2</label><caption><p>Cross-validation and prediction parameters of total cannabidiol (total CBD), total delta-9-tetrahydrocannabinol (total THC), and total cannabigerol (total CBG) concentrations through partial least-square regression (PLSR) models of raw observed data (Raw), standard normal variate (SNV), and Savitzky–Golay (SG) smoothing. The parameters include root mean square error of cross-validation (RMSECV), coefficient of determination for cross-validation (R<sup>2</sup>CV), root mean square error of prediction (RMSEP), coefficient of determination for prediction (R<sup>2</sup>P), and ratio of performance to deviation (RPD).</p></caption><table frame="hsides" rules="groups"><thead><tr><th align="center" valign="middle" style="border-top:solid thin;border-bottom:solid thin" rowspan="1" colspan="1">
</th><th colspan="3" align="center" valign="middle" style="border-top:solid thin;border-bottom:solid thin" rowspan="1">Total CBD</th><th colspan="3" align="center" valign="middle" style="border-top:solid thin;border-bottom:solid thin" rowspan="1">Total THC</th><th colspan="3" align="center" valign="middle" style="border-top:solid thin;border-bottom:solid thin" rowspan="1">Total CBG</th></tr><tr><th align="center" valign="middle" style="border-bottom:solid thin" rowspan="1" colspan="1">Evaluation Criteria</th><th align="center" valign="middle" style="border-bottom:solid thin" rowspan="1" colspan="1">Raw</th><th align="center" valign="middle" style="border-bottom:solid thin" rowspan="1" colspan="1">SNV</th><th align="center" valign="middle" style="border-bottom:solid thin" rowspan="1" colspan="1">SG<break/>Smoothing</th><th align="center" valign="middle" style="border-bottom:solid thin" rowspan="1" colspan="1">Raw</th><th align="center" valign="middle" style="border-bottom:solid thin" rowspan="1" colspan="1">SNV</th><th align="center" valign="middle" style="border-bottom:solid thin" rowspan="1" colspan="1">SG<break/>Smoothing</th><th align="center" valign="middle" style="border-bottom:solid thin" rowspan="1" colspan="1">Raw</th><th align="center" valign="middle" style="border-bottom:solid thin" rowspan="1" colspan="1">SNV</th><th align="center" valign="middle" style="border-bottom:solid thin" rowspan="1" colspan="1">SG<break/>Smoothing</th></tr></thead><tbody><tr><td align="center" valign="middle" rowspan="1" colspan="1">RMSECV</td><td align="center" valign="middle" rowspan="1" colspan="1">2.399</td><td align="center" valign="middle" rowspan="1" colspan="1">
<bold>2.282 *</bold>
</td><td align="center" valign="middle" rowspan="1" colspan="1">2.405</td><td align="center" valign="middle" rowspan="1" colspan="1">1.583</td><td align="center" valign="middle" rowspan="1" colspan="1">
<bold>1.524 *</bold>
</td><td align="center" valign="middle" rowspan="1" colspan="1">1.557</td><td align="center" valign="middle" rowspan="1" colspan="1">0.584</td><td align="center" valign="middle" rowspan="1" colspan="1">0.627</td><td align="center" valign="middle" rowspan="1" colspan="1">
<bold>0.577 *</bold>
</td></tr><tr><td align="center" valign="middle" rowspan="1" colspan="1">R<sup>2</sup>CV</td><td align="center" valign="middle" rowspan="1" colspan="1">0.779</td><td align="center" valign="middle" rowspan="1" colspan="1">
<bold>0.800 *</bold>
</td><td align="center" valign="middle" rowspan="1" colspan="1">0.778</td><td align="center" valign="middle" rowspan="1" colspan="1">0.832</td><td align="center" valign="middle" rowspan="1" colspan="1">
<bold>0.844 *</bold>
</td><td align="center" valign="middle" rowspan="1" colspan="1">0.838</td><td align="center" valign="middle" rowspan="1" colspan="1">0.809</td><td align="center" valign="middle" rowspan="1" colspan="1">0.780</td><td align="center" valign="middle" rowspan="1" colspan="1">
<bold>0.813 *</bold>
</td></tr><tr><td align="center" valign="middle" rowspan="1" colspan="1">RMSEP</td><td align="center" valign="middle" rowspan="1" colspan="1">2.379</td><td align="center" valign="middle" rowspan="1" colspan="1">
<bold>2.228 *</bold>
</td><td align="center" valign="middle" rowspan="1" colspan="1">2.346</td><td align="center" valign="middle" rowspan="1" colspan="1">1.651</td><td align="center" valign="middle" rowspan="1" colspan="1">
<bold>1.498 *</bold>
</td><td align="center" valign="middle" rowspan="1" colspan="1">1.621</td><td align="center" valign="middle" rowspan="1" colspan="1">
<bold>0.623 *</bold>
</td><td align="center" valign="middle" rowspan="1" colspan="1">0.687</td><td align="center" valign="middle" rowspan="1" colspan="1">0.627</td></tr><tr><td align="center" valign="middle" rowspan="1" colspan="1">R<sup>2</sup>P</td><td align="center" valign="middle" rowspan="1" colspan="1">0.764</td><td align="center" valign="middle" rowspan="1" colspan="1">
<bold>0.792 *</bold>
</td><td align="center" valign="middle" rowspan="1" colspan="1">0.769</td><td align="center" valign="middle" rowspan="1" colspan="1">0.812</td><td align="center" valign="middle" rowspan="1" colspan="1">
<bold>0.847 *</bold>
</td><td align="center" valign="middle" rowspan="1" colspan="1">0.818</td><td align="center" valign="middle" rowspan="1" colspan="1">
<bold>0.806 *</bold>
</td><td align="center" valign="middle" rowspan="1" colspan="1">0.763</td><td align="center" valign="middle" rowspan="1" colspan="1">0.804</td></tr><tr><td align="center" valign="middle" style="border-bottom:solid thin" rowspan="1" colspan="1">RPD</td><td align="center" valign="middle" style="border-bottom:solid thin" rowspan="1" colspan="1">2.055</td><td align="center" valign="middle" style="border-bottom:solid thin" rowspan="1" colspan="1">
<bold>2.195 *</bold>
</td><td align="center" valign="middle" style="border-bottom:solid thin" rowspan="1" colspan="1">2.084</td><td align="center" valign="middle" style="border-bottom:solid thin" rowspan="1" colspan="1">2.306</td><td align="center" valign="middle" style="border-bottom:solid thin" rowspan="1" colspan="1">
<bold>2.555 *</bold>
</td><td align="center" valign="middle" style="border-bottom:solid thin" rowspan="1" colspan="1">2.345</td><td align="center" valign="middle" style="border-bottom:solid thin" rowspan="1" colspan="1">
<bold>2.267</bold>
</td><td align="center" valign="middle" style="border-bottom:solid thin" rowspan="1" colspan="1">2.057</td><td align="center" valign="middle" style="border-bottom:solid thin" rowspan="1" colspan="1">2.256</td></tr></tbody></table><table-wrap-foot><fn><p>* Bold values indicate the best results.</p></fn></table-wrap-foot></table-wrap></floats-group></article>