<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE article PUBLIC "-//NLM//DTD Journal Publishing DTD v2.3 20070202//EN" "journalpublishing.dtd">
<article xmlns:xlink="http://www.w3.org/1999/xlink" xml:lang="en" article-type="research-article">
<front>
<journal-meta>
<journal-id journal-id-type="nlm-ta">Sensors</journal-id>
<journal-title>Sensors</journal-title>
<issn pub-type="epub">1424-8220</issn>
<publisher>
<publisher-name>Molecular Diversity Preservation International (MDPI)</publisher-name></publisher></journal-meta>
<article-meta>
<article-id pub-id-type="doi">10.3390/s110606109</article-id>
<article-id pub-id-type="publisher-id">sensors-11-06109</article-id>
<article-categories>
<subj-group>
<subject>Article</subject></subj-group></article-categories>
<title-group>
<article-title>Optimization of NIR Spectral Data Management for Quality Control of Grape Bunches during On-Vine Ripening</article-title></title-group>
<contrib-group>
<contrib contrib-type="author">
<name><surname>González-Caballero</surname><given-names>Virginia</given-names></name><xref ref-type="aff" rid="af1-sensors-11-06109"><sup>1</sup></xref></contrib>
<contrib contrib-type="author">
<name><surname>Pérez-Marín</surname><given-names>Dolores</given-names></name><xref ref-type="aff" rid="af2-sensors-11-06109"><sup>2</sup></xref><xref ref-type="corresp" rid="c1-sensors-11-06109"><sup>*</sup></xref></contrib>
<contrib contrib-type="author">
<name><surname>López</surname><given-names>María-Isabel</given-names></name><xref ref-type="aff" rid="af1-sensors-11-06109"><sup>1</sup></xref></contrib>
<contrib contrib-type="author">
<name><surname>Sánchez</surname><given-names>María-Teresa</given-names></name><xref ref-type="aff" rid="af3-sensors-11-06109"><sup>3</sup></xref><xref ref-type="corresp" rid="c1-sensors-11-06109"><sup>*</sup></xref></contrib></contrib-group>
<aff id="af1-sensors-11-06109">
<label>1</label> Centro de Investigación y Formación Agraria de “Cabra-Priego”, Instituto de Investigación y Formación Agraria y Pesquera (IFAPA), Consejería de Agricultura y Pesca, Junta de Andalucía, Cabra, Spain; E-Mails: <email>virginia.gonzalez.ext@juntadeandalucia.es</email> (V.G.-C.); <email>mariai.lopez.infante@juntadeandalucia.es</email> (M.-I.L.)</aff>
<aff id="af2-sensors-11-06109">
<label>2</label> Department of Animal Production, University of Cordoba, Campus Rabanales, 14071 Cordoba, Spain</aff>
<aff id="af3-sensors-11-06109">
<label>3</label> Department of Bromatology and Food Technology, University of Cordoba, Campus Rabanales, 14071 Cordoba, Spain</aff>
<author-notes>
<corresp id="c1-sensors-11-06109">
<label>*</label>Authors to whom correspondence should be addressed; E-Mails: <email>dcperez@uco.es</email> (D.P.-M.); <email>teresa.sanchez@uco.es</email> (M.-T.S.); Tel.: +34-957-21-2576; Fax: +34-957-21-2000.</corresp></author-notes>
<pub-date pub-type="collection">
<year>2011</year></pub-date>
<pub-date pub-type="epub">
<day>7</day>
<month>6</month>
<year>2011</year></pub-date>
<volume>11</volume>
<issue>6</issue>
<fpage>6109</fpage>
<lpage>6124</lpage>
<history>
<date date-type="received">
<day>10</day>
<month>5</month>
<year>2011</year></date>
<date date-type="rev-recd">
<day>30</day>
<month>5</month>
<year>2011</year></date>
<date date-type="accepted">
<day>31</day>
<month>5</month>
<year>2011</year></date></history>
<permissions>
<copyright-statement>© 2011 by the authors; licensee MDPI, Basel, Switzerland.</copyright-statement>
<copyright-year>2011</copyright-year>
<license>
<p>This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution license (http://creativecommons.org/licenses/by/3.0/).</p></license></permissions>
<abstract>
<p>NIR spectroscopy was used as a non-destructive technique for the assessment of chemical changes in the main internal quality properties of wine grapes (<italic>Vitis vinifera</italic> L.) during on-vine ripening and at harvest. A total of 363 samples from 25 white and red grape varieties were used to construct quality-prediction models based on reference data and on NIR spectral data obtained using a commercially-available diode-array spectrophotometer (380–1,700 nm). The feasibility of testing bunches of intact grapes was investigated and compared with the more traditional must-based method. Two regression approaches (MPLS and LOCAL algorithms) were tested for the quantification of changes in soluble solid content (SSC), reducing sugar content, pH-value, titratable acidity, tartaric acid, malic acid and potassium content. Cross-validation results indicated that NIRS technology provided excellent precision for sugar-related parameters (r<sup>2</sup> = 0.94 for SSC and reducing sugar content) and good precision for acidity-related parameters (r<sup>2</sup> ranging between 0.73 and 0.87) for the bunch-analysis mode assayed using MPLS regression. At validation level, comparison of LOCAL and MPLS algorithms showed that the non-linear strategy improved the predictive capacity of the models for all study parameters, with particularly good results for acidity-related parameters and potassium content.</p></abstract>
<kwd-group>
<kwd>NIR spectroscopy</kwd>
<kwd>quality parameters</kwd>
<kwd>on-vine</kwd>
<kwd>bunch analysis</kwd></kwd-group></article-meta></front>
<body>
<sec sec-type="intro">
<label>1.</label>
<title>Introduction</title>
<p>The achievement of high quality standards in modern wine production depends on harvesting grapes at the optimum stage of ripeness [<xref ref-type="bibr" rid="b1-sensors-11-06109">1</xref>]. By determining the right moment for harvesting, winemakers can ensure the best possible wine for any given year or conditions. For this purpose, it is essential to measure a number of grape quality parameters, including soluble solid content, reducing-sugar content, titratable acidity, pH-value, tartaric acid and malic acid contents and sensory attributes [<xref ref-type="bibr" rid="b2-sensors-11-06109">2</xref>].</p>
<p>Flanzy [<xref ref-type="bibr" rid="b3-sensors-11-06109">3</xref>] has noted that grape organic-acid content determines wine acidity, and also governs the stability, color and acceptability of the final product, since a wine with the right amount of acidity lingers longer on the palate. At the same time, accurate grape-quality measurements enable wineries to stream fruit for crushing and blending, thus maximizing the profitability of their production [<xref ref-type="bibr" rid="b4-sensors-11-06109">4</xref>].</p>
<p>Existing analytical methods for the measurement of grape and wine composition do not meet the requirements of modern wine production in a global market, where there is a clear need for fast, accurate, simultaneous and non-destructive measurement of quality parameters both in the raw material and in the finished product [<xref ref-type="bibr" rid="b5-sensors-11-06109">5</xref>–<xref ref-type="bibr" rid="b7-sensors-11-06109">7</xref>].</p>
<p>Conventional laboratory techniques for measuring different quality characteristics in grapes and wines are tedious, time-consuming and technically demanding, and thus constitute a barrier to the widespread uptake and use of quality descriptors by the grape and wine industry [<xref ref-type="bibr" rid="b8-sensors-11-06109">8</xref>].</p>
<p>Because certain variables change in the course of ripening, there is an evident need for non-invasive, objective methods of constantly monitoring the ripening process [<xref ref-type="bibr" rid="b9-sensors-11-06109">9</xref>]. These methods can also be used to separate grapes of different qualities at harvest, thus increasing the economic value of the harvest as a whole through product differentiation [<xref ref-type="bibr" rid="b10-sensors-11-06109">10</xref>].</p>
<p>The potential of NIRS technology as a non-destructive method for the quantitative characterization of grape quality parameters, using either grape berries or must, has been amply demonstrated [<xref ref-type="bibr" rid="b6-sensors-11-06109">6</xref>,<xref ref-type="bibr" rid="b10-sensors-11-06109">10</xref>–<xref ref-type="bibr" rid="b15-sensors-11-06109">15</xref>]. However, all these studies have required a certain amount of data processing prior to analysis. The authors have thus failed to exploit one of the major advantages of NIRS: the fact that it requires no sample preparation, and is therefore very fast.</p>
<p>Although González-Caballero [<xref ref-type="bibr" rid="b7-sensors-11-06109">7</xref>] have addressed the use of NIR spectroscopy models for predicting SSC, reducing sugar content, pH-value, titratable acidity, tartaric acid levels and malic acid content in whole grapes using a spectral range of up to 1,700 nm, the authors stress that the results obtained when analyzing grapes in bunch form should only be considered a first step in the fine-tuning of NIRS technology for on-site control purposes, and that the expectations aroused by NIRS technology for quality control during the ripening process in intact grapes need to be confirmed by increasing the sample set, with a view to improving the specificity, accuracy and robustness of the calibrations obtained.</p>
<p>In practice, however, when new sample groups are included in the calibration set, robustness tends to be increased at the expense of accuracy [<xref ref-type="bibr" rid="b16-sensors-11-06109">16</xref>]. One way of overcoming this problem is to develop specific calibrations for small groups of similar samples within the product domain [<xref ref-type="bibr" rid="b17-sensors-11-06109">17</xref>]. The method used, known as local regression, combines the advantages of global calibrations obtained using a sample set large enough to ensure coverage of extensive product variation with the accuracy provided by specific calibrations [<xref ref-type="bibr" rid="b17-sensors-11-06109">17</xref>].</p>
<p>Dambergs [<xref ref-type="bibr" rid="b12-sensors-11-06109">12</xref>] reported improved accuracy in models to predict grape anthocyanin content and pH when sample subsets were selected on the basis of vintage, grape variety and growing region, due to a reduction of calibration non-linearity; in their view, the LOCAL algorithm appears to provide a practical solution to developing robust models for the prediction of these parameters in grapes. They note, however, that the models constructed using MPLS and LOCAL algorithms performed equally well for measuring total soluble solid content.</p>
<p>The aim of this study was to develop accurate and robust NIRS models for measuring major internal quality parameters in intact wine grapes (soluble solid content, reducing sugar content, pH-value, titratable acidity, tartaric acid, malic acid, and potassium content) during ripening and at harvest, regardless of growing season or variety, with a view to enabling growers to routinely use NIRS technology under field conditions to predict more precisely the timing of their harvest operations, and thus ensure the highest possible grape and wine quality.</p></sec>
<sec sec-type="methods">
<label>2.</label>
<title>Material and Methods</title>
<sec>
<label>2.1.</label>
<title>Grape Sampling During Ripening</title>
<p>The sample set for all the parameters tested, except for potassium content, comprised 363 samples of 25 different white and red wine grape varieties (<italic>Vitis vinifera</italic> L.). Grape bunches sourced from experimental vineyards at the Agricultural Research Training Centre at Cabra, near Cordoba (Spain), were harvested in July, August and September in 2006, 2007 and 2008. Grape samples were collected every seven days throughout the study. On arrival at the laboratory, grapes were promptly placed in refrigerated storage at 0 °C and 95% relative humidity. All samples were allowed to stabilize at room temperature (20 °C) prior to Vis–NIR spectral analysis.</p></sec>
<sec>
<label>2.2.</label>
<title>Spectrum Collection</title>
<p>Spectra were collected using a Zeiss CORONA portable and non-contact diode-array spectrometer (model CORONA 45VIS/NIR, Carl Zeiss, Inc., Thornwood, NY, USA) equipped with the turnstep module (revolving plate) and a 20-cm-diameter Petri dish to hold the samples, working in reflectance mode in the spectral range 380–1,700 nm, every 2 nm. The measurement distance from the source of light to the sample was 13 mm.</p>
<p>Samples were presented to the instrument in two modes. Spectra were first obtained for intact bunches of grapes. Berries were then passed through a hand-operated food mincer (LI 240, Sammic, SL, Azpeitia, Guipúzcoa, Spain) which enabled constant pressure to be maintained during juice extraction with minimal seed and skin shearing. The must was then centrifuged at 4,000 rpm for 10 min (Centronic 7000577, Selecta, Barcelona, Spain) to remove suspended solids, and the supernatant was used for NIR spectroscopy purposes. A folded-transmission gold reflector cup, diameter 3.75 cm, was used with a pathlength of 0.1 mm.</p>
<p>Eight spectra were captured per sample for each sample presentation mode, and the average of the eight was used in calculations. The signal was captured using CORA software version 3.2.2 (Carl Zeiss, Inc., Thornwood, NY, USA), and subsequently pretreated using the Unscrambler version 9.1 program (CAMO, ASA, Oslo, Norway).</p></sec>
<sec sec-type="methods">
<label>2.3.</label>
<title>Reference Data Analysis</title>
<p>For each sample, reference data were obtained for SSC, reducing sugar content, pH-value, titratable acidity, tartaric acid, malic acid and potassium content. SSC (°Brix), reducing sugar content, must pH-value, titratable acidity, and tartaric and malic acid contents were measured as indicated by González-Caballero [<xref ref-type="bibr" rid="b7-sensors-11-06109">7</xref>]. Potassium content was measured using a CORNING 410 flame photometer (Ciba Corning Diagnostics Limited, Halstead, UK) as previously described by the Spanish Ministry of Agriculture, Fisheries and Food [<xref ref-type="bibr" rid="b18-sensors-11-06109">18</xref>]. Results were expressed as milligrams per liter.</p></sec>
<sec>
<label>2.4.</label>
<title>Calibration and Validation Sets</title>
<p>The sample set, except for potassium cation, comprised all the available samples (363 samples; 25 varieties) picked during ripening: 108 samples collected in 2006, 120 samples in 2007, and 135 samples in 2008. After eliminating as outliers (n = 2 samples for 2006; n = 4 samples for 2007; n = 13 samples for 2008) those grapes considered over-ripe and thus displaying high sugar content, the initial sample set was divided in two subsets: 251 samples (73% of the total) were used to construct calibration models (calibration set), and the remaining 93 samples (27%), all picked in 2008, were used for external validation (validation set). It should be stressed that the calibration set contained all available samples from 2006 (106 samples) and 2007 (116 samples), together with 29 samples from 2008. These sets were used to develop and subsequently validate models to predict SSC, reducing sugar content, pH-value, titratable acidity, tartaric acid, and malic acid. The calibration and validation sets used to predict potassium content contained only samples from 2008: 104 (80%) for calibration and 44 (20%) for external validation. In all cases, samples were selected solely on the basis of spectral data, following Shenk and Westerhaus [<xref ref-type="bibr" rid="b19-sensors-11-06109">19</xref>], using the CENTER algorithm included in the WinISI II software package version 1.50 (Infrasoft International, Port Matilda, PA, USA) prior to developing NIRS calibrations, in order to determine the structure and spectral variability of the study population. This algorithm was applied over the samples belonged to 2008 season.</p></sec>
<sec sec-type="methods">
<label>2.5.</label>
<title>Chemometric Data Treatment</title>
<p>The WinISI II software package version 1.50 was used for the chemometric treatment of data [<xref ref-type="bibr" rid="b20-sensors-11-06109">20</xref>]. Prior to model development using the two regression algorithms (MPLS and LOCAL), different pre-processing combinations were evaluated. As spectral treatments, standard normal variate plus detrending [<xref ref-type="bibr" rid="b21-sensors-11-06109">21</xref>] were used to remove multiplicative scatter interferences, and four derivative treatments were tested (1,5,5,1; 2,5,5,1; 1,10,5,1 and 2,10,5,1), where the first number denotes the derivative order, the second denotes the number of nanometers in the segment used to calculate the derivative, and the third and fourth numbers denote the number of data points over which running-average smoothing was conducted [<xref ref-type="bibr" rid="b20-sensors-11-06109">20</xref>,<xref ref-type="bibr" rid="b22-sensors-11-06109">22</xref>].</p>
<p>First, quantitative calibrations were developed using the MPLS algorithm [<xref ref-type="bibr" rid="b23-sensors-11-06109">23</xref>] for predicting internal quality parameters using the bunch as presentation sample; the results were then compared with the calibrations obtained for must. For cross-validation, the calibration set was partitioned into 4 groups; each group was then validated using a calibration developed on the other samples in order to select the optimal number of factors and to avoid overfitting.</p>
<p>The LOCAL algorithm [<xref ref-type="bibr" rid="b17-sensors-11-06109">17</xref>] was then used to predict the same quality parameters but using only the bunch as sample presentation, since this is how the winery industry receives the raw material. The LOCAL algorithm operates by searching and selecting from a library (based on the training set) the samples most spectrally similar to the sample to be predicted. The selected samples are used to develop a specific (local) calibration using a modified PLS regression for the prediction of the unknown sample. Selection is based on the coefficient of correlation between the spectrum of the sample to be predicted and each of the sample spectra belonging to the spectral library; those samples displaying the highest correlation are selected.</p>
<p>Different parameters have to be evaluated in order to optimize the LOCAL algorithm [<xref ref-type="bibr" rid="b24-sensors-11-06109">24</xref>,<xref ref-type="bibr" rid="b25-sensors-11-06109">25</xref>]. In the present study, for each dataset, an optimization design was set up by varying the number of calibration samples (<italic>k</italic>) from 25 to 150 in steps of 25, but including 110, for predicting SSC, reducing sugar content, pH-value, titratable acidity, tartaric acid, malic acid; and from 25 to 75 in steps of 25 for predicting potassium content in bunches; the number of PLS terms (<italic>l</italic>) was varied from 14 to 16 in steps of 1, where the number of predicted values corresponding to the first PLS terms discarded was 4. Finally, the minimum number of samples used for each calibration was set to 15.</p>
<p>For both algorithms, the following spectral regions were tested for calibration purposes: 380–1,650 nm (the highest spectral range with useful information covering the VIS + NIR regions); 780–1,650 nm (the highest spectral range covering the NIR region and including the very near infrared region) and 1,100–1,650 nm (including only the strict near-infrared region). In order to eliminate noise at the end of the spectral range, the region between 1,650–1,700 nm was discarded.</p>
<p>Mahalanobis distance statistics, <italic>H</italic><sub>global</sub> and <italic>H</italic><sub>neighbour</sub>, were computed from the principal components of the selected samples to check the accuracy of predictions [<xref ref-type="bibr" rid="b17-sensors-11-06109">17</xref>,<xref ref-type="bibr" rid="b26-sensors-11-06109">26</xref>]. The effect of the different settings on the performance of MPLS and LOCAL was evaluated by comparing the standard error of prediction (SEP), the coefficient of regression for the external validation (r<sup>2</sup>), the bias, and the standard error of prediction corrected for bias or SEP(c).</p></sec></sec>
<sec sec-type="results|discussion">
<label>3.</label>
<title>Results and Discussion</title>
<sec>
<label>3.1.</label>
<title>Chemical Composition</title>
<p>During ripening, the study parameters covered a relatively wide range, due to the constant changing of sample matrices. Changes in chemical composition are shown in <xref ref-type="table" rid="t1-sensors-11-06109">Table 1</xref>, which also indicates the number of samples in the calibration and validation sets following application of the CENTER algorithm, together with mean, standard deviation (SD), and coefficient of variation (CV) values. Samples were collected over the critical months to check for variations in SSC (10.60–58.60 °Brix), titratable acidity (0.20–20.50 g/L tartaric acid) and tartaric acid (4.90–18.60 g/L tartaric acid) in the berry.</p>
<p>The sample set was highly variable, since it contained data from grapes sampled at different stages of ripening over three years; this accounts to a large extent for the high CV values recorded, particularly for SSC, reducing sugar content, titratable acidity, tartaric acid, malic acid and potassium content (<xref ref-type="table" rid="t1-sensors-11-06109">Table 1</xref>). The results confirm the suitability of this method for selecting the validation set, since calibration and validation set displayed similar values for mean, SD, range and CV for all parameters studied, and the ranges for the validation set lay within the range recorded for the calibration set.</p>
<p>During veraison and until ripening, there is a progressive decline in malic, and to a lesser extent in tartaric acid levels. Flanzy [<xref ref-type="bibr" rid="b3-sensors-11-06109">3</xref>] notes that tartaric acid is mostly formed in growing organs and cannot be metabolized except at temperatures over 35 °C. Since temperatures are highest at the end of ripening, it is at this stage when the lowest tartaric acid levels are recorded. Malic acid is synthesized following the combustion of sugars in chlorophyll-containing tissues. Unlike tartaric acid, it is unstable, and is metabolized during ripening, leading to low levels at harvest.</p>
<p>Potassium is the major mineral cation in grapes and plays a major role in the neutralization of tartaric and malic acid in the berries, thereby affecting the grape’s acid profile [<xref ref-type="bibr" rid="b27-sensors-11-06109">27</xref>,<xref ref-type="bibr" rid="b28-sensors-11-06109">28</xref>]. Potassium directly determines the pH not only of wine but also of must [<xref ref-type="bibr" rid="b29-sensors-11-06109">29</xref>]. It is present in wines mainly as potassium bitartrate, an unstable compound that can precipitate at cool temperatures as a crystalline deposit [<xref ref-type="bibr" rid="b30-sensors-11-06109">30</xref>].</p></sec>
<sec>
<label>3.2.</label>
<title>Calibration Development using MPLS Regression and NIR Spectra</title>
<sec>
<label>3.2.1.</label>
<title>Prediction of Sugar-Related Quality Parameters in Grapes</title>
<p><xref ref-type="table" rid="t2-sensors-11-06109">Table 2</xref> shows the best calibration models obtained using the global set (n = 251) for the prediction of SSC and reducing sugar content according to the spectral range and derivative treatment used, for bunches and musts, using the MPLS algorithm.</p>
<p>The equation displaying the greatest predictive capacity for SSC in bunches was that obtained over the broadest spectral range, <italic>i.e.</italic>, 380–1,650 nm, with statistical values of r<sup>2</sup> = 0.94; SECV = 1.00 °Brix; RPD = 4.12; CV = 5.08%. The predictive capacity of this equation was slightly poorer than that of the equation obtained with grape must (RPD = 4.29; CV = 4.81%). However, both models displayed excellent predictive capacity in term of the criteria outlined by Williams [<xref ref-type="bibr" rid="b31-sensors-11-06109">31</xref>], who suggest than an r<sup>2</sup> value greater than 0.9 and RPD values greater than 3 indicate excellent quantitative information.</p>
<p>For reducing sugar content, the equation displaying the greatest predictive capacity in bunches was obtained over the range 780–1,650 mm, yielding statistical values for r<sup>2</sup>, SECV and RPD slightly higher than those obtained for must samples. The RPD value (3.95) together with the r<sup>2</sup> value (0.94) for bunches demonstrated the robustness and power of the calibration models.</p>
<p>No previously-published studies address the direct measurement of SSC in bunches, and values reported for measurements in berries tend to be lower than those obtained here; Larraín [<xref ref-type="bibr" rid="b13-sensors-11-06109">13</xref>], for example, recorded an RPD value of 3.40. Kemps [<xref ref-type="bibr" rid="b10-sensors-11-06109">10</xref>] reported a RPD value of 5.05 when measuring sugar concentrations in grape berries.</p>
<p>The literature contains only one report evaluating the use of NIRS to measure internal sugar-related quality parameters in grape bunches [<xref ref-type="bibr" rid="b7-sensors-11-06109">7</xref>]. The results obtained for SSC (r<sup>2</sup> = 0.89; SECV = 1.41 °Brix; RPD = 2.92) and reducing sugar content (r<sup>2</sup> = 0.87; SECV = 17.13 g/L; RPD = 2.77) were lower than those recorded here, confirming the need to work with broad-based sample sets which reflect existing variability, with a view to increasing model robustness and precision. Williams [<xref ref-type="bibr" rid="b31-sensors-11-06109">31</xref>] and Pérez-Marín [<xref ref-type="bibr" rid="b32-sensors-11-06109">32</xref>] highlight the importance of both sample set size and sample distribution within the calibration set, noting that sample sets for calibration should ideally ensure uniform distribution of composition across the range of the study parameter in question.</p></sec>
<sec>
<label>3.2.2.</label>
<title>Prediction of Acidity-Related Quality Parameters in Grapes</title>
<p>For pH-value, the best statistics (r<sup>2</sup> = 0.87; SECV = 0.12; RPD = 2.73) for bunch analysis were obtained with the first derivative treatment in the spectral range 380–1,650 nm (<xref ref-type="table" rid="t2-sensors-11-06109">Table 2</xref>). The value obtained for r<sup>2</sup> (0.87) would, according to the guidelines put forward by Williams [<xref ref-type="bibr" rid="b31-sensors-11-06109">31</xref>], provide sufficiently good quantitative information to enable the classification of musts obtained from these grapes, thus allowing musts to be adjusted prior to fermentation. Interestingly, bunch analysis yielded better results than must presentation for pH-value: RPD = 2.73 and CV = 3.60% for bunch mode and RPD = 1.58 and CV = 6.39% for must presentation.</p>
<p>The results obtained using bunch analysis were better than those obtained by González-Caballero [<xref ref-type="bibr" rid="b7-sensors-11-06109">7</xref>] (r<sup>2</sup> = 0.69; SECV = 0.19; RPD = 1.81), by Cozzolino [<xref ref-type="bibr" rid="b33-sensors-11-06109">33</xref>] (RPD = 1.4) and by Larraín [<xref ref-type="bibr" rid="b13-sensors-11-06109">13</xref>] (RPD = 2.2); in both these studies, samples were presented in berry form.</p>
<p>Models constructed to predict other acidity-related parameters in bunches (<xref ref-type="table" rid="t2-sensors-11-06109">Table 2</xref>) may be considered good, as indicated by the values obtained for the determination coefficient (r<sup>2</sup> = 0.83 for titratable acidity; r<sup>2</sup> = 0.78 for tartaric acid; and r<sup>2</sup> = 0.73 for malic acid) [<xref ref-type="bibr" rid="b31-sensors-11-06109">31</xref>]. It should also be stressed that the best equations for titratable acidity (r<sup>2</sup> = 0.83; SECV = 1.07 g/L; RPD = 2.40) and tartaric acid content (r<sup>2</sup> = 0.78; SECV = 1.18 g/L; RPD = 2.11) were obtained using bunch rather than must analysis. Although better results were obtained for malic acid content using must analysis (r<sup>2</sup> = 0.78; SECV = 0.74 g/L; RPD = 2.13), the statistics obtained for bunch analysis indicated a fairly similar predictive capacity (r<sup>2</sup> = 0.73; SECV = 0.81 g/L; RPD = 1.94).</p>
<p>As was the case with sugar-related parameters, and due to an increase in the number and variability of the samples in the calibration set, the models constructed here displayed greater predictive capacity than those obtained by González-Caballero [<xref ref-type="bibr" rid="b7-sensors-11-06109">7</xref>] who, in a study of bunch presentation using a set of 108 samples, reported the following values: titratable acidity RPD = 1.35, CV = 24.63%; tartaric acid content RPD = 1.38, CV = 16.02%; and malic acid content RPD = 1.28, CV = 88.42%.</p></sec>
<sec>
<label>3.2.3.</label>
<title>Prediction of Potassium Content in Grapes</title>
<p>The predictive capacity of the models constructed to predict potassium content both in bunches and in must was relatively poor. For bunch analysis, statistical values (r<sup>2</sup> = 0.44; SECV = 242.26 mg/L) indicated that models were sufficient to distinguish between samples containing high and low levels of potassium [<xref ref-type="bibr" rid="b31-sensors-11-06109">31</xref>]. It should be noted that the calibration set available comprised only samples picked in 2008; it is therefore reasonable to assume that—as was the case with sugar-related and acidity-related parameters—the predictive ability of the models could be improved by increasing the number of samples and the variability of sample sets by using samples picked in successive years.</p>
<p>Potassium is the major mineral cation in grapes. Potassium levels thus influence the grape’s acid profile and thus the final quality of the wine obtained. Simultaneous measurement of potassium levels along with other internal quality parameters is therefore clearly of interest to the wine industry.</p>
<p>There are no previous reports on the use of NIR spectroscopy to measure potassium content in grapes, even though information on crop nutrition is essential for winegrowers, enabling them to adequately establish nutrient requirements and to fine-tune fertilizer rates. Sauvage [<xref ref-type="bibr" rid="b34-sensors-11-06109">34</xref>], however, have measured potassium levels in wine using this method (r<sup>2</sup> = 0.86; SECV = 79.00 mg/L).</p></sec></sec>
<sec>
<label>3.3.</label>
<title>Comparison of Grape Internal Quality Parameters using MPLS versus LOCAL Algorithms</title>
<p>The LOCAL algorithm was also used to predict internal quality parameters in bunches. The best SEPc values obtained with the best mathematical treatments and spectral ranges over 21 runs (7 values for <italic>k</italic> and 3 for <italic>l</italic>) are shown in <xref ref-type="fig" rid="f1-sensors-11-06109">Figure 1</xref>. The lowest values for SEPc were achieved with the lowest values for <italic>k</italic>. For application of the LOCAL strategy, only 25 samples were used to predict malic acid and potassium content; 50 samples were used for SSC and reducing sugar content predictions, and 75 samples were used for pH, titratable acidity and tartaric acid. Samples were selected as being the most representative of the calibration set, rather than using all the 251 samples or the 104 samples in the case of potassium cation employed to construct the calibration model using MPLS regression.</p>
<p>In most cases, the values selected for parameter <italic>l</italic> (number of PLS terms) had little influence on SEPc values; marked differences being observed only for SSC and malic acid. The best results achieved with the LOCAL algorithm were then compared with those obtained using MPLS regression for the prediction of the 93-sample validation set except for the potassium cation (n = 44), using only bunch analysis (<xref ref-type="table" rid="t3-sensors-11-06109">Table 3</xref>).</p>
<p>It needs to point out that the sistematic procedure follows in this work is more favourable for the LOCAL algorithm, since the tuning of LOCAL was done on the validation set, with 21 combinations of parameters, being selected the one with best SEP, while the best MPLS model was chosen taking into account the cross validation statistics and only the best model applied to the validation set. Nevertheless, this systematic has been selected since the differences between the statistics obtained for the MPLS models were no-relevant, and also taking into account that cross-validation statistics, according to Shenk [<xref ref-type="bibr" rid="b23-sensors-11-06109">23</xref>], give a realistic estimate of the error prediction of samples not included in the calibration.</p>
<p>The results obtained using LOCAL were better than those achieved using MPLS regression, in terms of both r<sup>2</sup> and SEPc, for total soluble solid content, reducing sugar content, pH, tartaric acid and potassium content, although the improvement was only slight for reducing sugar and tartaric acid content. For titratable acid and malic acid, application of the LOCAL algorithm improved model precision but also prompted a slight increase in SEPc values.</p>
<p>The improvement in r<sup>2</sup> values achieved using the non-linear strategy ranged between 2% for both tartaric acid and reducing sugar content and 41% for malic acid, while the improvement in SEPc values ranged from 1.5% for tartaric acid to 22% for SSC. Shenk [<xref ref-type="bibr" rid="b35-sensors-11-06109">35</xref>] suggest that application of the LOCAL algorithm can improve the predictive capacity of models by 10–30%.</p>
<p>With regard to spectral range suitability, the best results using the LOCAL strategy were generally obtained in the 780–1,650 nm range, except for malic acid content; by contrast, MPLS yielded the best results for all parameters using a wider spectral range (380–1,650 nm), except for reducing sugar content. The optimal number of PLS terms for the prediction of each parameter using the LOCAL algorithm (<xref ref-type="table" rid="t3-sensors-11-06109">Table 3</xref>) was always equal to or smaller than the optimal number using MPLS.</p></sec></sec>
<sec sec-type="conclusions">
<label>4.</label>
<title>Conclusions</title>
<p>The results obtained here when analyzing grapes in bunch form—a method that requires no previous sample preparation—confirm that NIRS technology is well suited for evaluating internal quality characteristics related to sugar content and acidity, for the non-destructive quantification of chemical changes taking place during on-vine ripening, and for deciding on the optimum time for harvesting. NIR technology additionally enables the classification of bunches in terms of low <italic>versus</italic> and high potassium levels, using a very fast, non-destructive sensor.</p>
<p>The results also highlight the need to develop models using a database sufficiently large to reflect the spectral variability that may be encountered during on-vine ripening. In comparison with MPLS regression, the LOCAL algorithm proved to be a highly effective tool for improving the prediction of internal quality parameters in intact grapes.</p></sec></body>
<back>
<ack>
<p>This research was funded by the Andalusian Regional Government under the Research Excellence Program (Project No. P09-AGR-5129 “MEMS and NIRS-image sensors for the <italic>in situ</italic> non-destructive analysis of food and feed”).</p></ack>
<ref-list>
<title>References</title>
<ref id="b1-sensors-11-06109"><label>1.</label><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Menesatti</surname><given-names>P</given-names></name></person-group><article-title>In-Field Spectrophotometric Measurement to Estimate Maturity Stage of Wine Grapes</article-title><source>Proc. SPIE</source><year>2007</year><volume>6761</volume><fpage>676118</fpage></citation></ref>
<ref id="b2-sensors-11-06109"><label>2.</label><citation citation-type="book"><person-group person-group-type="author"><name><surname>Moreno</surname><given-names>J</given-names></name><name><surname>Peinado</surname><given-names>RA</given-names></name></person-group><source>Química Enológica</source><publisher-name>A. Madrid Vicente and Mundi-Prensa</publisher-name><publisher-loc>Madrid, Spain</publisher-loc><year>2010</year></citation></ref>
<ref id="b3-sensors-11-06109"><label>3.</label><citation citation-type="book"><person-group person-group-type="author"><name><surname>Flanzy</surname><given-names>C</given-names></name></person-group><source>Enología: Fundamentos Científicos y Tecnológicos</source><publisher-name>Mundi-Prensa</publisher-name><publisher-loc>Madrid, Spain</publisher-loc><year>2003</year></citation></ref>
<ref id="b4-sensors-11-06109"><label>4.</label><citation citation-type="book"><person-group person-group-type="author"><name><surname>Sas</surname><given-names>A</given-names></name></person-group><source>The Missing Gap: Measuring and Paying for Grape Quality</source><person-group person-group-type="editor"><name><surname>Blair</surname><given-names>R</given-names></name><name><surname>Williams</surname><given-names>P</given-names></name><name><surname>Pretorius</surname><given-names>S</given-names></name></person-group><publisher-name>The Australian Wine Research Institute</publisher-name><publisher-loc>Adelaide, Australia</publisher-loc><year>2008</year><fpage>52</fpage><lpage>55</lpage></citation></ref>
<ref id="b5-sensors-11-06109"><label>5.</label><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Fernández-Novales</surname><given-names>J</given-names></name><name><surname>López</surname><given-names>MI</given-names></name><name><surname>Sánchez</surname><given-names>MT</given-names></name><name><surname>Morales</surname><given-names>J</given-names></name><name><surname>González-Caballero</surname><given-names>V</given-names></name></person-group><article-title>Shortwave-Near Infrared Spectroscopy for Determination of Reducing Sugar Content during Grape Ripening, Winemaking and Aging of White and Red Wines</article-title><source>Food Res. Int</source><year>2009</year><volume>42</volume><fpage>285</fpage><lpage>291</lpage><pub-id pub-id-type="doi">10.1016/j.foodres.2008.11.008</pub-id></citation></ref>
<ref id="b6-sensors-11-06109"><label>6.</label><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Fernández-Novales</surname><given-names>J</given-names></name><name><surname>López</surname><given-names>MI</given-names></name><name><surname>Sánchez</surname><given-names>MT</given-names></name><name><surname>García-Mesa</surname><given-names>JA</given-names></name><name><surname>González-Caballero</surname><given-names>V</given-names></name></person-group><article-title>Assessment of Quality Parameters in Grapes during Ripening Using a Miniature Fiber-Optic Near-Infrared Spectrometer</article-title><source>Int. J. Food Sci. Nutr</source><year>2009</year><volume>60</volume><fpage>265</fpage><lpage>277</lpage><pub-id pub-id-type="doi">10.1080/09637480903093116</pub-id><pub-id pub-id-type="pmid">19626519</pub-id></citation></ref>
<ref id="b7-sensors-11-06109"><label>7.</label><citation citation-type="journal"><person-group person-group-type="author"><name><surname>González-Caballero</surname><given-names>V</given-names></name><name><surname>Sánchez</surname><given-names>MT</given-names></name><name><surname>López</surname><given-names>MI</given-names></name><name><surname>Pérez-Marín</surname><given-names>D</given-names></name></person-group><article-title>First Steps towards the Development of a Non-Destructive Technique for the Quality Control of Wine Grapes during On-Vine Ripening and on Arrival at the Winery</article-title><source>J Food Eng</source><year>2010</year><pub-id pub-id-type="doi">10.1016/j.jfoodeng.2010.06.016</pub-id></citation></ref>
<ref id="b8-sensors-11-06109"><label>8.</label><citation citation-type="confproc"><person-group person-group-type="author"><name><surname>Gishen</surname><given-names>M</given-names></name><name><surname>Dambergs</surname><given-names>RG</given-names></name><name><surname>Kambouris</surname><given-names>A</given-names></name><name><surname>Kwiatkowski</surname><given-names>M</given-names></name><name><surname>Cynkar</surname><given-names>WU</given-names></name><name><surname>Høj</surname><given-names>PB</given-names></name></person-group><article-title>Application of Near Infrared Spectroscopy for Quality Assessment of Grapes, Wine and Spirits</article-title><conf-name>Proceedings of 9th International Conference on Near Infrared Spectroscopy</conf-name><conf-loc>Verona, Italy</conf-loc><conf-date>13–18 June 1999</conf-date><fpage>917</fpage><lpage>920</lpage></citation></ref>
<ref id="b9-sensors-11-06109"><label>9.</label><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Herrera</surname><given-names>J</given-names></name><name><surname>Guesalaga</surname><given-names>A</given-names></name><name><surname>Agosin</surname><given-names>E</given-names></name></person-group><article-title>Shortwave-Near Infrared Spectroscopy for Non-Destructive Determination of Maturity of Wine Grapes</article-title><source>Meas. Sci. Tech</source><year>2003</year><volume>14</volume><fpage>689</fpage><lpage>697</lpage><pub-id pub-id-type="doi">10.1088/0957-0233/14/5/320</pub-id></citation></ref>
<ref id="b10-sensors-11-06109"><label>10.</label><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Kemps</surname><given-names>B</given-names></name><name><surname>León</surname><given-names>L</given-names></name><name><surname>Best</surname><given-names>S</given-names></name><name><surname>De Baerdemaeker</surname><given-names>J</given-names></name><name><surname>De Ketelaere</surname><given-names>B</given-names></name></person-group><article-title>Assessment of the Quality Parameters in Grapes using VIS/NIR Spectroscopy</article-title><source>Biosyst. Eng</source><year>2010</year><volume>105</volume><fpage>507</fpage><lpage>513</lpage><pub-id pub-id-type="doi">10.1016/j.biosystemseng.2010.02.002</pub-id></citation></ref>
<ref id="b11-sensors-11-06109"><label>11.</label><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Cozzolino</surname><given-names>D</given-names></name><name><surname>Dambergs</surname><given-names>RG</given-names></name><name><surname>Janik</surname><given-names>L</given-names></name><name><surname>Cynkar</surname><given-names>WU</given-names></name><name><surname>Gishen</surname><given-names>M</given-names></name></person-group><article-title>Analysis of Grapes and Wine by Near Infrared Spectroscopy</article-title><source>J. Near Infrared Spectrosc</source><year>2006</year><volume>14</volume><fpage>279</fpage><lpage>289</lpage><pub-id pub-id-type="doi">10.1255/jnirs.679</pub-id></citation></ref>
<ref id="b12-sensors-11-06109"><label>12.</label><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Dambergs</surname><given-names>RG</given-names></name><name><surname>Cozzolino</surname><given-names>D</given-names></name><name><surname>Cynkar</surname><given-names>WU</given-names></name><name><surname>Janik</surname><given-names>L</given-names></name><name><surname>Gishen</surname><given-names>M</given-names></name></person-group><article-title>The Determination of Red Grape Quality Parameters using the LOCAL Algorithm</article-title><source>J. Near Infrared Spectrosc</source><year>2006</year><volume>14</volume><fpage>71</fpage><lpage>79</lpage><pub-id pub-id-type="doi">10.1255/jnirs.593</pub-id></citation></ref>
<ref id="b13-sensors-11-06109"><label>13.</label><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Larraín</surname><given-names>M</given-names></name><name><surname>Guesalaga</surname><given-names>AR</given-names></name><name><surname>Agosin</surname><given-names>E</given-names></name></person-group><article-title>A Multipurpose Portable Instrument for Determining Ripeness in Wine Grapes using NIR Spectroscopy</article-title><source>IEEE T. Instrument. Meas</source><year>2008</year><volume>57</volume><fpage>294</fpage><lpage>302</lpage><pub-id pub-id-type="doi">10.1109/TIM.2007.910098</pub-id></citation></ref>
<ref id="b14-sensors-11-06109"><label>14.</label><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Cao</surname><given-names>F</given-names></name><name><surname>Wu</surname><given-names>D</given-names></name><name><surname>He</surname><given-names>Y</given-names></name></person-group><article-title>Soluble solids Content and pH Prediction and Varieties Discrimination of Grapes Based on Visible–Near Infrared Spectroscopy</article-title><source>Comput. Electron. Agr</source><year>2010</year><volume>71</volume><fpage>S15</fpage><lpage>S18</lpage><pub-id pub-id-type="doi">10.1016/j.compag.2009.05.011</pub-id></citation></ref>
<ref id="b15-sensors-11-06109"><label>15.</label><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Guidetti</surname><given-names>R</given-names></name><name><surname>Beghi</surname><given-names>R</given-names></name><name><surname>Bodria</surname><given-names>L</given-names></name></person-group><article-title>Evaluation of Grape Quality Parameters by a Simple Vis/NIR System</article-title><source>T. ASABE</source><year>2010</year><volume>53</volume><fpage>477</fpage><lpage>484</lpage></citation></ref>
<ref id="b16-sensors-11-06109"><label>16.</label><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Berzaghi</surname><given-names>P</given-names></name><name><surname>Shenk</surname><given-names>JS</given-names></name><name><surname>Westerhaus</surname><given-names>MO</given-names></name></person-group><article-title>LOCAL Prediction with Near Infrared Multi-Product Databases</article-title><source>J. Near Infrared Spectrosc</source><year>2000</year><volume>8</volume><fpage>1</fpage><lpage>9</lpage><pub-id pub-id-type="doi">10.1255/jnirs.258</pub-id></citation></ref>
<ref id="b17-sensors-11-06109"><label>17.</label><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Shenk</surname><given-names>JS</given-names></name><name><surname>Westerhaus</surname><given-names>MO</given-names></name><name><surname>Berzaghi</surname><given-names>P</given-names></name></person-group><article-title>Investigation of a LOCAL Calibration Procedure for Near Infrared Instruments</article-title><source>J. Near Infrared Spectrosc</source><year>1997</year><volume>5</volume><fpage>223</fpage><lpage>232</lpage><pub-id pub-id-type="doi">10.1255/jnirs.115</pub-id></citation></ref>
<ref id="b18-sensors-11-06109"><label>18.</label><citation citation-type="book"><person-group person-group-type="author"><collab>Spanish Ministry of Agriculture, Fisheries and Food</collab></person-group><source>Official Methods of Analysis.Vol.II</source><publisher-name>Secretaría General de Alimentación, Dirección General de Política Alimentaria</publisher-name><publisher-loc>Madrid, Spain</publisher-loc><year>1993</year><fpage>35</fpage><lpage>319</lpage></citation></ref>
<ref id="b19-sensors-11-06109"><label>19.</label><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Shenk</surname><given-names>JS</given-names></name><name><surname>Westerhaus</surname><given-names>MO</given-names></name></person-group><article-title>Population Definition Sample Selection and Calibration Procedures for Near Infrared Spectra and Modified Partial Least Squares Regression</article-title><source>Crop Sci</source><year>1991</year><volume>31</volume><fpage>469</fpage><lpage>474</lpage><pub-id pub-id-type="doi">10.2135/cropsci1991.0011183X003100020049x</pub-id></citation></ref>
<ref id="b20-sensors-11-06109"><label>20.</label><citation citation-type="book"><person-group person-group-type="author"><collab>ISI</collab></person-group><source>The Complete Software Solution Using a Single Screen for Routine Analysis, Robust Calibrations, and Networking</source><comment>Manual, FOSS NIRSystems/TECATOR;</comment><publisher-name>Infrasoft International</publisher-name><publisher-loc>Silver Spring, MD, USA</publisher-loc><year>2000</year></citation></ref>
<ref id="b21-sensors-11-06109"><label>21.</label><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Barnes</surname><given-names>RJ</given-names></name><name><surname>Dhanoa</surname><given-names>MS</given-names></name><name><surname>Lister</surname><given-names>SJ</given-names></name></person-group><article-title>Standard Normal Variate Transformation and De-Trending of Near Infrared Diffuse Reflectance Spectra</article-title><source>Appl. Spectrosc</source><year>1989</year><volume>43</volume><fpage>772</fpage><lpage>777</lpage><pub-id pub-id-type="doi">10.1366/0003702894202201</pub-id></citation></ref>
<ref id="b22-sensors-11-06109"><label>22.</label><citation citation-type="book"><person-group person-group-type="author"><name><surname>Shenk</surname><given-names>JS</given-names></name><name><surname>Westerhaus</surname><given-names>MO</given-names></name></person-group><article-title>Calibration the ISI Way</article-title><source>Near Infrared Spectroscopy: The Future Waves</source><person-group person-group-type="editor"><name><surname>Davies</surname><given-names>AMC</given-names></name><name><surname>Williams</surname><given-names>PC</given-names></name></person-group><publisher-name>NIR Publications</publisher-name><publisher-loc>Chichester, UK</publisher-loc><year>1996</year><fpage>198</fpage><lpage>202</lpage></citation></ref>
<ref id="b23-sensors-11-06109"><label>23.</label><citation citation-type="book"><person-group person-group-type="author"><name><surname>Shenk</surname><given-names>JS</given-names></name><name><surname>Westerhaus</surname><given-names>MO</given-names></name></person-group><source>Analysis of Agricultural and Food Products by Near Infrared Reflectance Spectroscopy</source><publisher-name>NIRSystems, Inc</publisher-name><publisher-loc>Silver Spring, MD, USA</publisher-loc><year>1995</year></citation></ref>
<ref id="b24-sensors-11-06109"><label>24.</label><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Dardenne</surname><given-names>P</given-names></name><name><surname>Sinnaeve</surname><given-names>G</given-names></name><name><surname>Baeten</surname><given-names>V</given-names></name></person-group><article-title>Multivariate Calibration and Chemometrics for Near Infrared Spectroscopy: Which Method?</article-title><source>J. Near Infrared Spectrosc</source><year>2000</year><volume>8</volume><fpage>229</fpage><lpage>237</lpage><pub-id pub-id-type="doi">10.1255/jnirs.283</pub-id></citation></ref>
<ref id="b25-sensors-11-06109"><label>25.</label><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Pérez-Marín</surname><given-names>D</given-names></name><name><surname>Garrido-Varo</surname><given-names>A</given-names></name><name><surname>Guerrero</surname><given-names>JE</given-names></name></person-group><article-title>Non-Linear Methods in NIRS Quantitative Analysis</article-title><source>Talanta</source><year>2007</year><volume>72</volume><fpage>28</fpage><lpage>42</lpage><pub-id pub-id-type="doi">10.1016/j.talanta.2006.10.036</pub-id><pub-id pub-id-type="pmid">19071578</pub-id></citation></ref>
<ref id="b26-sensors-11-06109"><label>26.</label><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Barton</surname><given-names>FE</given-names><suffix>II</suffix></name><name><surname>Shenk</surname><given-names>JS</given-names></name><name><surname>Westerhaus</surname><given-names>MO</given-names></name><name><surname>Funk</surname><given-names>DB</given-names></name></person-group><article-title>The Development of Near Infrared Wheat Quality Models by Locally Weighted Regressions</article-title><source>J. Near Infrared Spectrosc</source><year>2000</year><volume>8</volume><fpage>201</fpage><lpage>208</lpage><pub-id pub-id-type="doi">10.1255/jnirs.280</pub-id></citation></ref>
<ref id="b27-sensors-11-06109"><label>27.</label><citation citation-type="book"><person-group person-group-type="author"><name><surname>Hidalgo</surname><given-names>L</given-names></name></person-group><source>Tratado de Viticultura General</source><publisher-name>Mundi-Prensa Libros, S.A</publisher-name><publisher-loc>Madrid, Spain</publisher-loc><year>2004</year></citation></ref>
<ref id="b28-sensors-11-06109"><label>28.</label><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Da Mota</surname><given-names>RV</given-names></name><name><surname>De Souza</surname><given-names>CR</given-names></name><name><surname>Favero</surname><given-names>AC</given-names></name><name><surname>Silva</surname><given-names>CPCE</given-names></name><name><surname>Do Carmo</surname><given-names>EL</given-names></name><name><surname>Fonseca</surname><given-names>AR</given-names></name><name><surname>Regina</surname><given-names>MD</given-names></name></person-group><article-title>Productivity and Physicochemical Composition of Berries of Grapevine Cultivars Grafted onto Different Rootstocks</article-title><source>Pesqui. Agropecu. Bras</source><year>2009</year><volume>44</volume><fpage>576</fpage><lpage>582</lpage></citation></ref>
<ref id="b29-sensors-11-06109"><label>29.</label><citation citation-type="journal"><person-group person-group-type="author"><name><surname>González</surname><given-names>LA</given-names></name><name><surname>Armas</surname><given-names>PA</given-names></name><name><surname>González</surname><given-names>JE</given-names></name><name><surname>García</surname><given-names>MJ</given-names></name><name><surname>Vidarte</surname><given-names>E</given-names></name><name><surname>Pomar</surname><given-names>M</given-names></name></person-group><article-title>Estudio de los cationes sodio, potasio, hierro y cobre, durante la maduración de las cepas Listán negro, Listán blanco y Nnegramoll. D.O.Tacoronte-Acentejo</article-title><source>Jornadas Técnicas Vitivinícolas Canarias</source><year>1997</year><volume>1997</volume><fpage>21</fpage><lpage>26</lpage></citation></ref>
<ref id="b30-sensors-11-06109"><label>30.</label><citation citation-type="book"><person-group person-group-type="author"><name><surname>Rankine</surname><given-names>B</given-names></name></person-group><source>Making Good Wine A Manual of Winemaking Practice for Australia and New Zealand</source><publisher-name>Pan Macmillan</publisher-name><publisher-loc>London, UK</publisher-loc><year>2004</year></citation></ref>
<ref id="b31-sensors-11-06109"><label>31.</label><citation citation-type="book"><person-group person-group-type="author"><name><surname>Williams</surname><given-names>PC</given-names></name></person-group><article-title>Implementation of Near-Infrared Technology</article-title><source>Near-Infrared Technology in the Agricultural and Food Industries</source><person-group person-group-type="editor"><name><surname>Williams</surname><given-names>PC</given-names></name><name><surname>Norris</surname><given-names>KH</given-names></name></person-group><publisher-name>AACC, Inc</publisher-name><publisher-loc>St Paul, MN, USA</publisher-loc><year>2001</year><fpage>145</fpage><lpage>169</lpage></citation></ref>
<ref id="b32-sensors-11-06109"><label>32.</label><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Pérez-Marín</surname><given-names>D</given-names></name><name><surname>Garrido-Varo</surname><given-names>A</given-names></name><name><surname>Guerrero</surname><given-names>JE</given-names></name></person-group><article-title>Implementation of LOCAL Algorithm with Near-Infrared Spectroscopy for Compliance Assurance in Compound Feedingstuffs</article-title><source>Appl. Spectrosc</source><year>2005</year><volume>59</volume><fpage>69</fpage><lpage>77</lpage><pub-id pub-id-type="doi">10.1366/0003702052940585</pub-id><pub-id pub-id-type="pmid">15720740</pub-id></citation></ref>
<ref id="b33-sensors-11-06109"><label>33.</label><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Cozzolino</surname><given-names>D</given-names></name><name><surname>Esler</surname><given-names>MB</given-names></name><name><surname>Dambergs</surname><given-names>RG</given-names></name><name><surname>Cynkar</surname><given-names>WU</given-names></name><name><surname>Boehm</surname><given-names>DR</given-names></name><name><surname>Francis</surname><given-names>IL</given-names></name><name><surname>Gishen</surname><given-names>M</given-names></name></person-group><article-title>Prediction of Color and pH in Grapes using a Diode Array Spectrophotometer (400–1,100 nm)</article-title><source>J. Near Infrared Spectrosc</source><year>2004</year><volume>12</volume><fpage>105</fpage><lpage>111</lpage><pub-id pub-id-type="doi">10.1255/jnirs.414</pub-id></citation></ref>
<ref id="b34-sensors-11-06109"><label>34.</label><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Sauvage</surname><given-names>L</given-names></name><name><surname>Frank</surname><given-names>D</given-names></name><name><surname>Stearne</surname><given-names>J</given-names></name><name><surname>Millikan</surname><given-names>MB</given-names></name></person-group><article-title>Trace Metal Studies of Selected White Wines: An Alternative Approach</article-title><source>Anal. Chim. Acta</source><year>2002</year><volume>458</volume><fpage>223</fpage><lpage>230</lpage><pub-id pub-id-type="doi">10.1016/S0003-2670(01)01607-5</pub-id></citation></ref>
<ref id="b35-sensors-11-06109"><label>35.</label><citation citation-type="book"><person-group person-group-type="author"><name><surname>Shenk</surname><given-names>JS</given-names></name><name><surname>Workman</surname><given-names>JJ</given-names><suffix>Jr</suffix></name><name><surname>Westerhaus</surname><given-names>MO</given-names></name></person-group><article-title>Application of NIR Spectroscopy to Agricultural Products</article-title><source>Handbook of Near Infrared Analysis, Second Edition</source><comment>Practical Spectroscopy Series;</comment><person-group person-group-type="editor"><name><surname>Burns</surname><given-names>DA</given-names></name><name><surname>Ciurczak</surname><given-names>EW</given-names></name></person-group><publisher-name>Marcel Dekker</publisher-name><publisher-loc>Monticello, NY, USA</publisher-loc><year>2001</year><volume>27</volume><fpage>419</fpage><lpage>473</lpage></citation></ref></ref-list>
<sec sec-type="display-objects">
<title>Figure and Tables</title>
<fig id="f1-sensors-11-06109" position="float">
<label>Figure 1.</label>
<caption>
<p>Best SEP<sub>c</sub> values for the prediction of quality parameters in intact grapes using the LOCAL algorithm for the different selected samples values (<italic>k</italic>), PLS factors (<italic>l</italic>), the best mathematic treatments developed and spectral ranges. (
<inline-graphic xlink:href="sensors-11-06109i1.gif"/>) 14 PLS factors; (
<inline-graphic xlink:href="sensors-11-06109i2.gif"/>) 15 PLS factors, (
<inline-graphic xlink:href="sensors-11-06109i3.gif"/>) 16 PLS factors).</p></caption>
<graphic xlink:href="sensors-11-06109f1a.gif"/>
<graphic xlink:href="sensors-11-06109f1b.gif"/>
<graphic xlink:href="sensors-11-06109f1c.gif"/></fig>
<table-wrap id="t1-sensors-11-06109" position="float">
<label>Table 1.</label>
<caption>
<p>Statistical analysis of calibration and validation sets: data range, mean and standard deviation (SD) and coefficient of variation (CV).</p></caption>
<table frame="hsides" rules="groups">
<thead>
<tr>
<th align="center" valign="middle"><bold>Parameter</bold></th>
<th align="center" valign="middle"><bold>Item</bold></th>
<th align="center" valign="middle"><bold>Calibration Set (n = 251 Except Potassium, n = 104)</bold></th>
<th align="center" valign="middle"><bold>Validation Set (n = 93, Except Potassium, n = 44)</bold></th></tr></thead>
<tbody>
<tr>
<td align="center" valign="top" rowspan="4">Soluble solid content (°Brix)</td>
<td align="center" valign="top">Range</td>
<td align="center" valign="top">10.60–58.60</td>
<td align="center" valign="top">11.80–27.50</td></tr>
<tr>
<td align="center" valign="top">Mean</td>
<td align="center" valign="top">20.49</td>
<td align="center" valign="top">19.88</td></tr>
<tr>
<td align="center" valign="top">SD</td>
<td align="center" valign="top">5.84</td>
<td align="center" valign="top">3.77</td></tr>
<tr>
<td align="center" valign="top">CV (%)</td>
<td align="center" valign="top">28.51</td>
<td align="center" valign="top">18.96</td></tr>
<tr>
<td align="center" valign="top" rowspan="4">Reducing sugar content (g/L)</td>
<td align="center" valign="top">Range</td>
<td align="center" valign="top">81.50–586.40</td>
<td align="center" valign="top">114.30–287.00</td></tr>
<tr>
<td align="center" valign="top">Mean</td>
<td align="center" valign="top">198.39</td>
<td align="center" valign="top">203.88</td></tr>
<tr>
<td align="center" valign="top">SD</td>
<td align="center" valign="top">64.95</td>
<td align="center" valign="top">41.58</td></tr>
<tr>
<td align="center" valign="top">CV (%)</td>
<td align="center" valign="top">32.74</td>
<td align="center" valign="top">20.40</td></tr>
<tr>
<td align="center" valign="top" rowspan="4">pH-value</td>
<td align="center" valign="top">Range</td>
<td align="center" valign="top">2.48–4.60</td>
<td align="center" valign="top">2.60–3.80</td></tr>
<tr>
<td align="center" valign="top">Mean</td>
<td align="center" valign="top">3.35</td>
<td align="center" valign="top">3.33</td></tr>
<tr>
<td align="center" valign="top">SD</td>
<td align="center" valign="top">0.34</td>
<td align="center" valign="top">0.25</td></tr>
<tr>
<td align="center" valign="top">CV (%)</td>
<td align="center" valign="top">10.19</td>
<td align="center" valign="top">7.60</td></tr>
<tr>
<td align="center" valign="top" rowspan="4">Titratable acidity (g/L tartaric acid)</td>
<td align="center" valign="top">Range</td>
<td align="center" valign="top">0.20–20.50</td>
<td align="center" valign="top">3.40–19.10</td></tr>
<tr>
<td align="center" valign="top">Mean</td>
<td align="center" valign="top">6.72</td>
<td align="center" valign="top">6.42</td></tr>
<tr>
<td align="center" valign="top">SD</td>
<td align="center" valign="top">3.52</td>
<td align="center" valign="top">3.07</td></tr>
<tr>
<td align="center" valign="top">CV (%)</td>
<td align="center" valign="top">52.29</td>
<td align="center" valign="top">47.79</td></tr>
<tr>
<td align="center" valign="top" rowspan="4">Tartaric acid (g/L tartaric acid)</td>
<td align="center" valign="top">Range</td>
<td align="center" valign="top">4.90–18.60</td>
<td align="center" valign="top">7.30–15.70</td></tr>
<tr>
<td align="center" valign="top">Mean</td>
<td align="center" valign="top">9.48</td>
<td align="center" valign="top">9.74</td></tr>
<tr>
<td align="center" valign="top">SD</td>
<td align="center" valign="top">2.80</td>
<td align="center" valign="top">1.96</td></tr>
<tr>
<td align="center" valign="top">CV (%)</td>
<td align="center" valign="top">29.53</td>
<td align="center" valign="top">20.14</td></tr>
<tr>
<td align="center" valign="top" rowspan="4">Malic acid (g/L malic acid)</td>
<td align="center" valign="top">Range</td>
<td align="center" valign="top">0.10–14.50</td>
<td align="center" valign="top">0.30–13.10</td></tr>
<tr>
<td align="center" valign="top">Mean</td>
<td align="center" valign="top">2.33</td>
<td align="center" valign="top">2.74</td></tr>
<tr>
<td align="center" valign="top">SD</td>
<td align="center" valign="top">2.32</td>
<td align="center" valign="top">2.51</td></tr>
<tr>
<td align="center" valign="top">CV (%)</td>
<td align="center" valign="top">99.71</td>
<td align="center" valign="top">91.85</td></tr>
<tr>
<td align="center" valign="top" rowspan="4">K (mg/L)</td>
<td align="center" valign="top">Range</td>
<td align="center" valign="top">841.00–2,737.00</td>
<td align="center" valign="top">938.00–2,522.00</td></tr>
<tr>
<td align="center" valign="top">Mean</td>
<td align="center" valign="top">1,692.28</td>
<td align="center" valign="top">1,675.99</td></tr>
<tr>
<td align="center" valign="top">SD</td>
<td align="center" valign="top">401.12</td>
<td align="center" valign="top">340.02</td></tr>
<tr>
<td align="center" valign="top">CV (%)</td>
<td align="center" valign="top">23.70</td>
<td align="center" valign="top">20.29</td></tr></tbody></table></table-wrap>
<table-wrap id="t2-sensors-11-06109" position="float">
<label>Table 2.</label>
<caption>
<p>Calibration statistics for the models obtained for predicting soluble solid content (SSC), reducing sugar content, pH-value, titratable acidity, tartaric acid, malic acid and potassium content for the different sample presentations and spectral ranges studied (calibration set, n = 251 samples except for potassium cation, n = 104) using MPLS regression.</p></caption>
<table frame="hsides" rules="groups">
<thead>
<tr>
<th align="left" valign="middle"><bold>Parameter</bold></th>
<th align="center" valign="middle"><bold>Sample Presentation</bold></th>
<th align="center" valign="middle"><bold>Spectral Range (nm)</bold></th>
<th align="center" valign="middle"><bold>Mathematic Treatment</bold></th>
<th align="center" valign="middle"><bold>Mean<xref ref-type="table-fn" rid="tfn1-sensors-11-06109"><sup>1</sup></xref></bold></th>
<th align="center" valign="middle"><bold>SD<xref ref-type="table-fn" rid="tfn2-sensors-11-06109"><sup>2</sup></xref></bold></th>
<th align="center" valign="middle"><bold>SEC<xref ref-type="table-fn" rid="tfn3-sensors-11-06109"><sup>3</sup></xref></bold></th>
<th align="center" valign="middle"><bold>R<sup>2</sup> <xref ref-type="table-fn" rid="tfn4-sensors-11-06109"><sup>4</sup></xref></bold></th>
<th align="center" valign="middle"><bold>SECV<xref ref-type="table-fn" rid="tfn5-sensors-11-06109"><sup>5</sup></xref></bold></th>
<th align="center" valign="middle"><bold>r<sup>2</sup> <xref ref-type="table-fn" rid="tfn6-sensors-11-06109"><sup>6</sup></xref></bold></th>
<th align="center" valign="middle"><bold>RPD<xref ref-type="table-fn" rid="tfn7-sensors-11-06109"><sup>7</sup></xref></bold></th>
<th align="center" valign="middle"><bold>CV(%)<xref ref-type="table-fn" rid="tfn8-sensors-11-06109"><sup>8</sup></xref></bold></th></tr></thead>
<tbody>
<tr>
<td align="center" valign="middle" rowspan="2">SSC (°Brix)</td>
<td align="center" valign="top">Bunch</td>
<td align="center" valign="top">380–1,650</td>
<td align="center" valign="top">2,5,5,1</td>
<td align="center" valign="top">19.71</td>
<td align="center" valign="top">4.13</td>
<td align="center" valign="top">0.74</td>
<td align="center" valign="top">0.97</td>
<td align="center" valign="top">1.00</td>
<td align="center" valign="top">0.94</td>
<td align="center" valign="top">4.12</td>
<td align="center" valign="top">5.08</td></tr>
<tr>
<td align="center" valign="top">Must</td>
<td align="center" valign="top">780–1,650</td>
<td align="center" valign="top">1,10,5,1</td>
<td align="center" valign="top">19.92</td>
<td align="center" valign="top">4.11</td>
<td align="center" valign="top">0.86</td>
<td align="center" valign="top">0.96</td>
<td align="center" valign="top">0.96</td>
<td align="center" valign="top">0.95</td>
<td align="center" valign="top">4.29</td>
<td align="center" valign="top">4.81<xref ref-type="table-fn" rid="tfn9-sensors-11-06109">*</xref></td></tr>
<tr>
<td align="center" valign="middle" rowspan="2">Reducing sugar content (g/L)</td>
<td align="center" valign="top">Bunch</td>
<td align="center" valign="top">780–1,650</td>
<td align="center" valign="top">2,5,5,1</td>
<td align="center" valign="top">191.72</td>
<td align="center" valign="top">53.80</td>
<td align="center" valign="top">10.76</td>
<td align="center" valign="top">0.96</td>
<td align="center" valign="top">13.63</td>
<td align="center" valign="top">0.94</td>
<td align="center" valign="top">3.95</td>
<td align="center" valign="top">7.11<xref ref-type="table-fn" rid="tfn9-sensors-11-06109">*</xref></td></tr>
<tr>
<td align="center" valign="top">Must</td>
<td align="center" valign="top">380–1,650</td>
<td align="center" valign="top">2,5,5,1</td>
<td align="center" valign="top">195.48</td>
<td align="center" valign="top">51.14</td>
<td align="center" valign="top">12.00</td>
<td align="center" valign="top">0.94</td>
<td align="center" valign="top">15.36</td>
<td align="center" valign="top">0.91</td>
<td align="center" valign="top">3.33</td>
<td align="center" valign="top">7.86</td></tr>
<tr>
<td align="center" valign="middle" rowspan="2">pH-value</td>
<td align="center" valign="top">Bunch</td>
<td align="center" valign="top">380–1,650</td>
<td align="center" valign="top">1,10,5,1</td>
<td align="center" valign="top">3.34</td>
<td align="center" valign="top">0.33</td>
<td align="center" valign="top">0.10</td>
<td align="center" valign="top">0.91</td>
<td align="center" valign="top">0.12</td>
<td align="center" valign="top">0.87</td>
<td align="center" valign="top">2.73</td>
<td align="center" valign="top">3.60<xref ref-type="table-fn" rid="tfn9-sensors-11-06109">*</xref></td></tr>
<tr>
<td align="center" valign="top">Must</td>
<td align="center" valign="top">380–1,650</td>
<td align="center" valign="top">1,5,5,1</td>
<td align="center" valign="top">3.36</td>
<td align="center" valign="top">0.34</td>
<td align="center" valign="top">0.20</td>
<td align="center" valign="top">0.65</td>
<td align="center" valign="top">0.21</td>
<td align="center" valign="top">0.60</td>
<td align="center" valign="top">1.58</td>
<td align="center" valign="top">6.39</td></tr>
<tr>
<td align="center" valign="middle" rowspan="2">Titratable acidity (g/L tartaric acid)</td>
<td align="center" valign="top">Bunch</td>
<td align="center" valign="top">380–1,650</td>
<td align="center" valign="top">1,10,5,1</td>
<td align="center" valign="top">6.11</td>
<td align="center" valign="top">2.57</td>
<td align="center" valign="top">0.96</td>
<td align="center" valign="top">0.86</td>
<td align="center" valign="top">1.07</td>
<td align="center" valign="top">0.83</td>
<td align="center" valign="top">2.40</td>
<td align="center" valign="top">17.49<xref ref-type="table-fn" rid="tfn9-sensors-11-06109">*</xref></td></tr>
<tr>
<td align="center" valign="top">Must</td>
<td align="center" valign="top">380–1,650</td>
<td align="center" valign="top">1,5,5,1</td>
<td align="center" valign="top">5.94</td>
<td align="center" valign="top">2.48</td>
<td align="center" valign="top">0.82</td>
<td align="center" valign="top">0.89</td>
<td align="center" valign="top">1.11</td>
<td align="center" valign="top">0.80</td>
<td align="center" valign="top">2.24</td>
<td align="center" valign="top">18.62</td></tr>
<tr>
<td align="center" valign="middle" rowspan="2">Tartaric acid (g/L tartaric acid)</td>
<td align="center" valign="top">Bunch</td>
<td align="center" valign="top">380–1,650</td>
<td align="center" valign="top">1,10,5,1</td>
<td align="center" valign="top">9.20</td>
<td align="center" valign="top">2.49</td>
<td align="center" valign="top">1.08</td>
<td align="center" valign="top">0.81</td>
<td align="center" valign="top">1.18</td>
<td align="center" valign="top">0.78</td>
<td align="center" valign="top">2.11</td>
<td align="center" valign="top">12.78<xref ref-type="table-fn" rid="tfn9-sensors-11-06109">*</xref></td></tr>
<tr>
<td align="center" valign="top">Must</td>
<td align="center" valign="top">380–1,650</td>
<td align="center" valign="top">1,5,5,1</td>
<td align="center" valign="top">8.90</td>
<td align="center" valign="top">2.36</td>
<td align="center" valign="top">1.21</td>
<td align="center" valign="top">0.74</td>
<td align="center" valign="top">1.28</td>
<td align="center" valign="top">0.71</td>
<td align="center" valign="top">1.85</td>
<td align="center" valign="top">14.35</td></tr>
<tr>
<td align="center" valign="middle" rowspan="2">Malic acid (g/L malic acid)</td>
<td align="center" valign="top">Bunch</td>
<td align="center" valign="top">380–1,650</td>
<td align="center" valign="top">2,5,5,1</td>
<td align="center" valign="top">1.86</td>
<td align="center" valign="top">1.57</td>
<td align="center" valign="top">0.68</td>
<td align="center" valign="top">0.82</td>
<td align="center" valign="top">0.81</td>
<td align="center" valign="top">0.73</td>
<td align="center" valign="top">1.94</td>
<td align="center" valign="top">43.48</td></tr>
<tr>
<td align="center" valign="top">Must</td>
<td align="center" valign="top">380–1,650</td>
<td align="center" valign="top">2,10,5,1</td>
<td align="center" valign="top">1.85</td>
<td align="center" valign="top">1.57</td>
<td align="center" valign="top">0.56</td>
<td align="center" valign="top">0.87</td>
<td align="center" valign="top">0.74</td>
<td align="center" valign="top">0.78</td>
<td align="center" valign="top">2.13</td>
<td align="center" valign="top">39.69<xref ref-type="table-fn" rid="tfn9-sensors-11-06109">*</xref></td></tr>
<tr>
<td align="center" valign="middle" rowspan="2">K (mg/L)</td>
<td align="center" valign="top">Bunch</td>
<td align="center" valign="top">380–1,650</td>
<td align="center" valign="top">1,5,5,1</td>
<td align="center" valign="top">1,634.35</td>
<td align="center" valign="top">324.74</td>
<td align="center" valign="top">193.06</td>
<td align="center" valign="top">0.65</td>
<td align="center" valign="top">242.26</td>
<td align="center" valign="top">0.44</td>
<td align="center" valign="top">1.34</td>
<td align="center" valign="top">14.82<xref ref-type="table-fn" rid="tfn9-sensors-11-06109">*</xref></td></tr>
<tr>
<td align="center" valign="top">Must</td>
<td align="center" valign="top">380–1,650</td>
<td align="center" valign="top">1,5,5,1</td>
<td align="center" valign="top">1,676.75</td>
<td align="center" valign="top">319.49</td>
<td align="center" valign="top">242.97</td>
<td align="center" valign="top">0.42</td>
<td align="center" valign="top">258.94</td>
<td align="center" valign="top">0.35</td>
<td align="center" valign="top">1.23</td>
<td align="center" valign="top">15.44</td></tr></tbody></table>
<table-wrap-foot><fn id="tfn1-sensors-11-06109">
<label>1</label>
<p>mean of the calibration set;</p></fn><fn id="tfn2-sensors-11-06109">
<label>2</label>
<p>standard deviation;</p></fn><fn id="tfn3-sensors-11-06109">
<label>3</label>
<p>standard error of calibration;</p></fn><fn id="tfn4-sensors-11-06109">
<label>4</label>
<p>coefficient of determination of calibration;</p></fn><fn id="tfn5-sensors-11-06109">
<label>5</label>
<p>standard error of cross validation;</p></fn><fn id="tfn6-sensors-11-06109">
<label>6</label>
<p>r<sup>2</sup>: coefficient of determination of cross validation;</p></fn><fn id="tfn7-sensors-11-06109">
<label>7</label>
<p>ratio SD/SECV;</p></fn><fn id="tfn8-sensors-11-06109">
<label>8</label>
<p>coefficient of variation;</p></fn><fn id="tfn9-sensors-11-06109">
<label>*</label>
<p>best equation.</p></fn></table-wrap-foot></table-wrap>
<table-wrap id="t3-sensors-11-06109" position="float">
<label>Table 3.</label>
<caption>
<p>Validation statistics for the best models for predicting soluble solid content (SSC), reducing sugar content, pH-value, titratable acidity, tartaric acid, malic acid and potassium content using MPLS and LOCAL algorithms.</p></caption>
<table frame="hsides" rules="groups">
<thead>
<tr>
<th align="center" valign="middle"><bold>Parameter</bold></th>
<th align="center" valign="middle"><bold>Method</bold></th>
<th align="center" valign="middle"><bold>Mathematic Treatment</bold></th>
<th align="center" valign="middle"><bold>Spectral Region</bold></th>
<th align="center" valign="middle"><bold>Factors</bold></th>
<th align="center" valign="middle"><bold>SEP<xref ref-type="table-fn" rid="tfn10-sensors-11-06109"><sup>1</sup></xref></bold></th>
<th align="center" valign="middle"><bold>SEPc<xref ref-type="table-fn" rid="tfn11-sensors-11-06109"><sup>2</sup></xref></bold></th>
<th align="center" valign="middle"><bold>Bias</bold></th>
<th align="center" valign="middle"><bold>r<sup>2</sup> <xref ref-type="table-fn" rid="tfn12-sensors-11-06109"><sup>3</sup></xref></bold></th>
<th align="center" valign="middle"><bold>Slope</bold></th></tr></thead>
<tbody>
<tr>
<td align="center" valign="top" rowspan="2">SSC (°Brix)</td>
<td align="center" valign="top">MPLS</td>
<td align="center" valign="top">2,5,5,1</td>
<td align="center" valign="top">380–1,650</td>
<td align="center" valign="top">16</td>
<td align="center" valign="top">1.69</td>
<td align="center" valign="top">1.69</td>
<td align="center" valign="top">0.17</td>
<td align="center" valign="top">0.80</td>
<td align="center" valign="top">0.97</td></tr>
<tr>
<td align="center" valign="top">LOCAL (<italic>k</italic> = 50)</td>
<td align="center" valign="top">2,10,5,1</td>
<td align="center" valign="top">780–1,650</td>
<td align="center" valign="top">16 (−4)</td>
<td align="center" valign="top">1.33</td>
<td align="center" valign="top">1.32</td>
<td align="center" valign="top">0.24</td>
<td align="center" valign="top">0.88</td>
<td align="center" valign="top">0.96</td></tr>
<tr>
<td align="center" valign="top" rowspan="2">Reducing sugar content (g/L)</td>
<td align="center" valign="top">MPLS</td>
<td align="center" valign="top">2,5,5,1</td>
<td align="center" valign="top">780–1,650</td>
<td align="center" valign="top">16</td>
<td align="center" valign="top">16.67</td>
<td align="center" valign="top">15.80</td>
<td align="center" valign="top">5.57</td>
<td align="center" valign="top">0.86</td>
<td align="center" valign="top">0.94</td></tr>
<tr>
<td align="center" valign="top">LOCAL (<italic>k</italic> = 50)</td>
<td align="center" valign="top">2,10,5,1</td>
<td align="center" valign="top">780–1,650</td>
<td align="center" valign="top">14 (−4)</td>
<td align="center" valign="top">16.40</td>
<td align="center" valign="top">15.02</td>
<td align="center" valign="top">6.77</td>
<td align="center" valign="top">0.88</td>
<td align="center" valign="top">0.91</td></tr>
<tr>
<td align="center" valign="top" rowspan="2">pH-value</td>
<td align="center" valign="top">MPLS</td>
<td align="center" valign="top">1,10,5,1</td>
<td align="center" valign="top">380–1,650</td>
<td align="center" valign="top">16</td>
<td align="center" valign="top">0.17</td>
<td align="center" valign="top">0.17</td>
<td align="center" valign="top">0.02</td>
<td align="center" valign="top">0.58</td>
<td align="center" valign="top">0.84</td></tr>
<tr>
<td align="center" valign="top">LOCAL (<italic>k</italic> = 75)</td>
<td align="center" valign="top">1,5,5,1</td>
<td align="center" valign="top">780–1,650</td>
<td align="center" valign="top">15 (−4)</td>
<td align="center" valign="top">0.15</td>
<td align="center" valign="top">0.15</td>
<td align="center" valign="top">0.02</td>
<td align="center" valign="top">0.66</td>
<td align="center" valign="top">1.11</td></tr>
<tr>
<td align="center" valign="top" rowspan="2">Titratable acidity (g/L tartaric acid)</td>
<td align="center" valign="top">MPLS</td>
<td align="center" valign="top">1,10,5,1</td>
<td align="center" valign="top">380–1,650</td>
<td align="center" valign="top">16</td>
<td align="center" valign="top">1.73</td>
<td align="center" valign="top">1.67</td>
<td align="center" valign="top">−0.49</td>
<td align="center" valign="top">0.48</td>
<td align="center" valign="top">0.85</td></tr>
<tr>
<td align="center" valign="top">LOCAL (<italic>k</italic> = 75)</td>
<td align="center" valign="top">1,10,5,1</td>
<td align="center" valign="top">780–1,650</td>
<td align="center" valign="top">16 (−4)</td>
<td align="center" valign="top">1.87</td>
<td align="center" valign="top">1.80</td>
<td align="center" valign="top">−0.54</td>
<td align="center" valign="top">0.66</td>
<td align="center" valign="top">0.97</td></tr>
<tr>
<td align="center" valign="top" rowspan="2">Tartaric acid (g/L tartaric acid)</td>
<td align="center" valign="top">MPLS</td>
<td align="center" valign="top">1,10,5,1</td>
<td align="center" valign="top">380–1,650</td>
<td align="center" valign="top">16</td>
<td align="center" valign="top">1.60</td>
<td align="center" valign="top">1.49</td>
<td align="center" valign="top">0.60</td>
<td align="center" valign="top">0.46</td>
<td align="center" valign="top">0.88</td></tr>
<tr>
<td align="center" valign="top">LOCAL (<italic>k</italic> = 75)</td>
<td align="center" valign="top">1,5,5,1</td>
<td align="center" valign="top">780–1,650</td>
<td align="center" valign="top">14 (−4)</td>
<td align="center" valign="top">1.47</td>
<td align="center" valign="top">1.47</td>
<td align="center" valign="top">0.08</td>
<td align="center" valign="top">0.47</td>
<td align="center" valign="top">0.79</td></tr>
<tr>
<td align="center" valign="top" rowspan="2">Malic acid (g/L malic acid)</td>
<td align="center" valign="top">MPLS</td>
<td align="center" valign="top">2,5,5,1</td>
<td align="center" valign="top">380–1,650</td>
<td align="center" valign="top">16</td>
<td align="center" valign="top">1.39</td>
<td align="center" valign="top">1.39</td>
<td align="center" valign="top">0.20</td>
<td align="center" valign="top">0.30</td>
<td align="center" valign="top">0.95</td></tr>
<tr>
<td align="center" valign="top">LOCAL (<italic>k</italic> = 25)</td>
<td align="center" valign="top">2,10,5,1</td>
<td align="center" valign="top">380–1,650</td>
<td align="center" valign="top">15 (−4)</td>
<td align="center" valign="top">1.54</td>
<td align="center" valign="top">1.55</td>
<td align="center" valign="top">−0.02</td>
<td align="center" valign="top">0.51</td>
<td align="center" valign="top">0.89</td></tr>
<tr>
<td align="center" valign="top" rowspan="2">K (mg/L)</td>
<td align="center" valign="top">MPLS</td>
<td align="center" valign="top">1,5,5,1</td>
<td align="center" valign="top">380–1,650</td>
<td align="center" valign="top">14</td>
<td align="center" valign="top">300.23</td>
<td align="center" valign="top">301.15</td>
<td align="center" valign="top">−38.83</td>
<td align="center" valign="top">0.29</td>
<td align="center" valign="top">0.67</td></tr>
<tr>
<td align="center" valign="top">LOCAL (<italic>k</italic> = 25)</td>
<td align="center" valign="top">2,5,5,1</td>
<td align="center" valign="top">780–1,650</td>
<td align="center" valign="top">14 (−4)</td>
<td align="center" valign="top">284.52</td>
<td align="center" valign="top">281.71</td>
<td align="center" valign="top">−69.02</td>
<td align="center" valign="top">0.39</td>
<td align="center" valign="top">0.80</td></tr></tbody></table>
<table-wrap-foot><fn id="tfn10-sensors-11-06109">
<label>1</label>
<p>standard error of prediction;</p></fn><fn id="tfn11-sensors-11-06109">
<label>2</label>
<p>standard error of prediction bias-corrected;</p></fn><fn id="tfn12-sensors-11-06109">
<label>3</label>
<p>coefficient of determination of prediction.</p></fn></table-wrap-foot></table-wrap></sec></back></article>
