<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE article PUBLIC "-//NLM//DTD JATS (Z39.96) Journal Publishing DTD v1.1d3 20150301//EN" "http://jats.nlm.nih.gov/publishing/1.1d3/JATS-journalpublishing1.dtd">
<article article-type="research-article" dtd-version="1.1d3" xml:lang="en" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink">
<front>
<journal-meta>
<journal-id journal-id-type="nlm-ta">PLoS ONE</journal-id>
<journal-id journal-id-type="publisher-id">plos</journal-id>
<journal-id journal-id-type="pmc">plosone</journal-id>
<journal-title-group>
<journal-title>PLOS ONE</journal-title>
</journal-title-group>
<issn pub-type="epub">1932-6203</issn>
<publisher>
<publisher-name>Public Library of Science</publisher-name>
<publisher-loc>San Francisco, CA USA</publisher-loc>
</publisher>
</journal-meta>
<article-meta>
<article-id pub-id-type="doi">10.1371/journal.pone.0283141</article-id>
<article-id pub-id-type="publisher-id">PONE-D-22-23228</article-id>
<article-categories>
<subj-group subj-group-type="heading">
<subject>Research Article</subject>
</subj-group>
<subj-group subj-group-type="Discipline-v3">
<subject>Medicine and health sciences</subject><subj-group><subject>Clinical medicine</subject><subj-group><subject>Clinical immunology</subject><subj-group><subject>Allergies</subject><subj-group><subject>Allergic diseases</subject><subj-group><subject>Food allergies</subject></subj-group></subj-group></subj-group></subj-group></subj-group></subj-group><subj-group subj-group-type="Discipline-v3">
<subject>Biology and life sciences</subject><subj-group><subject>Immunology</subject><subj-group><subject>Clinical immunology</subject><subj-group><subject>Allergies</subject><subj-group><subject>Allergic diseases</subject><subj-group><subject>Food allergies</subject></subj-group></subj-group></subj-group></subj-group></subj-group></subj-group><subj-group subj-group-type="Discipline-v3">
<subject>Medicine and health sciences</subject><subj-group><subject>Immunology</subject><subj-group><subject>Clinical immunology</subject><subj-group><subject>Allergies</subject><subj-group><subject>Allergic diseases</subject><subj-group><subject>Food allergies</subject></subj-group></subj-group></subj-group></subj-group></subj-group></subj-group><subj-group subj-group-type="Discipline-v3">
<subject>Medicine and health sciences</subject><subj-group><subject>Clinical medicine</subject><subj-group><subject>Clinical immunology</subject><subj-group><subject>Allergies</subject><subj-group><subject>Anaphylaxis</subject></subj-group></subj-group></subj-group></subj-group></subj-group><subj-group subj-group-type="Discipline-v3">
<subject>Biology and life sciences</subject><subj-group><subject>Immunology</subject><subj-group><subject>Clinical immunology</subject><subj-group><subject>Allergies</subject><subj-group><subject>Anaphylaxis</subject></subj-group></subj-group></subj-group></subj-group></subj-group><subj-group subj-group-type="Discipline-v3">
<subject>Medicine and health sciences</subject><subj-group><subject>Immunology</subject><subj-group><subject>Clinical immunology</subject><subj-group><subject>Allergies</subject><subj-group><subject>Anaphylaxis</subject></subj-group></subj-group></subj-group></subj-group></subj-group><subj-group subj-group-type="Discipline-v3">
<subject>Physical sciences</subject><subj-group><subject>Mathematics</subject><subj-group><subject>Applied mathematics</subject><subj-group><subject>Algorithms</subject><subj-group><subject>Machine learning algorithms</subject></subj-group></subj-group></subj-group></subj-group></subj-group><subj-group subj-group-type="Discipline-v3">
<subject>Research and analysis methods</subject><subj-group><subject>Simulation and modeling</subject><subj-group><subject>Algorithms</subject><subj-group><subject>Machine learning algorithms</subject></subj-group></subj-group></subj-group></subj-group><subj-group subj-group-type="Discipline-v3">
<subject>Computer and information sciences</subject><subj-group><subject>Artificial intelligence</subject><subj-group><subject>Machine learning</subject><subj-group><subject>Machine learning algorithms</subject></subj-group></subj-group></subj-group></subj-group><subj-group subj-group-type="Discipline-v3">
<subject>Medicine and health sciences</subject><subj-group><subject>Clinical medicine</subject><subj-group><subject>Clinical immunology</subject><subj-group><subject>Allergies</subject><subj-group><subject>Allergens</subject></subj-group></subj-group></subj-group></subj-group></subj-group><subj-group subj-group-type="Discipline-v3">
<subject>Biology and life sciences</subject><subj-group><subject>Immunology</subject><subj-group><subject>Clinical immunology</subject><subj-group><subject>Allergies</subject><subj-group><subject>Allergens</subject></subj-group></subj-group></subj-group></subj-group></subj-group><subj-group subj-group-type="Discipline-v3">
<subject>Medicine and health sciences</subject><subj-group><subject>Immunology</subject><subj-group><subject>Clinical immunology</subject><subj-group><subject>Allergies</subject><subj-group><subject>Allergens</subject></subj-group></subj-group></subj-group></subj-group></subj-group><subj-group subj-group-type="Discipline-v3">
<subject>Medicine and health sciences</subject><subj-group><subject>Epidemiology</subject><subj-group><subject>Medical risk factors</subject></subj-group></subj-group></subj-group><subj-group subj-group-type="Discipline-v3">
<subject>Computer and information sciences</subject><subj-group><subject>Artificial intelligence</subject><subj-group><subject>Machine learning</subject></subj-group></subj-group></subj-group><subj-group subj-group-type="Discipline-v3">
<subject>Medicine and health sciences</subject><subj-group><subject>Diagnostic medicine</subject></subj-group></subj-group><subj-group subj-group-type="Discipline-v3">
<subject>Medicine and health sciences</subject><subj-group><subject>Health care</subject><subj-group><subject>Health care providers</subject><subj-group><subject>Physicians</subject></subj-group></subj-group></subj-group></subj-group><subj-group subj-group-type="Discipline-v3">
<subject>People and places</subject><subj-group><subject>Population groupings</subject><subj-group><subject>Professions</subject><subj-group><subject>Medical personnel</subject><subj-group><subject>Physicians</subject></subj-group></subj-group></subj-group></subj-group></subj-group></article-categories>
<title-group>
<article-title>Food anaphylaxis diagnostic marker compilation in machine learning design and validation</article-title>
<alt-title alt-title-type="running-head">Food anaphylaxis diagnostic marker compilation in machine learning design and validation</alt-title>
</title-group>
<contrib-group>
<contrib contrib-type="author" corresp="yes" xlink:type="simple">
<contrib-id authenticated="true" contrib-id-type="orcid">https://orcid.org/0000-0002-1049-5647</contrib-id>
<name name-style="western">
<surname>Randhawa</surname>
<given-names>Inderpal S.</given-names>
</name>
<role content-type="http://credit.niso.org/contributor-roles/conceptualization/">Conceptualization</role>
<role content-type="http://credit.niso.org/contributor-roles/data-curation/">Data curation</role>
<role content-type="http://credit.niso.org/contributor-roles/formal-analysis/">Formal analysis</role>
<role content-type="http://credit.niso.org/contributor-roles/supervision/">Supervision</role>
<role content-type="http://credit.niso.org/contributor-roles/writing-original-draft/">Writing – original draft</role>
<role content-type="http://credit.niso.org/contributor-roles/writing-review-editing/">Writing – review &amp; editing</role>
<xref ref-type="aff" rid="aff001"/>
<xref ref-type="corresp" rid="cor001">*</xref>
</contrib>
<contrib contrib-type="author" deceased="yes" equal-contrib="yes" xlink:type="simple">
<name name-style="western">
<surname>Groshenkov</surname>
<given-names>Kirill</given-names>
</name>
<role content-type="http://credit.niso.org/contributor-roles/data-curation/">Data curation</role>
<role content-type="http://credit.niso.org/contributor-roles/software/">Software</role>
<xref ref-type="aff" rid="aff001"/>
</contrib>
<contrib contrib-type="author" equal-contrib="yes" xlink:type="simple">
<name name-style="western">
<surname>Sigalov</surname>
<given-names>Grigori</given-names>
</name>
<role content-type="http://credit.niso.org/contributor-roles/visualization/">Visualization</role>
<role content-type="http://credit.niso.org/contributor-roles/writing-original-draft/">Writing – original draft</role>
<xref ref-type="aff" rid="aff001"/>
</contrib>
</contrib-group>
<aff id="aff001"><addr-line>Food Allergy Institute, Long Beach, California, United States of America</addr-line></aff>
<contrib-group>
<contrib contrib-type="editor" xlink:type="simple">
<name name-style="western">
<surname>Asghari Jafarabadi</surname>
<given-names>Mohammad</given-names>
</name>
<role>Editor</role>
<xref ref-type="aff" rid="edit1"/>
</contrib>
</contrib-group>
<aff id="edit1"><addr-line>Tabriz University of Medical Sciences, ISLAMIC REPUBLIC OF IRAN</addr-line></aff>
<author-notes>
<fn fn-type="conflict" id="coi001">
<p>The authors have declared no competing interests exist.</p>
</fn>
<corresp id="cor001">* E-mail: <email xlink:type="simple">docrandhawa@tpirc.org</email></corresp>
</author-notes>
<pub-date pub-type="epub">
<day>5</day>
<month>4</month>
<year>2023</year>
</pub-date>
<pub-date pub-type="collection">
<year>2023</year>
</pub-date>
<volume>18</volume>
<issue>4</issue>
<elocation-id>e0283141</elocation-id>
<history>
<date date-type="received">
<day>19</day>
<month>8</month>
<year>2022</year>
</date>
<date date-type="accepted">
<day>2</day>
<month>3</month>
<year>2023</year>
</date>
</history>
<permissions>
<copyright-year>2023</copyright-year>
<copyright-holder>Randhawa et al</copyright-holder>
<license xlink:href="http://creativecommons.org/licenses/by/4.0/" xlink:type="simple">
<license-p>This is an open access article distributed under the terms of the <ext-link ext-link-type="uri" xlink:href="http://creativecommons.org/licenses/by/4.0/" xlink:type="simple">Creative Commons Attribution License</ext-link>, which permits unrestricted use, distribution, and reproduction in any medium, provided the original author and source are credited.</license-p>
</license>
</permissions>
<self-uri content-type="pdf" xlink:href="info:doi/10.1371/journal.pone.0283141"/>
<abstract>
<sec id="sec001">
<title>Background</title>
<p>Traditional food allergy assessment of anaphylaxis remains limited in accuracy and accessibility. Current methods of anaphylaxis risk assessment are costly with low predictive accuracy. The Tolerance Induction Program (TIP) for anaphylactic patients undergoing TIP immunotherapy produced large-scale diagnostic data across biosimilar proteins, which was used to develop a machine learning model for patient-specific and allergen-specific anaphylaxis assessment. In explanation of construct, this work describes the algorithm design for assignment of peanut allergen score as a quantitative measure of anaphylaxis risk. Secondarily, it confirms the accuracy of the machine learning model for a specific cohort of food anaphylactic children.</p>
</sec>
<sec id="sec002">
<title>Methods and results</title>
<p>Machine learning model design for allergen score prediction utilized 241 individual allergy assays per patient. Accumulation of data across total IgE subdivision served as the basis of data organization. Two regression based Generalized Linear Models (GLM) were utilized to position allergy assessment on a linear scale. The initial model was further tested with sequential patient data over time. A Bayesian method was then used to improve outcomes by calculating the adaptive weights for the results of the two GLMs of peanut allergy score prediction. A linear combination of both provided the final hybrid machine learning prediction algorithm. Specific analysis of peanut anaphylaxis within one endotype model is estimated to predict the severity of possible anaphylactic reaction to peanut with a recall of 95.2% on a dataset of 530 juvenile patients with various food allergies, including but not limited to peanut allergy. Receiver Operating Characteristic analysis yielded over 99% AUC (area under curve) results within peanut allergy prediction.</p>
</sec>
<sec id="sec003">
<title>Conclusions</title>
<p>Machine learning algorithm design established from comprehensive molecular allergy data produces high accuracy and recall in anaphylaxis risk assessment. Subsequent design of additional food protein anaphylaxis algorithms is needed to improve the precision and efficiency of clinical food allergy assessment and immunotherapy treatment.</p>
</sec>
</abstract>
<funding-group>
<funding-statement>The authors received no specific funding for this work.</funding-statement>
</funding-group>
<counts>
<fig-count count="5"/>
<table-count count="3"/>
<page-count count="12"/>
</counts>
<custom-meta-group>
<custom-meta id="data-availability">
<meta-name>Data Availability</meta-name>
<meta-value>The complete codes and data necessary to reproduce our calculations and verify our findings are available on GitHub (<ext-link ext-link-type="uri" xlink:href="https://github.com/TPIRC/ai_paper_2022" xlink:type="simple">https://github.com/TPIRC/ai_paper_2022</ext-link>).</meta-value>
</custom-meta>
</custom-meta-group>
</article-meta>
</front>
<body>
<sec id="sec004" sec-type="intro">
<title>Introduction</title>
<p>Food allergy and anaphylaxis remain a high prevalence disorder in developed countries [<xref ref-type="bibr" rid="pone.0283141.ref001">1</xref>]. With an estimated 6% of children diagnosed with food anaphylaxis, the diagnosis burden encompasses both patients and families [<xref ref-type="bibr" rid="pone.0283141.ref002">2</xref>]. The cost of living with food anaphylaxis is $24.8 (95% CI, $20.6-$29.4) billion annually ($4184 per year per child) [<xref ref-type="bibr" rid="pone.0283141.ref003">3</xref>]. Of greater concern, the incidence of food allergy is increasing in both developed and developing countries [<xref ref-type="bibr" rid="pone.0283141.ref004">4</xref>].</p>
<p>Proper diagnosis of food anaphylaxis has evaded singular test methods. The classical method of skin prick testing at best maintains 50–60% positive predictive value [<xref ref-type="bibr" rid="pone.0283141.ref005">5</xref>]. Serum Immunoglobulin E (sIgE) testing via older RAST (radioallergosorbent test) methods or more recent Immunocap technology maintains over 50% false positivity in food allergy diagnosis [<xref ref-type="bibr" rid="pone.0283141.ref006">6</xref>]. In the last two decades, component resolved diagnostic testing held promise in greater anaphylaxis predictive accuracy. However, large studies reveal limitations in any improvement of accuracy of sIgE [<xref ref-type="bibr" rid="pone.0283141.ref007">7</xref>]. The gold standard of diagnosis remains the double-blind placebo controlled food challenge (DBPCFC). Interestingly, even patients who pass a DBPCFC are able re-develop anaphylaxis to that “passed” food challenge protein [<xref ref-type="bibr" rid="pone.0283141.ref008">8</xref>].</p>
<p>Our institute has developed a novel approach to the predictive diagnosis of food anaphylaxis followed by induction of sustained unresponsiveness of primary food allergens. The Tolerance Induction Program (TIP) involves utilization of large-scale data analytics assessing hundreds of pro allergic markers (skin prick testing, component resolved diagnostics, immunocap specific IgE, histamine release assay, peripheral eosinophil count) as well as tolerance markers (cytokine profiles, IgG4 specifics, total IgG4, total IgG) across collected patient cohorts since 2007. The machine learning process organizes an incoming patient’s specific markers against the molecular groupings of the database. Once analyzed, the patient’s markers are assessed into an endotype and a subsequent risk assessment of food allergens and biosimilar proteins is organized. This organized “snapshot” of an individual patient is further utilized to build food protein dose exposure cycles based on standardized eliciting doses of food proteins. Repeat marker analysis is monitored to assess the final process of tolerance induction and one-week sustained unresponsiveness for all primary allergens. The TIP model has been previously published [<xref ref-type="bibr" rid="pone.0283141.ref009">9</xref>].</p>
<p>The goal of this study is to overcome the limitations of current food allergy predictive models. The endpoint of TIP is high dose food allergen protein exposure on a minimum of a weekly basis with continued reduction in biosimilar food allergy markers. The severity of allergic reaction is quantitatively characterized by an allergen score. The databases and extracted formats to achieve these results served as the basis for machine learning development. A machine learning algorithm was developed to predict the allergen score using lab test data as features. The described algorithm was built and optimized to achieve &gt; 95% recall. The training and testing data model are further described specific to clinical outcomes defined as sustained unresponsiveness.</p>
</sec>
<sec id="sec005" sec-type="materials|methods">
<title>Materials and methods</title>
<sec id="sec006">
<title>Data</title>
<p>Data sets are organized into two primary groups. The first group involves all molecular data which was consistently acquired from each patient enrolled in the program since 2007. The data set includes extended profiles of component resolved diagnostics, skin prick testing, and sIgE to all primary plant and animal protein regardless of the patient’s clinical history. The second data set includes immune system markers consistently acquired from each patient enrolled in the program since 2007. Markers include B cell antibody diversity, cytokine production, basophil indices, eosinophil counts, and lymphocyte counts. The final data set includes the similarity of plant and animal species allergens utilizing data adopted from public domains such as the food allergen datasets Allergen Nomenclature (<ext-link ext-link-type="uri" xlink:href="http://www.allergen.org/index.php" xlink:type="simple">http://www.allergen.org/index.php</ext-link>, accessed on 9 October 2020) and the Structural Database of Allergenic Proteins (SDAP) (<ext-link ext-link-type="uri" xlink:href="http://fermi.utmb.edu/SDAP/" xlink:type="simple">http://fermi.utmb.edu/SDAP/</ext-link>). All datasets have been rigorously screened, and there is no duplication between positive and negative samples.</p>
</sec>
<sec id="sec007">
<title>A machine learning algorithm for allergen score prediction</title>
<p>To provide a physician with a tool for quick and accurate evaluation of the patient’s risk of anaphylaxis and the severity of a possible allergic reaction to peanut, we developed a Machine Learning (ML) algorithm. The algorithm is using a set of lab test data with up to 241 individual tests, as well as the patient’s personal information such as age and weight, as feature candidates. In the process of model optimization and training, relevant features are selected via iterations of a greedy selection algorithm, while features not meeting the standard relevance criteria are dropped. This automatic, data-centric process eliminates a human factor in deciding which test results should or should not be used in the ML model design. The larger set of tests for possible allergic proteins is available, the higher accuracy of the ML algorithm could theoretically be achieved. The relevant features are assigned adoptive weights as the result of model training. The training data set is tabular, based on depersonalized patient data, and will be described in detail below. Once trained, the ML model is used for new (out of set) patients to predict a quantified expected patient’s allergic reaction to peanut. The physician may then consider the predicted value while finalizing the diagnosis and selecting the treatment.</p>
<p>The severity of allergic reaction to peanut in a particular patient is normally classified as Anaphylactic (Ana), Sensitized (Sen), or Tolerant (Tol). Additionally, within each of these three classes, it is characterized by a positive number up to 100 referred to as an allergen score. The larger the number, the stronger the allergic reaction and, consequently, the risk of anaphylaxis. The score is usually rounded so that there could be up to 5 discrete severity levels within each severity class, for example Ana20, Ana40, Ana60, Ana80, Ana100. Since, for example, Sen100 is the highest severity level in the class Sen, and Ana20 is the lowest severity level in the class Ana that is directly above class Sen, it is natural to use a continuous absolute linear scale from 0 to 300 for the allergen score. Scores up to 100 correspond to identical scores within class Tol; scores between 120 to 200 correspond to Sen20 … Sen100; and finally, scores between 220 to 300 correspond to Ana20 … Ana100. These score representations are equivalent, each having its own advantages. In what follows, we will use both notations interchangeably.</p>
<p>To be clear, the ML algorithm is used as an auxiliary recommendation tool to assist a qualified human medical professional, who may consider the algorithm’s prediction in a clinical decision-making process ultimately left to the physician. Given the severity of anaphylaxis, and the fact that it is safer to overestimate rather than underestimate the risk of anaphylaxis, the algorithm is optimized, through its objective function’s design, to have the highest accuracy for class Ana and the upper levels of class Sen, and to err toward higher allergen scores rather than uniformly. In technical terms, positive errors (risk overestimation) have smaller weights in weighted Root Mean Square Error (RMSE) summation than negative errors do.</p>
</sec>
<sec id="sec008">
<title>Dataset and features</title>
<p>For the purposes of this paper, we only focus on peanut allergy for endotype 1 patients. However, the same approach is applicable to other proteins and endotypes (results to be published elsewhere). The selected dataset included 530 patients, out of which 340 had total IgE &lt; 1000 kU/L and 190 had total IgE &gt; 1000 kU/L, thus representing two cohorts with different levels of susceptibility to food allergies. <xref ref-type="fig" rid="pone.0283141.g001">Fig 1</xref> shows the distribution of total IgE values for all patients whose data were used in this study.</p>
<fig id="pone.0283141.g001" position="float">
<object-id pub-id-type="doi">10.1371/journal.pone.0283141.g001</object-id>
<label>Fig 1</label>
<caption>
<title>Distribution of total IgE values over the selected patient dataset.</title>
</caption>
<graphic mimetype="image" position="float" xlink:href="info:doi/10.1371/journal.pone.0283141.g001" xlink:type="simple"/>
</fig>
<p>The available dataset consists of depersonalized patient profiles along with the results of various laboratory tests performed before and during treatment. Those data provide the (potential) input features (independent variables, also called predictors) for a predictive ML algorithm. For each patient, three types of data are available:</p>
<list list-type="bullet">
<list-item><p>patient’s personal information, including age and weight;</p></list-item>
<list-item><p>the results of up to 241 blood and skin lab tests performed;</p></list-item>
<list-item><p>peanut allergy severity classes and scores (feature “Peanut” on the source data table) as determined by a qualified medical professional (these are the dependent variables whose ground truth values are used to train the ML model).</p></list-item>
</list>
<p>The lab test results are usually represented by a nonnegative number within a certain range, with some notable exceptions. First of all, certain features cannot be measured reliably near the lower and/or upper limits of their range; such results may be shown as “less than” or “greater than” a certain threshold value, with a numerical value in the intermediate range where an accurate measurement is possible. Secondly, some of the tests have Boolean or integer-valued underlying nature and could be better treated as binary, categorical, or ordinal variables, rather than as continuous variables. Lastly, the values for many tests are missing, usually because those tests were deemed (by a physician) redundant or unnecessary, considering the patient’s anamnesis. Thus, only the ML methods that are capable of dealing efficiently with massively missing data should be considered for the algorithm. <xref ref-type="fig" rid="pone.0283141.g002">Fig 2</xref> illustrates the range and distribution of values for some representative features.</p>
<fig id="pone.0283141.g002" position="float">
<object-id pub-id-type="doi">10.1371/journal.pone.0283141.g002</object-id>
<label>Fig 2</label>
<caption>
<title>Distribution of values for some independent data features.</title>
</caption>
<graphic mimetype="image" position="float" xlink:href="info:doi/10.1371/journal.pone.0283141.g002" xlink:type="simple"/>
</fig>
</sec>
<sec id="sec009">
<title>Algorithm design</title>
<p>As noted above, there are two ways to characterize the allergen score: either as a class (Tol, Sen, Ana) and further as a level 20, 40, …, 100 within that class (e.g., Ana40), or as a continuous variable from 0 to 300, rounded to the nearest 20. The step of 20 is chosen for convenience only and does not affect the algorithm as such. Accordingly, there are two possibilities for the design of a predictive ML algorithm. To reflect the former representation, one could build a cascade of a 3-class classifier and a regression model for the level within the class. For the latter representation, a regression model for the continuous score that spans all three classes could be constructed.</p>
<p>For the former choice, to assign one of the 3 classes, one could take into account the fact that those classes are actually ordered (Tol &lt; Sen &lt; Ana in terms of the severity of the allergic reaction), and thus use ordinal regression. Alternatively, one could ignore that fact and use pure classification into categorical variables, expecting that the ML model would learn on its own to assign classes in the correct order. In what follows, we will generate ML models based on each of those design solutions and compare their outcomes.</p>
<p>We began by creating a regression-based Generalized Linear Model (GLM) with link functions to mimic the nonlinear behavior or a hypothesized type of distribution (normal or Poisson distribution, as indicated by the data analysis) for some of the features. We chose a continuous score ranging from 0 to 300 as the dependent variable and rounded the obtained real-numbered predictions to the nearest 20.</p>
<p>Based on biomedical information, certain features are known a priori to be possibly relevant for peanut allergy prediction. The GLM regression model is initially trained using those a priori features, while estimating their actual relevance. After an automatic feature elimination process via iterations of a greedy algorithm, the relevant features are found to be peanut_ige, peanut_igg4, peanut_spt, arah_1, arah_2, arah_3, arah_8, arah_9. While higher numerical values of these features usually imply a higher peanut allergy score, the dependence of the latter on the features is non-trivial and extremely noisy, as illustrated by <xref ref-type="fig" rid="pone.0283141.g003">Fig 3</xref>, and requires an advanced ML model to allow for meaningful prediction.</p>
<fig id="pone.0283141.g003" position="float">
<object-id pub-id-type="doi">10.1371/journal.pone.0283141.g003</object-id>
<label>Fig 3</label>
<caption>
<title>Correlation between the dependent variable (peanut allergy score) and some relevant predictors.</title>
<p>Absolute peanut allergy scores 120–200 can be interpreted as Sen20 to Sen100, and scores 220–300 as Ana20 to Ana100. By design, arahs = max(arah_1, …, arah_9).</p>
</caption>
<graphic mimetype="image" position="float" xlink:href="info:doi/10.1371/journal.pone.0283141.g003" xlink:type="simple"/>
</fig>
<p>The model generated using the abridged (known a priori) set of features might be improved by considering additional features provided by lab tests for proteins not obviously biosimilar to peanut, and thus not deemed a priori relevant. The model is therefore trained further, trying one additional candidate feature at a time (out of 243 available features, including patient’s age and weight). A feature that improves the model is preserved, and then another iteration over candidate features is performed, until no further improvement can be achieved. Some examples of features that are not directly related to peanut but might still improve the ML model that predicts the peanut allergy score are total_igg4, cyt, and eos (Eosinophil count). <xref ref-type="table" rid="pone.0283141.t001">Table 1</xref> shows how addition of these non-obvious features, selected automatically through greedy incremental feature testing and addition or rejection, improves the model. The prediction error is estimated using the Leave-One-Out (LOO) cross-validation method. <xref ref-type="table" rid="pone.0283141.t002">Table 2</xref> shows the top 10 features of the expanded set along with their normalized importance values. I can be seen that this list includes all 8 a priori features, but some of the a priori features are less important than some of new features that are not directly linked to peanut.</p>
<table-wrap id="pone.0283141.t001" position="float">
<object-id pub-id-type="doi">10.1371/journal.pone.0283141.t001</object-id>
<label>Table 1</label> <caption><title>Mean absolute error (MAE) of the peanut allergy score prediction in ML models with an abridged (a priori known) set of features and an expanded set of features, each optimized to include only relevant features.</title> <p>Ground truth values are multiples of 20. LOO cross-validation is used.</p></caption>
<alternatives>
<graphic id="pone.0283141.t001g" mimetype="image" position="float" xlink:href="info:doi/10.1371/journal.pone.0283141.t001" xlink:type="simple"/>
<table>
<colgroup>
<col align="left" valign="middle"/>
<col align="left" valign="middle"/>
<col align="left" valign="middle"/>
</colgroup>
<thead>
<tr>
<th align="left">Features</th>
<th align="center">class Ana</th>
<th align="center">class Sen</th>
</tr>
</thead>
<tbody>
<tr>
<td align="left" style="background-color:#D9D9D9">A priori set</td>
<td align="center" style="background-color:#D9D9D9">8</td>
<td align="char" char="." style="background-color:#D9D9D9">25.8</td>
</tr>
<tr>
<td align="left">Expanded set</td>
<td align="center">7.6</td>
<td align="char" char=".">21.7</td>
</tr>
</tbody>
</table>
</alternatives>
</table-wrap>
<table-wrap id="pone.0283141.t002" position="float">
<object-id pub-id-type="doi">10.1371/journal.pone.0283141.t002</object-id>
<label>Table 2</label> <caption><title>Top 10 independent features of the expanded set of predictors.</title></caption>
<alternatives>
<graphic id="pone.0283141.t002g" mimetype="image" position="float" xlink:href="info:doi/10.1371/journal.pone.0283141.t002" xlink:type="simple"/>
<table>
<colgroup>
<col align="left" valign="middle"/>
<col align="left" valign="middle"/>
</colgroup>
<thead>
<tr>
<th align="left"><underline>Feature</underline></th>
<th align="left"><underline>Importance</underline></th>
</tr>
</thead>
<tbody>
<tr>
<td align="left">arah_2</td>
<td align="char" char=".">0.531862</td>
</tr>
<tr>
<td align="left">peanut_ige</td>
<td align="char" char=".">0.379455</td>
</tr>
<tr>
<td align="left">arah_1</td>
<td align="char" char=".">0.025432</td>
</tr>
<tr>
<td align="left">arah_3</td>
<td align="char" char=".">0.012586</td>
</tr>
<tr>
<td align="left">arah_8</td>
<td align="char" char=".">0.010985</td>
</tr>
<tr>
<td align="left">arah_9</td>
<td align="char" char=".">0.009214</td>
</tr>
<tr>
<td align="left">coconut_ige <xref ref-type="table-fn" rid="t002fn001">*</xref></td>
<td align="char" char=".">0.008989</td>
</tr>
<tr>
<td align="left">coconut_spt <xref ref-type="table-fn" rid="t002fn001">*</xref></td>
<td align="char" char=".">0.00748</td>
</tr>
<tr>
<td align="left">peanut_igg4</td>
<td align="char" char=".">0.007411</td>
</tr>
<tr>
<td align="left">peanut_spt</td>
<td align="char" char=".">0.006586</td>
</tr>
</tbody>
</table>
</alternatives>
<table-wrap-foot>
<fn id="t002fn001"><p>* Indicates features not present on the a priori set. Importance values are normalized and meant to indicate a relative importance of the features rather than the weights of the variables.</p></fn>
</table-wrap-foot>
</table-wrap>
<p>The mean absolute error (MAE) of the above models is well under 20, which is the distance between the adjacent values of the allergy score’s ground truth values. This means that the ML algorithm predicts the allergy severity level to within one step of the ladder, on average. However, it might not always predict the correct class (Ana, Sen, or Tol) when the ground truth level is at or near the boundary between classes (100 or 200). For example, it might predict level Sen100 when the ground truth is Ana20, or vice versa. While the numerical difference between these scores is still only 20, the medical implications of the misclassification (Sen vs Ana) may be serious. We addressed this issue by predicting the class first, and the level within each class second. We compared two approaches for that classification task, one through pure classification and the other through ordinal regression, in which the information about class ordering is used extensively. In both models, we used tree-based methods trained with gradient boosting. The ordinal regression method turned out to be more accurate and was selected for this task. The performance of this method is shown in <xref ref-type="table" rid="pone.0283141.t003">Table 3</xref>. Note that there were no patients tolerant to peanut on the chosen dataset, therefore only classes Ana and Sen are present in the results. However, the ordinal regression method we used is not limited to 2-class classification as it is not a binary or logistic classification by its nature. Classification into 3 (or more, for that matter) classes may be effectively performed using the same method for other food proteins or groups of patients.</p>
<table-wrap id="pone.0283141.t003" position="float">
<object-id pub-id-type="doi">10.1371/journal.pone.0283141.t003</object-id>
<label>Table 3</label> <caption><title>Classification model performance in ML models with an abridged (known a priori) and expanded sets of features, each optimized to include only relevant features.</title> <p>Both models employed ordinal regression and were trained with Gradient Boosting for peanut allergy classification into reaction severity classes. Class Tol is not present in the input dataset.</p></caption>
<alternatives>
<graphic id="pone.0283141.t003g" mimetype="image" position="float" xlink:href="info:doi/10.1371/journal.pone.0283141.t003" xlink:type="simple"/>
<table>
<colgroup>
<col align="left" valign="middle"/>
<col align="left" valign="middle"/>
<col align="left" valign="middle"/>
<col align="left" valign="middle"/>
<col align="left" valign="middle"/>
</colgroup>
<thead>
<tr>
<th align="left">Features</th>
<th align="center" colspan="2">class Ana</th>
<th align="center" colspan="2">class Sen</th>
</tr>
<tr>
<th align="left"/>
<th align="center">Precision, %</th>
<th align="center">Recall, %</th>
<th align="center">Precision, %</th>
<th align="center">Recall, %</th>
</tr>
</thead>
<tbody>
<tr>
<td align="left">A priori set</td>
<td align="left">82.3 (303/368)</td>
<td align="left">98.0 (303/309)</td>
<td align="left">91.2 (125/137)</td>
<td align="left">69.0 (125/181)</td>
</tr>
<tr>
<td align="left">Expanded set</td>
<td align="left">83.0 (304/366)</td>
<td align="left">98.3 (304/309)</td>
<td align="left">91.4 (127/139)</td>
<td align="left">70.2 (127/181)</td>
</tr>
</tbody>
</table>
</alternatives>
</table-wrap>
<p>Finally, we trained the GLM regression model described above on the data for each class separately, thus achieving both a more accurate classification and more accurate prediction of the level with the class. However, the original full-range (0 to 300) GLM regression model still could be used to improve the final outcomes, because it is trained on a larger dataset. We combined both GLMs by using a Bayesian method to calculate the adaptive weights for the results of the two methods of peanut allergy score prediction. A linear combination of them provided the final hybrid ML prediction algorithm. Its design is summarized in <xref ref-type="fig" rid="pone.0283141.g004">Fig 4</xref>.</p>
<fig id="pone.0283141.g004" position="float">
<object-id pub-id-type="doi">10.1371/journal.pone.0283141.g004</object-id>
<label>Fig 4</label>
<caption>
<title>The design of the proposed ML algorithm for prediction of the peanut allergy score.</title>
</caption>
<graphic mimetype="image" position="float" xlink:href="info:doi/10.1371/journal.pone.0283141.g004" xlink:type="simple"/>
</fig>
<p>The accuracy of the final ML algorithm was characterized with Receiver Operating Characteristic (ROC) curves. To verify that the algorithm performs well for both highly susceptible and less susceptible patients, we calculated the ROC curves for 340 patients with total IgE &lt; 1000 and 190 patients with total IgE &gt; 1000. The results shown in <xref ref-type="fig" rid="pone.0283141.g005">Fig 5</xref> demonstrate that the proposed ML algorithm could be used as a diagnostic support tool for a physician to evaluate the expected severity of patient’s allergic response to peanut.</p>
<fig id="pone.0283141.g005" position="float">
<object-id pub-id-type="doi">10.1371/journal.pone.0283141.g005</object-id>
<label>Fig 5</label>
<caption>
<title>ROC curves for the proposed ML algorithm’s prediction that the patient is Anaphylactic (Ana) vs Sensitive (Sen).</title>
<p>(a) patients with total IgE &lt; 1000 kU/L, AUC 0.994; (b) patients with total IgE &gt; 1000 kU/L, AUC 0.997 (AUCs are given for the expanded feature sets).</p>
</caption>
<graphic mimetype="image" position="float" xlink:href="info:doi/10.1371/journal.pone.0283141.g005" xlink:type="simple"/>
</fig>
</sec>
</sec>
<sec id="sec010" sec-type="conclusions">
<title>Discussion</title>
<p>Machine learning algorithm design in modern medicine largely endorses imaging aspects of medical specialties such as radiology and ophthalmology. ML accuracy and recall in imaging associated medical specialties continue to improve as reflected in the regulatory approval of such devices. The specialty of Allergy and Immunology to date has no diagnostic machine learning algorithm published in any of the atopic disease states: eczema, asthma, rhinitis or food anaphylaxis. The Tolerance Induction Program has structured its clinical therapeutic model upon data collection across immunological, phylogenetic and clinical markers. The totality of these markers are organized to study food anaphylaxis patients into specific endotype cohorts. Once identified, the cohort specific analysis utilizes machine algorithms based on aforementioned data sets to determine food protein specific anaphylaxis risk. Furthermore, the risk assessment produced serves as the basis for additional machine learning systems producing food protein-based immunotherapy schedules on a patient specific basis. Ultimately, the risk assessment is re-calculated per annum as the patient progresses through large challenges of food proteins in challenge sequences. Upon completion, the patient consumes between 10–30 grams of food specific protein in one sitting to all of once anaphylactic foods. In subsequent weeks, the consumption of this large amount of food protein occurs on a weekly or biweekly basis thus achieving sustained unresponsiveness while freely consuming once anaphylactic foods.</p>
<p>Our machine learning algorithm is designed utilizing anaphylaxis clinical, diagnostic and eliciting dose data. Such data in an anaphylaxis cohort is critical as it reflects known risk of the disease in a large cohort. We defined a risk score as a continuous variable, which effectively becomes ordinal when rounded. We trained our supervised learning model to predict the risk score and compared the model predictions with the scores assigned by a highly trained medical professional. We found that using an ordinal dependent variable results in a model that is more robust and accurate than multinomial models using categorical variables (unordered risk classes).</p>
<p>The ML algorithm design was further specified to peanut. Focus on peanut was necessary as it was one of the most common food anaphylactic proteins in the study population. The specific analysis of peanut anaphylaxis within this one endotype model was estimated to predict the severity of possible anaphylactic reaction to peanut with an overall recall of 95.2% on a dataset of 530 juvenile patients with various food allergies. The validation of the ML algorithm was characterized with ROC curves. Calculation of ROC curves for 340 patients with total IgE &lt; 1000 kU/L and 190 patients with total IgE &gt; 1000 kU/L yielded over 99% AUC (area under curve) results within peanut allergy prediction. The results demonstrate that the proposed ML algorithm could be used as a diagnostic support tool for a physician to evaluate the expected severity of patient’s allergic response to peanut. Moreover, it supports the accuracy of peanut anaphylaxis assessment in targeted treatment in the Tolerance Induction Program.</p>
<p>Machine learning algorithm design established from comprehensive molecular allergy data produces high accuracy and recall in anaphylaxis risk assessment. Further design of additional food protein anaphylaxis algorithms is needed to improve the precision and efficiency of clinical food allergy assessment and immunotherapy treatment.</p>
</sec>
</body>
<back>
<ref-list>
<title>References</title>
<ref id="pone.0283141.ref001"><label>1</label><mixed-citation publication-type="journal" xlink:type="simple"><name name-style="western"><surname>Datema</surname> <given-names>M</given-names></name>, <name name-style="western"><surname>Lyons</surname> <given-names>SA</given-names></name>, <name name-style="western"><surname>Fernández-Rivas</surname> <given-names>M</given-names></name>, <name name-style="western"><surname>Ballmer-Weber</surname> <given-names>B</given-names></name>, <etal>et al</etal>. <article-title>Estimating the Risk of Severe Peanut Allergy Using Clinical Background and IgE Sensitization Profiles</article-title>. <source>Frontiers in Allergy</source>. <year>2021</year> <month>Jan</month>;<volume>2</volume>(<issue>1</issue>):<fpage>670</fpage>–<lpage>789</lpage>.</mixed-citation></ref>
<ref id="pone.0283141.ref002"><label>2</label><mixed-citation publication-type="journal" xlink:type="simple"><name name-style="western"><surname>Gupta</surname> <given-names>RS</given-names></name>, <name name-style="western"><surname>Warren</surname> <given-names>CM</given-names></name>, <name name-style="western"><surname>Smith</surname> <given-names>BM</given-names></name>, <name name-style="western"><surname>Blumenstock</surname> <given-names>JA</given-names></name>, <etal>et al</etal>. <article-title>The Public Health Impact of Parent-Reported Childhood Food Allergies in the United States</article-title>. <source>Pediatrics</source>. <year>2018</year> <month>Jul</month>;<volume>142</volume>(<issue>6</issue>). <comment>doi: <ext-link ext-link-type="uri" xlink:href="https://doi.org/10.1542/peds.2018-1235" xlink:type="simple">10.1542/peds.2018-1235</ext-link></comment> <object-id pub-id-type="pmid">30455345</object-id></mixed-citation></ref>
<ref id="pone.0283141.ref003"><label>3</label><mixed-citation publication-type="journal" xlink:type="simple"><name name-style="western"><surname>Gupta</surname> <given-names>R</given-names></name>, <name name-style="western"><surname>Holdford</surname> <given-names>D</given-names></name>, <name name-style="western"><surname>Bilaver</surname> <given-names>L</given-names></name>, <name name-style="western"><surname>Dyer</surname> <given-names>A</given-names></name>, <etal>et al</etal>. <article-title>The economic impact of childhood food allergy in the United States</article-title>. <source>JAMA Pediatrics</source>. <year>2013</year> <month>Dec</month>;<volume>167</volume>(<issue>11</issue>):<fpage>1026</fpage>–<lpage>31</lpage>. <comment>doi: <ext-link ext-link-type="uri" xlink:href="https://doi.org/10.1001/jamapediatrics.2013.2376" xlink:type="simple">10.1001/jamapediatrics.2013.2376</ext-link></comment> <object-id pub-id-type="pmid">24042236</object-id></mixed-citation></ref>
<ref id="pone.0283141.ref004"><label>4</label><mixed-citation publication-type="journal" xlink:type="simple"><name name-style="western"><surname>Tang</surname> <given-names>ML</given-names></name>, <name name-style="western"><surname>Mullins</surname> <given-names>RJ</given-names></name>. <article-title>Food allergy: is prevalence increasing?</article-title> <source>Internal Medicine J</source>. <year>2017</year> <month>Jun</month>; <volume>47</volume>(<issue>3</issue>):<fpage>256</fpage>–<lpage>61</lpage>. <comment>doi: <ext-link ext-link-type="uri" xlink:href="https://doi.org/10.1111/imj.13362" xlink:type="simple">10.1111/imj.13362</ext-link></comment> <object-id pub-id-type="pmid">28260260</object-id></mixed-citation></ref>
<ref id="pone.0283141.ref005"><label>5</label><mixed-citation publication-type="journal" xlink:type="simple"><name name-style="western"><surname>Soares-Weiser</surname> <given-names>K</given-names></name>, <name name-style="western"><surname>Takwoingi</surname> <given-names>Y</given-names></name>, <name name-style="western"><surname>Panesar</surname> <given-names>SS</given-names></name>, <name name-style="western"><surname>Muraro</surname> <given-names>A</given-names></name>, <etal>et al</etal>. <collab>EAACI Food Allergy and Anaphylaxis Guidelines Group</collab>. <article-title>The diagnosis of food allergy: a systematic review and meta-analysis</article-title>. <source>Allergy</source>. <year>2014</year> <month>May</month>; <volume>69</volume>(<issue>1</issue>):<fpage>76</fpage>–<lpage>86</lpage>. <comment>doi: <ext-link ext-link-type="uri" xlink:href="https://doi.org/10.1111/all.12333" xlink:type="simple">10.1111/all.12333</ext-link></comment> <object-id pub-id-type="pmid">24329961</object-id></mixed-citation></ref>
<ref id="pone.0283141.ref006"><label>6</label><mixed-citation publication-type="journal" xlink:type="simple"><name name-style="western"><surname>Wood</surname> <given-names>RA</given-names></name>, <name name-style="western"><surname>Segall</surname> <given-names>N</given-names></name>, <name name-style="western"><surname>Ahlstedt</surname> <given-names>S</given-names></name>, <name name-style="western"><surname>Williams</surname> <given-names>PB</given-names></name>. <article-title>Accuracy of IgE antibody laboratory results</article-title>. <source>Annals of Allergy, Asthma &amp; Immunology</source>. <year>2007</year> <month>Nov</month>;<volume>99</volume>(<issue>1</issue>):<fpage>34</fpage>–<lpage>41</lpage>. <comment>doi: <ext-link ext-link-type="uri" xlink:href="https://doi.org/10.1016/S1081-1206%2810%2960618-7" xlink:type="simple">10.1016/S1081-1206(10)60618-7</ext-link></comment> <object-id pub-id-type="pmid">17650827</object-id></mixed-citation></ref>
<ref id="pone.0283141.ref007"><label>7</label><mixed-citation publication-type="journal" xlink:type="simple"><name name-style="western"><surname>Foong</surname> <given-names>RX</given-names></name>, <name name-style="western"><surname>Dantzer</surname> <given-names>JA</given-names></name>, <name name-style="western"><surname>Wood</surname> <given-names>RA</given-names></name>, <name name-style="western"><surname>Santos</surname> <given-names>AF</given-names></name>. <article-title>Improving Diagnostic Accuracy in Food Allergy</article-title>. <source>J Allergy &amp; Clinical Immunology. In practice</source>. <year>2021</year> <month>July</month>;<volume>9</volume>(<issue>1</issue>):<fpage>71</fpage>–<lpage>80</lpage>. <comment>doi: <ext-link ext-link-type="uri" xlink:href="https://doi.org/10.1016/j.jaip.2020.09.037" xlink:type="simple">10.1016/j.jaip.2020.09.037</ext-link></comment> <object-id pub-id-type="pmid">33429723</object-id></mixed-citation></ref>
<ref id="pone.0283141.ref008"><label>8</label><mixed-citation publication-type="journal" xlink:type="simple"><name name-style="western"><surname>Fleischer</surname> <given-names>DM</given-names></name>, <name name-style="western"><surname>Conover-Walker</surname> <given-names>MK</given-names></name>, <name name-style="western"><surname>Christie</surname> <given-names>L</given-names></name>, <name name-style="western"><surname>Burks</surname> <given-names>AW</given-names></name>, <etal>et al</etal>. <article-title>Peanut allergy: recurrence and its management</article-title>. <source>J Allergy &amp; Clinical Immunology</source>. <year>2004</year> <month>Feb</month>;<volume>114</volume>(<issue>5</issue>):<fpage>1195</fpage>–<lpage>1201</lpage>. <comment>doi: <ext-link ext-link-type="uri" xlink:href="https://doi.org/10.1016/j.jaci.2004.08.035" xlink:type="simple">10.1016/j.jaci.2004.08.035</ext-link></comment> <object-id pub-id-type="pmid">15536431</object-id></mixed-citation></ref>
<ref id="pone.0283141.ref009"><label>9</label><mixed-citation publication-type="journal" xlink:type="simple"><name name-style="western"><surname>Randhawa</surname> <given-names>I.</given-names></name> <article-title>Tolerance Induction Program Effect Explains Variation in Wheal Size, sIgE, and IgG4 in Peanut Allergic Children</article-title>. <source>J Allergy &amp; Therapy</source>. <year>2019</year> <month>July</month>;<volume>10</volume>(<issue>2</issue>):<fpage>1</fpage>–<lpage>10</lpage>.</mixed-citation></ref>
</ref-list>
</back>
<sub-article article-type="aggregated-review-documents" id="pone.0283141.r001" specific-use="decision-letter">
<front-stub>
<article-id pub-id-type="doi">10.1371/journal.pone.0283141.r001</article-id>
<title-group>
<article-title>Decision Letter 0</article-title>
</title-group>
<contrib-group>
<contrib contrib-type="author">
<name name-style="western">
<surname>Asghari Jafarabadi</surname>
<given-names>Mohammad</given-names>
</name>
<role>Academic Editor</role>
</contrib>
</contrib-group>
<permissions>
<copyright-year>2023</copyright-year>
<copyright-holder>Mohammad Asghari Jafarabadi</copyright-holder>
<license xlink:href="http://creativecommons.org/licenses/by/4.0/">
<license-p>This is an open access article distributed under the terms of the <ext-link ext-link-type="uri" xlink:href="http://creativecommons.org/licenses/by/4.0/" xlink:type="simple">Creative Commons Attribution License</ext-link>, which permits unrestricted use, distribution, and reproduction in any medium, provided the original author and source are credited.</license-p>
</license>
</permissions>
<related-object document-id="10.1371/journal.pone.0283141" document-id-type="doi" document-type="article" id="rel-obj001" link-type="peer-reviewed-article"/>
<custom-meta-group>
<custom-meta>
<meta-name>Submission Version</meta-name>
<meta-value>0</meta-value>
</custom-meta>
</custom-meta-group>
</front-stub>
<body>
<p>
<named-content content-type="letter-date">24 Oct 2022</named-content>
</p>
<p><!-- <div> -->PONE-D-22-23228<!-- </div> --><!-- <div> -->Food Anaphylaxis Diagnostic Marker Compilation in Machine Learning Design and Validation<!-- </div> --><!-- <div> -->PLOS ONE</p>
<p>Dear Dr. Randhawa,</p>
<p>Thank you for submitting your manuscript to PLOS ONE. After careful consideration, we feel that it has merit but does not fully meet PLOS ONE’s publication criteria as it currently stands. Therefore, we invite you to submit a revised version of the manuscript that addresses the points raised during the review process.</p>
<p>Please submit your revised manuscript by Dec 08 2022 11:59PM. If you will need more time than this to complete your revisions, please reply to this message or contact the journal office at <email xlink:type="simple">plosone@plos.org</email>. When you're ready to submit your revision, log on to <ext-link ext-link-type="uri" xlink:href="https://www.editorialmanager.com/pone/" xlink:type="simple">https://www.editorialmanager.com/pone/</ext-link> and select the 'Submissions Needing Revision' folder to locate your manuscript file.</p>
<p>Please include the following items when submitting your revised manuscript:<!-- </div> --><list list-type="bullet"><list-item><p>A rebuttal letter that responds to each point raised by the academic editor and reviewer(s). You should upload this letter as a separate file labeled 'Response to Reviewers'.</p></list-item><list-item><p>A marked-up copy of your manuscript that highlights changes made to the original version. You should upload this as a separate file labeled 'Revised Manuscript with Track Changes'.</p></list-item><list-item><p>An unmarked version of your revised paper without tracked changes. You should upload this as a separate file labeled 'Manuscript'.</p></list-item></list></p>
<p>If you would like to make changes to your financial disclosure, please include your updated statement in your cover letter. Guidelines for resubmitting your figure files are available below the reviewer comments at the end of this letter.</p>
<p>If applicable, we recommend that you deposit your laboratory protocols in protocols.io to enhance the reproducibility of your results. Protocols.io assigns your protocol its own identifier (DOI) so that it can be cited independently in the future. For instructions see: <ext-link ext-link-type="uri" xlink:href="https://journals.plos.org/plosone/s/submission-guidelines#loc-laboratory-protocols" xlink:type="simple">https://journals.plos.org/plosone/s/submission-guidelines#loc-laboratory-protocols</ext-link>. Additionally, PLOS ONE offers an option for publishing peer-reviewed Lab Protocol articles, which describe protocols hosted on protocols.io. Read more information on sharing protocols at <ext-link ext-link-type="uri" xlink:href="https://plos.org/protocols?utm_medium=editorial-email&amp;utm_source=authorletters&amp;utm_campaign=protocols" xlink:type="simple">https://plos.org/protocols?utm_medium=editorial-email&amp;utm_source=authorletters&amp;utm_campaign=protocols</ext-link>.</p>
<p>We look forward to receiving your revised manuscript.</p>
<p>Kind regards,</p>
<p>Mohammad Asghari Jafarabadi</p>
<p>Academic Editor</p>
<p>PLOS ONE</p>
<p>Journal Requirements:</p>
<p>When submitting your revision, we need you to address these additional requirements.</p>
<p>1. Please ensure that your manuscript meets PLOS ONE's style requirements, including those for file naming. The PLOS ONE style templates can be found at </p>
<p><ext-link ext-link-type="uri" xlink:href="https://journals.plos.org/plosone/s/file?id=wjVg/PLOSOne_formatting_sample_main_body.pdf" xlink:type="simple">https://journals.plos.org/plosone/s/file?id=wjVg/PLOSOne_formatting_sample_main_body.pdf</ext-link> and </p>
<p><ext-link ext-link-type="uri" xlink:href="https://journals.plos.org/plosone/s/file?id=ba62/PLOSOne_formatting_sample_title_authors_affiliations.pdf" xlink:type="simple">https://journals.plos.org/plosone/s/file?id=ba62/PLOSOne_formatting_sample_title_authors_affiliations.pdf</ext-link></p>
<p>2. In the Methods section of your revised manuscript, please include the full name of the institutional review board or ethics committee that approved the protocol, the approval or permit number that was issued, and the date that approval was granted.</p>
<p>Please note that PLOS ONE has specific guidelines on code sharing for submissions in which author-generated code underpins the findings in the manuscript. In these cases, all author-generated code must be made available without restrictions upon publication of the work. Please review our guidelines at <ext-link ext-link-type="uri" xlink:href="https://journals.plos.org/plosone/s/materials-and-software-sharing#loc-sharing-code" xlink:type="simple">https://journals.plos.org/plosone/s/materials-and-software-sharing#loc-sharing-code</ext-link> and ensure that your code is shared in a way that follows best practice and facilitates reproducibility and reuse.</p>
<p>3. Please provide additional details regarding participant consent. In the ethics statement in the Methods and online submission information, please ensure that you have specified what type you obtained (for instance, written or verbal, and if verbal, how it was documented and witnessed). If your study included minors, state whether you obtained consent from parents or guardians. If the need for consent was waived by the ethics committee, please include this information.</p>
<p>4. In your Data Availability statement, you have not specified where the minimal data set underlying the results described in your manuscript can be found. PLOS defines a study's minimal data set as the underlying data used to reach the conclusions drawn in the manuscript and any additional data required to replicate the reported study findings in their entirety. All PLOS journals require that the minimal data set be made fully available. For more information about our data policy, please see <ext-link ext-link-type="uri" xlink:href="http://journals.plos.org/plosone/s/data-availability" xlink:type="simple">http://journals.plos.org/plosone/s/data-availability</ext-link>.</p>
<p>"Upon re-submitting your revised manuscript, please upload your study’s minimal underlying data set as either Supporting Information files or to a stable, public repository and include the relevant URLs, DOIs, or accession numbers within your revised cover letter. For a list of acceptable repositories, please see <ext-link ext-link-type="uri" xlink:href="http://journals.plos.org/plosone/s/data-availability#loc-recommended-repositories" xlink:type="simple">http://journals.plos.org/plosone/s/data-availability#loc-recommended-repositories</ext-link>. Any potentially identifying patient information must be fully anonymized.</p>
<p>Important: If there are ethical or legal restrictions to sharing your data publicly, please explain these restrictions in detail. Please see our guidelines for more information on what we consider unacceptable restrictions to publicly sharing data: <ext-link ext-link-type="uri" xlink:href="http://journals.plos.org/plosone/s/data-availability#loc-unacceptable-data-access-restrictions" xlink:type="simple">http://journals.plos.org/plosone/s/data-availability#loc-unacceptable-data-access-restrictions</ext-link>. Note that it is not acceptable for the authors to be the sole named individuals responsible for ensuring data access.</p>
<p>We will update your Data Availability statement to reflect the information you provide in your cover letter.</p>
<p>5. Please ensure that you include a title page within your main document. You should list all authors and all affiliations as per our author instructions and clearly indicate the corresponding author.</p>
<p>6. Please amend your manuscript to include your abstract after the title page.</p>
<p>7. Please include your full ethics statement in the ‘Methods’ section of your manuscript file. In your statement, please include the full name of the IRB or ethics committee who approved or waived your study, as well as whether or not you obtained informed written or verbal consent. If consent was waived for your study, please include this information in your statement as well. </p>
<p>8. Please include your tables as part of your main manuscript and remove the individual files. Please note that supplementary tables (should remain/ be uploaded) as separate "supporting information" files</p>
<p>Reviewers' comments:</p>
<p>Reviewer's Responses to Questions</p>
<p><!-- <font color="black"> --><bold>Comments to the Author</bold></p>
<p>1. Is the manuscript technically sound, and do the data support the conclusions?</p>
<p>The manuscript must describe a technically sound piece of scientific research with data that supports the conclusions. Experiments must have been conducted rigorously, with appropriate controls, replication, and sample sizes. The conclusions must be drawn appropriately based on the data presented. <!-- </font> --></p>
<p>Reviewer #1: Yes</p>
<p>Reviewer #2: Partly</p>
<p>**********</p>
<p><!-- <font color="black"> -->2. Has the statistical analysis been performed appropriately and rigorously? <!-- </font> --></p>
<p>Reviewer #1: Yes</p>
<p>Reviewer #2: No</p>
<p>**********</p>
<p><!-- <font color="black"> -->3. Have the authors made all data underlying the findings in their manuscript fully available?</p>
<p>The <ext-link ext-link-type="uri" xlink:href="http://www.plosone.org/static/policies.action#sharing" xlink:type="simple">PLOS Data policy</ext-link> requires authors to make all data underlying the findings described in their manuscript fully available without restriction, with rare exception (please refer to the Data Availability Statement in the manuscript PDF file). The data should be provided as part of the manuscript or its supporting information, or deposited to a public repository. For example, in addition to summary statistics, the data points behind means, medians and variance measures should be available. If there are restrictions on publicly sharing data—e.g. participant privacy or use of data from a third party—those must be specified.<!-- </font> --></p>
<p>Reviewer #1: No</p>
<p>Reviewer #2: No</p>
<p>**********</p>
<p><!-- <font color="black"> -->4. Is the manuscript presented in an intelligible fashion and written in standard English?</p>
<p>PLOS ONE does not copyedit accepted manuscripts, so the language in submitted articles must be clear, correct, and unambiguous. Any typographical or grammatical errors should be corrected at revision, so please note any specific errors here.<!-- </font> --></p>
<p>Reviewer #1: Yes</p>
<p>Reviewer #2: No</p>
<p>**********</p>
<p><!-- <font color="black"> -->5. Review Comments to the Author</p>
<p>Please use the space provided to explain your answers to the questions above. You may also include additional comments for the author, including concerns about dual publication, research ethics, or publication ethics. (Please upload your review as an attachment if it exceeds 20,000 characters)<!-- </font> --></p>
<p>Reviewer #1: Great topic, very motivating and intriguing.</p>
<p>I have the following comments for authors to consider:</p>
<p>1) what's authors recommendation as to using ordinal regression or using pure classification and let the model decide? I personally think using ordinal regression make better sense, first because the three classes follow increase of severity, i.e. ordinal scale, second using ordinal regression should increase model prediction accuracy and model efficiency with reduced model complexity.</p>
<p>2) I think a lot of readers want to know, out of the 200 features which ones are the most important, e.g. top20, top10? and what's the AUC based on reduced features, such as top 20, top 10 features?</p>
<p>3) which software is the algorithm being built? will they be publicly available?</p>
<p>4) I think a realistic dataset should consist of patients with no peanut allergy and patients with different severity levels of peanut allergy. Can authors confirm their dataset takes this into consideration?</p>
<p>5) how ready is this approach in real world applications? I want to hear about authors' vision on this.</p>
<p>6) If the word limit still allows, I suggest authors expand the manuscript to have more details as appropriate and can be presented more clearly e.g. using bullet points to delineate the major steps</p>
<p>7) I think authors should consider finding a completely independent dataset as a testing dataset, to further evaluate the robustness of the trained model.</p>
<p>Reviewer #2: Question 1</p>
<p>In general, the main elements of the design of the automatic learning model are well listed (data, processing, prediction result). The scientific language can be improved (I noted this in the reviewed manuscript).</p>
<p>The data included in the model are quite clearly specified.</p>
<p>The data processing mode is relatively well specified.</p>
<p>The final result should be, according to the Methods and Results chapter, the prediction of the allergen score using 247 individual allergy analyses per patient. The prediction can be done through various regressions. The authors should specify the form of these predictions. In this way, we could understand to what extent each independent parameter considered (...) influences the allergen score. Therefore, the authors are asked to specify how the allergen score is calculated as a depending on the independent parameters introduced. The authors clearly show how the independent parameters are quantified, but not the regressions for the calculation of the dependent parameter: the allergen score.</p>
<p>The result of the analysis can also be materialized in a support decision, which will suggest to the doctor the probable decision. However, it must be specified how this decision is made by the car. Both types of results must be validated. To describe an algorithm means to give its results and, in order to be credible, the results of its validation must be given.</p>
<p>Question 2</p>
<p>In the Chapter Data and features the independent data used are listed:</p>
<p>• Patient's Personal Information, Including Gender, Age, and Weight;</p>
<p>• The Results of Up to 247 Blood and Skin Lab Tests Performed;</p>
<p>and the dependent data:</p>
<p>• Peanut Allergy Severity Class and Score as determined by a Qualified Medical Professional.</p>
<p>It is not a clear if they are accessible to the reader in gross form, in order to verify the graphic and functional representations.</p>
<p>I could not find in the manuscript received tables 1 and 2, which makes the text less clear, but in the first impossible to publish without these tables.</p>
<p>For example, the chapter Data and features clearly show what are the independent parameters. A problem that would clearly make the author clarified is if the decision tool useful to the allergist doctor consists of a relationship of the type:</p>
<p>- Peanut Allergy Severity Class and Score (gender, age, weight, blood lab tests, skin lab tests) = a*gender+b*Age+c*Weight+D*Blood Lab Tests+F*Skin Lab Tests</p>
<p>or</p>
<p>- in a decision scheme that, following the introduction of data required in the computer, decides with yes or no whether the patient presents a risk of allergy or not, possibly a value that indicates the intensity of the risk on a numerical scale.</p>
<p>Question 3</p>
<p>In the data chapter, the author specifies two types of data:</p>
<p>d1) All the molecular data that have been constantly acquired from each patient registered in the 2007 program: extended profiles of the component diagnosis, testing of the skin and in all primary plants and animal proteins, regardless of the patient's clinical history, the clinical history of the patient;</p>
<p>D2) Data includes markers of the immune system constantly acquired from each patient registered in the 2007 program: B diversity, cytokine production, basophilic indices, number of eosinophils and number of lymphocytes;</p>
<p>At the end of the given chapter, the author writes about the "final data set", which "includes the resemblance to allergens of plant and animal species that use data adopted from public fields, such as allergen nomenclature." That is understood by the "resemblance" with allergens ...? Then the author gives two databases at two internet addresses.</p>
<p>Unclear is the following: the data from the first two sets of data, are archived in a public database. Specifically, are the data accessed by the ML algorithm archived in the gross form in the public databases? Otherwise, how can this data be accessed by the reading public to verify the statements in the chapter of discussion and conclusions?</p>
<p>More precisely (now I mean the data and features chapter), where the readers can access the independent data listed in the Data and Features chapter:</p>
<p>• Patient's Personal Information, Including Gender, Age, and Weight;</p>
<p>• The Results of Up to 247 Blood and Skin Lab Tests Performed;</p>
<p>• Peanut Allergy Severity Class and Score as determined by A Qualified Medical Professional?</p>
<p>Question 4</p>
<p>In general, the scientific language can be adjusted, so that it is accessible to the non -specialists, at least partially. I noted in the manuscript reviewed some of these problems.</p>
<p>There are some abbreviations that are not explained. Maybe for specialists, it is not necessary, but for the general public (I refer to doctors with specializations of a different type) I think it is good to be explained. I noted in the manuscript reviewed some of these problems.</p>
<p>It is recommended to control the English language with the text publisher and another specialized publisher (for example Grammarly, free or licensed form).</p>
<p>An important problem to make the published article is that of the list of references and their summons in the text. I have not been able to identify in the text the quotation only for reference 9, citation I think, is inadequate as the form. The cities of the other sources must be highlighted, otherwise, they do not have their place on the list. The style of listing and citing the editor's references must be checked (it seems "Vancouver", in this case).</p>
<p>Question 5</p>
<p>The manuscript proposed for publication presents the results of interesting and useful research, with immediate applications, which must be validated over time, as the doctors will use the application.</p>
<p>As the main area of belonging, the research of a very wide category of research and applications, namely: Machine Learning in the Medical Field (Literature is very rich in this scientific field and is of more and more advanced quantification director of medical diagnosis). Originality comes from limiting the problem of allergies and more specific, research is done on patients suffering from allergies to peanuts proteins.</p>
<p>It is proposed to be published after a major review in which the following problems must be solved: 1) inclusion in the text of tables 1 and 2; 2) formatting the list of references to the editor's requirements, including the cities, so that the cities of the works included in the reference list are obvious. The unexpected works in the text are usually not admitted in the list of references; 3) clarification of the independent and dependent variables considered and the shape or shape of the ML results, usable in the practice of medical diagnosis as well as the clarifications required on the databases used for designing the algorithm and training the model; 4) refinement of scientific language; 5) a control of English (UK); 6) Clear explanation of the validation of the proposed algorithm (was done on the data with which the model was built, were other data used?) 7) In conclusions, a forecast should be exposed on the period of time necessary for acquiring the confidence among allergic doctors. Possible continuation directions may include expanding the database and applying the algorithm in other medical fields.</p>
<p>Lucrarea este valoroasă și se propune să fie publicată după o revizuire care răspunde la cele șapte probleme enumerate mai sus.</p>
<p>**********</p>
<p><!-- <font color="black"> -->6. PLOS authors have the option to publish the peer review history of their article (<ext-link ext-link-type="uri" xlink:href="https://journals.plos.org/plosone/s/editorial-and-peer-review-process#loc-peer-review-history" xlink:type="simple">what does this mean?</ext-link>). If published, this will include your full peer review and any attached files.</p>
<p>If you choose “no”, your identity will remain anonymous but your review may still be made public.</p>
<p><bold>Do you want your identity to be public for this peer review?</bold> For information about this choice, including consent withdrawal, please see our <ext-link ext-link-type="uri" xlink:href="https://www.plos.org/privacy-policy" xlink:type="simple">Privacy Policy</ext-link>.<!-- </font> --></p>
<p>Reviewer #1: No</p>
<p>Reviewer #2: <bold>Yes: </bold>Petru Cardei</p>
<p>**********</p>
<p>[NOTE: If reviewer comments were submitted as an attachment file, they will be attached to this email and accessible via the submission site. Please log into your account, locate the manuscript record, and check for the action link "View Attachments". If this link does not appear, there are no attachment files.]</p>
<p>While revising your submission, please upload your figure files to the Preflight Analysis and Conversion Engine (PACE) digital diagnostic tool, <ext-link ext-link-type="uri" xlink:href="https://pacev2.apexcovantage.com/" xlink:type="simple">https://pacev2.apexcovantage.com/</ext-link>. PACE helps ensure that figures meet PLOS requirements. To use PACE, you must first register as a user. Registration is free. Then, login and navigate to the UPLOAD tab, where you will find detailed instructions on how to use the tool. If you encounter any issues or have any questions when using PACE, please email PLOS at <email xlink:type="simple">figures@plos.org</email>. Please note that Supporting Information files do not need this step.</p>
<supplementary-material id="pone.0283141.s001" mimetype="application/pdf" position="float" xlink:href="info:doi/10.1371/journal.pone.0283141.s001" xlink:type="simple">
<label>Attachment</label>
<caption>
<p>Submitted filename: <named-content content-type="submitted-filename">PONE-D-22-23228_reviewer.pdf</named-content></p>
</caption>
</supplementary-material>
</body>
</sub-article>
<sub-article article-type="author-comment" id="pone.0283141.r002">
<front-stub>
<article-id pub-id-type="doi">10.1371/journal.pone.0283141.r002</article-id>
<title-group>
<article-title>Author response to Decision Letter 0</article-title>
</title-group>
<related-object document-id="10.1371/journal.pone.0283141" document-id-type="doi" document-type="peer-reviewed-article" id="rel-obj002" link-type="rebutted-decision-letter" object-id="10.1371/journal.pone.0283141.r001" object-id-type="doi" object-type="decision-letter"/>
<custom-meta-group>
<custom-meta>
<meta-name>Submission Version</meta-name>
<meta-value>1</meta-value>
</custom-meta>
</custom-meta-group>
</front-stub>
<body>
<p>
<named-content content-type="author-response-date">7 Dec 2022</named-content>
</p>
<p>All responses to reviewers are included in the uploaded document.</p>
<supplementary-material id="pone.0283141.s002" mimetype="application/vnd.openxmlformats-officedocument.wordprocessingml.document" position="float" xlink:href="info:doi/10.1371/journal.pone.0283141.s002" xlink:type="simple">
<label>Attachment</label>
<caption>
<p>Submitted filename: <named-content content-type="submitted-filename">Response to Reviewers.docx</named-content></p>
</caption>
</supplementary-material>
</body>
</sub-article>
<sub-article article-type="aggregated-review-documents" id="pone.0283141.r003" specific-use="decision-letter">
<front-stub>
<article-id pub-id-type="doi">10.1371/journal.pone.0283141.r003</article-id>
<title-group>
<article-title>Decision Letter 1</article-title>
</title-group>
<contrib-group>
<contrib contrib-type="author">
<name name-style="western">
<surname>Asghari Jafarabadi</surname>
<given-names>Mohammad</given-names>
</name>
<role>Academic Editor</role>
</contrib>
</contrib-group>
<permissions>
<copyright-year>2023</copyright-year>
<copyright-holder>Mohammad Asghari Jafarabadi</copyright-holder>
<license xlink:href="http://creativecommons.org/licenses/by/4.0/">
<license-p>This is an open access article distributed under the terms of the <ext-link ext-link-type="uri" xlink:href="http://creativecommons.org/licenses/by/4.0/" xlink:type="simple">Creative Commons Attribution License</ext-link>, which permits unrestricted use, distribution, and reproduction in any medium, provided the original author and source are credited.</license-p>
</license>
</permissions>
<related-object document-id="10.1371/journal.pone.0283141" document-id-type="doi" document-type="article" id="rel-obj003" link-type="peer-reviewed-article"/>
<custom-meta-group>
<custom-meta>
<meta-name>Submission Version</meta-name>
<meta-value>1</meta-value>
</custom-meta>
</custom-meta-group>
</front-stub>
<body>
<p>
<named-content content-type="letter-date">18 Jan 2023</named-content>
</p>
<p><!-- <div> -->PONE-D-22-23228R1<!-- </div> --><!-- <div> -->Food Anaphylaxis Diagnostic Marker Compilation in Machine Learning Design and Validation<!-- </div> --><!-- <div> -->PLOS ONE</p>
<p>Dear Dr. Randhawa,</p>
<p>Thank you for submitting your manuscript to PLOS ONE. After careful consideration, we feel that it has merit but does not fully meet PLOS ONE’s publication criteria as it currently stands. Therefore, we invite you to submit a revised version of the manuscript that addresses the points raised during the review process.</p>
<p>Please submit your revised manuscript by Mar 04 2023 11:59PM. If you will need more time than this to complete your revisions, please reply to this message or contact the journal office at <email xlink:type="simple">plosone@plos.org</email>. When you're ready to submit your revision, log on to <ext-link ext-link-type="uri" xlink:href="https://www.editorialmanager.com/pone/" xlink:type="simple">https://www.editorialmanager.com/pone/</ext-link> and select the 'Submissions Needing Revision' folder to locate your manuscript file.</p>
<p>Please include the following items when submitting your revised manuscript:<!-- </div> --><list list-type="bullet"> <list-item><p>A rebuttal letter that responds to each point raised by the academic editor and reviewer(s). You should upload this letter as a separate file labeled 'Response to Reviewers'.</p></list-item> <list-item><p>A marked-up copy of your manuscript that highlights changes made to the original version. You should upload this as a separate file labeled 'Revised Manuscript with Track Changes'.</p></list-item> <list-item><p>An unmarked version of your revised paper without tracked changes. You should upload this as a separate file labeled 'Manuscript'.</p></list-item></list><!-- <div> -->If you would like to make changes to your financial disclosure, please include your updated statement in your cover letter. Guidelines for resubmitting your figure files are available below the reviewer comments at the end of this letter.</p>
<p>If applicable, we recommend that you deposit your laboratory protocols in protocols.io to enhance the reproducibility of your results. Protocols.io assigns your protocol its own identifier (DOI) so that it can be cited independently in the future. For instructions see: <ext-link ext-link-type="uri" xlink:href="https://journals.plos.org/plosone/s/submission-guidelines#loc-laboratory-protocols" xlink:type="simple">https://journals.plos.org/plosone/s/submission-guidelines#loc-laboratory-protocols</ext-link>. Additionally, PLOS ONE offers an option for publishing peer-reviewed Lab Protocol articles, which describe protocols hosted on protocols.io. Read more information on sharing protocols at <ext-link ext-link-type="uri" xlink:href="https://plos.org/protocols?utm_medium=editorial-email&amp;utm_source=authorletters&amp;utm_campaign=protocols" xlink:type="simple">https://plos.org/protocols?utm_medium=editorial-email&amp;utm_source=authorletters&amp;utm_campaign=protocols</ext-link>.</p>
<p>We look forward to receiving your revised manuscript.</p>
<p>Kind regards,</p>
<p>Mohammad Asghari Jafarabadi</p>
<p>Academic Editor</p>
<p>PLOS ONE</p>
<p>Journal Requirements:</p>
<p>Please review your reference list to ensure that it is complete and correct. If you have cited papers that have been retracted, please include the rationale for doing so in the manuscript text, or remove these references and replace them with relevant current references. Any changes to the reference list should be mentioned in the rebuttal letter that accompanies your revised manuscript. If you need to cite a retracted article, indicate the article’s retracted status in the References list and also include a citation and full reference for the retraction notice.</p>
<p>[Note: HTML markup is below. Please do not edit.]</p>
<p>Reviewers' comments:</p>
<p>Reviewer's Responses to Questions</p>
<p><!-- <font color="black"> --><bold>Comments to the Author</bold></p>
<p>1. If the authors have adequately addressed your comments raised in a previous round of review and you feel that this manuscript is now acceptable for publication, you may indicate that here to bypass the “Comments to the Author” section, enter your conflict of interest statement in the “Confidential to Editor” section, and submit your "Accept" recommendation.<!-- </font> --></p>
<p>Reviewer #1: All comments have been addressed</p>
<p>Reviewer #2: All comments have been addressed</p>
<p>**********</p>
<p><!-- <font color="black"> -->2. Is the manuscript technically sound, and do the data support the conclusions?</p>
<p>The manuscript must describe a technically sound piece of scientific research with data that supports the conclusions. Experiments must have been conducted rigorously, with appropriate controls, replication, and sample sizes. The conclusions must be drawn appropriately based on the data presented. <!-- </font> --></p>
<p>Reviewer #1: Yes</p>
<p>Reviewer #2: Partly</p>
<p>**********</p>
<p><!-- <font color="black"> -->3. Has the statistical analysis been performed appropriately and rigorously? <!-- </font> --></p>
<p>Reviewer #1: Yes</p>
<p>Reviewer #2: Yes</p>
<p>**********</p>
<p><!-- <font color="black"> -->4. Have the authors made all data underlying the findings in their manuscript fully available?</p>
<p>The <ext-link ext-link-type="uri" xlink:href="http://www.plosone.org/static/policies.action#sharing" xlink:type="simple">PLOS Data policy</ext-link> requires authors to make all data underlying the findings described in their manuscript fully available without restriction, with rare exception (please refer to the Data Availability Statement in the manuscript PDF file). The data should be provided as part of the manuscript or its supporting information, or deposited to a public repository. For example, in addition to summary statistics, the data points behind means, medians and variance measures should be available. If there are restrictions on publicly sharing data—e.g. participant privacy or use of data from a third party—those must be specified.<!-- </font> --></p>
<p>Reviewer #1: Yes</p>
<p>Reviewer #2: Yes</p>
<p>**********</p>
<p><!-- <font color="black"> -->5. Is the manuscript presented in an intelligible fashion and written in standard English?</p>
<p>PLOS ONE does not copyedit accepted manuscripts, so the language in submitted articles must be clear, correct, and unambiguous. Any typographical or grammatical errors should be corrected at revision, so please note any specific errors here.<!-- </font> --></p>
<p>Reviewer #1: Yes</p>
<p>Reviewer #2: (No Response)</p>
<p>**********</p>
<p><!-- <font color="black"> -->6. Review Comments to the Author</p>
<p>Please use the space provided to explain your answers to the questions above. You may also include additional comments for the author, including concerns about dual publication, research ethics, or publication ethics. (Please upload your review as an attachment if it exceeds 20,000 characters)<!-- </font> --></p>
<p>Reviewer #1: Thanks for addressing the comments. I think the authors should mention in discussion section that their algorithm works for ordinal variable, but might not work well for categorical/multinomial variables according to response to my question 1, so that people from other background who want to try this tool are fully aware of the limitation.</p>
<p>Reviewer #2: 1) Of the 9 works on the reference list, only the work [9] is cited in the text of the manuscript. In general, publishers demand that all the works from references be quoted in the text.</p>
<p>2) Even if the authors of the article state that the article is because they know all the abbreviations, I believe that the following abbreviations should be explained:</p>
<p>AUC, RAST, GLM.</p>
<p>Although the authors show that the article is for specialists who know the terms, you should not remove readers who read the article to try to use the techniques exposed in other scientific fields. However, the article contains specialized terms in biology and computer science. I suppose there are few specialists well familiar with both areas, so an explanation of the main specialized (specific) terms is timely.</p>
<p>**********</p>
<p><!-- <font color="black"> -->7. PLOS authors have the option to publish the peer review history of their article (<ext-link ext-link-type="uri" xlink:href="https://journals.plos.org/plosone/s/editorial-and-peer-review-process#loc-peer-review-history" xlink:type="simple">what does this mean?</ext-link>). If published, this will include your full peer review and any attached files.</p>
<p>If you choose “no”, your identity will remain anonymous but your review may still be made public.</p>
<p><bold>Do you want your identity to be public for this peer review?</bold> For information about this choice, including consent withdrawal, please see our <ext-link ext-link-type="uri" xlink:href="https://www.plos.org/privacy-policy" xlink:type="simple">Privacy Policy</ext-link>.<!-- </font> --></p>
<p>Reviewer #1: No</p>
<p>Reviewer #2: <bold>Yes: </bold>Petru Cardei</p>
<p>**********</p>
<p>[NOTE: If reviewer comments were submitted as an attachment file, they will be attached to this email and accessible via the submission site. Please log into your account, locate the manuscript record, and check for the action link "View Attachments". If this link does not appear, there are no attachment files.]</p>
<p>While revising your submission, please upload your figure files to the Preflight Analysis and Conversion Engine (PACE) digital diagnostic tool, <ext-link ext-link-type="uri" xlink:href="https://pacev2.apexcovantage.com/" xlink:type="simple">https://pacev2.apexcovantage.com/</ext-link>. PACE helps ensure that figures meet PLOS requirements. To use PACE, you must first register as a user. Registration is free. Then, login and navigate to the UPLOAD tab, where you will find detailed instructions on how to use the tool. If you encounter any issues or have any questions when using PACE, please email PLOS at <email xlink:type="simple">figures@plos.org</email>. Please note that Supporting Information files do not need this step.</p>
</body>
</sub-article>
<sub-article article-type="author-comment" id="pone.0283141.r004">
<front-stub>
<article-id pub-id-type="doi">10.1371/journal.pone.0283141.r004</article-id>
<title-group>
<article-title>Author response to Decision Letter 1</article-title>
</title-group>
<related-object document-id="10.1371/journal.pone.0283141" document-id-type="doi" document-type="peer-reviewed-article" id="rel-obj004" link-type="rebutted-decision-letter" object-id="10.1371/journal.pone.0283141.r003" object-id-type="doi" object-type="decision-letter"/>
<custom-meta-group>
<custom-meta>
<meta-name>Submission Version</meta-name>
<meta-value>2</meta-value>
</custom-meta>
</custom-meta-group>
</front-stub>
<body>
<p>
<named-content content-type="author-response-date">13 Feb 2023</named-content>
</p>
<p>The response is noted in the rebuttal letter.</p>
<supplementary-material id="pone.0283141.s003" mimetype="application/vnd.openxmlformats-officedocument.wordprocessingml.document" position="float" xlink:href="info:doi/10.1371/journal.pone.0283141.s003" xlink:type="simple">
<label>Attachment</label>
<caption>
<p>Submitted filename: <named-content content-type="submitted-filename">Rebuttal letter 2.docx</named-content></p>
</caption>
</supplementary-material>
</body>
</sub-article>
<sub-article article-type="aggregated-review-documents" id="pone.0283141.r005" specific-use="decision-letter">
<front-stub>
<article-id pub-id-type="doi">10.1371/journal.pone.0283141.r005</article-id>
<title-group>
<article-title>Decision Letter 2</article-title>
</title-group>
<contrib-group>
<contrib contrib-type="author">
<name name-style="western">
<surname>Asghari Jafarabadi</surname>
<given-names>Mohammad</given-names>
</name>
<role>Academic Editor</role>
</contrib>
</contrib-group>
<permissions>
<copyright-year>2023</copyright-year>
<copyright-holder>Mohammad Asghari Jafarabadi</copyright-holder>
<license xlink:href="http://creativecommons.org/licenses/by/4.0/">
<license-p>This is an open access article distributed under the terms of the <ext-link ext-link-type="uri" xlink:href="http://creativecommons.org/licenses/by/4.0/" xlink:type="simple">Creative Commons Attribution License</ext-link>, which permits unrestricted use, distribution, and reproduction in any medium, provided the original author and source are credited.</license-p>
</license>
</permissions>
<related-object document-id="10.1371/journal.pone.0283141" document-id-type="doi" document-type="article" id="rel-obj005" link-type="peer-reviewed-article"/>
<custom-meta-group>
<custom-meta>
<meta-name>Submission Version</meta-name>
<meta-value>2</meta-value>
</custom-meta>
</custom-meta-group>
</front-stub>
<body>
<p>
<named-content content-type="letter-date">3 Mar 2023</named-content>
</p>
<p>Food Anaphylaxis Diagnostic Marker Compilation in Machine Learning Design and Validation</p>
<p>PONE-D-22-23228R2</p>
<p>Dear Dr. Randhawa,</p>
<p>We’re pleased to inform you that your manuscript has been judged scientifically suitable for publication and will be formally accepted for publication once it meets all outstanding technical requirements.</p>
<p>Within one week, you’ll receive an e-mail detailing the required amendments. When these have been addressed, you’ll receive a formal acceptance letter and your manuscript will be scheduled for publication.</p>
<p>An invoice for payment will follow shortly after the formal acceptance. To ensure an efficient process, please log into Editorial Manager at <ext-link ext-link-type="uri" xlink:href="http://www.editorialmanager.com/pone/" xlink:type="simple">http://www.editorialmanager.com/pone/</ext-link>, click the 'Update My Information' link at the top of the page, and double check that your user information is up-to-date. If you have any billing related questions, please contact our Author Billing department directly at <email xlink:type="simple">authorbilling@plos.org</email>.</p>
<p>If your institution or institutions have a press office, please notify them about your upcoming paper to help maximize its impact. If they’ll be preparing press materials, please inform our press team as soon as possible -- no later than 48 hours after receiving the formal acceptance. Your manuscript will remain under strict press embargo until 2 pm Eastern Time on the date of publication. For more information, please contact <email xlink:type="simple">onepress@plos.org</email>.</p>
<p>Kind regards,</p>
<p>Mohammad Asghari Jafarabadi</p>
<p>Academic Editor</p>
<p>PLOS ONE</p>
<p>Reviewers' comments:</p>
<p>Reviewer's Responses to Questions</p>
<p><!-- <font color="black"> --><bold>Comments to the Author</bold></p>
<p>1. If the authors have adequately addressed your comments raised in a previous round of review and you feel that this manuscript is now acceptable for publication, you may indicate that here to bypass the “Comments to the Author” section, enter your conflict of interest statement in the “Confidential to Editor” section, and submit your "Accept" recommendation.<!-- </font> --></p>
<p>Reviewer #1: All comments have been addressed</p>
<p>Reviewer #2: All comments have been addressed</p>
<p>**********</p>
<p><!-- <font color="black"> -->2. Is the manuscript technically sound, and do the data support the conclusions?</p>
<p>The manuscript must describe a technically sound piece of scientific research with data that supports the conclusions. Experiments must have been conducted rigorously, with appropriate controls, replication, and sample sizes. The conclusions must be drawn appropriately based on the data presented. <!-- </font> --></p>
<p>Reviewer #1: Yes</p>
<p>Reviewer #2: Yes</p>
<p>**********</p>
<p><!-- <font color="black"> -->3. Has the statistical analysis been performed appropriately and rigorously? <!-- </font> --></p>
<p>Reviewer #1: Yes</p>
<p>Reviewer #2: Yes</p>
<p>**********</p>
<p><!-- <font color="black"> -->4. Have the authors made all data underlying the findings in their manuscript fully available?</p>
<p>The <ext-link ext-link-type="uri" xlink:href="http://www.plosone.org/static/policies.action#sharing" xlink:type="simple">PLOS Data policy</ext-link> requires authors to make all data underlying the findings described in their manuscript fully available without restriction, with rare exception (please refer to the Data Availability Statement in the manuscript PDF file). The data should be provided as part of the manuscript or its supporting information, or deposited to a public repository. For example, in addition to summary statistics, the data points behind means, medians and variance measures should be available. If there are restrictions on publicly sharing data—e.g. participant privacy or use of data from a third party—those must be specified.<!-- </font> --></p>
<p>Reviewer #1: Yes</p>
<p>Reviewer #2: Yes</p>
<p>**********</p>
<p><!-- <font color="black"> -->5. Is the manuscript presented in an intelligible fashion and written in standard English?</p>
<p>PLOS ONE does not copyedit accepted manuscripts, so the language in submitted articles must be clear, correct, and unambiguous. Any typographical or grammatical errors should be corrected at revision, so please note any specific errors here.<!-- </font> --></p>
<p>Reviewer #1: Yes</p>
<p>Reviewer #2: Yes</p>
<p>**********</p>
<p><!-- <font color="black"> -->6. Review Comments to the Author</p>
<p>Please use the space provided to explain your answers to the questions above. You may also include additional comments for the author, including concerns about dual publication, research ethics, or publication ethics. (Please upload your review as an attachment if it exceeds 20,000 characters)<!-- </font> --></p>
<p>Reviewer #1: Thanks for addressing the comments. I think it will have a lot of good impact and keep up the good work.</p>
<p>Reviewer #2: Dear Authors</p>
<p>Referring to:</p>
<p>PONE-D-22-23228R2</p>
<p>In the next table, you have all my observations regarding the article. Essentially it can be published, but please consider the opportunity of the following suggestions.</p>
<p>Suggestions and observation to revision 2 for the paper:</p>
<p>Obs1) We ask the authors to specify if in fig. 1, 2 and 3, on the vertical axis, read the frequency or frequency logarithm. If the frequency logarithm is, please specify the base of the logarithm.</p>
<p>Obs2) It is recommended to control the English language for the entire manuscript because there are still control programs that claim errors and simplest expressions:</p>
<p>1) <ext-link ext-link-type="uri" xlink:href="https://quillbot.com/grammar-check" xlink:type="simple">https://quillbot.com/grammar-check</ext-link></p>
<p>2) <ext-link ext-link-type="uri" xlink:href="https://www.grammarly.com/gramar-check" xlink:type="simple">https://www.grammarly.com/gramar-check</ext-link></p>
<p>Obs3) Plagiaristic check with</p>
<p><ext-link ext-link-type="uri" xlink:href="https://smallseotools.com/plagiarism-checker/" xlink:type="simple">https://smallseotools.com/plagiarism-checker/</ext-link></p>
<p>show that:</p>
<p>1- Introduction 13% - plagiarism. Some sources are specified in references, others are not in the reference list. The sources that are not in references can be included, which would also increase the list of references.</p>
<p>2- Material and Methods, Data 10% plagiarism. A source not included in the references. Can be included.</p>
<p>3- A Machine Learning algorithm for allergen score prediction , 3% plagiarism. . A source not included in the references. Can be included.</p>
<p>Petru Cardei</p>
<p>**********</p>
<p><!-- <font color="black"> -->7. PLOS authors have the option to publish the peer review history of their article (<ext-link ext-link-type="uri" xlink:href="https://journals.plos.org/plosone/s/editorial-and-peer-review-process#loc-peer-review-history" xlink:type="simple">what does this mean?</ext-link>). If published, this will include your full peer review and any attached files.</p>
<p>If you choose “no”, your identity will remain anonymous but your review may still be made public.</p>
<p><bold>Do you want your identity to be public for this peer review?</bold> For information about this choice, including consent withdrawal, please see our <ext-link ext-link-type="uri" xlink:href="https://www.plos.org/privacy-policy" xlink:type="simple">Privacy Policy</ext-link>.<!-- </font> --></p>
<p>Reviewer #1: <bold>Yes: </bold>Shuai Wang</p>
<p>Reviewer #2: <bold>Yes: </bold>Petru Cardei</p>
<p>**********</p>
<supplementary-material id="pone.0283141.s004" mimetype="application/vnd.openxmlformats-officedocument.wordprocessingml.document" position="float" xlink:href="info:doi/10.1371/journal.pone.0283141.s004" xlink:type="simple">
<label>Attachment</label>
<caption>
<p>Submitted filename: <named-content content-type="submitted-filename">Observation to revision 2.docx</named-content></p>
</caption>
</supplementary-material>
</body>
</sub-article>
<sub-article article-type="editor-report" id="pone.0283141.r006" specific-use="acceptance-letter">
<front-stub>
<article-id pub-id-type="doi">10.1371/journal.pone.0283141.r006</article-id>
<title-group>
<article-title>Acceptance letter</article-title>
</title-group>
<contrib-group>
<contrib contrib-type="author">
<name name-style="western">
<surname>Asghari Jafarabadi</surname>
<given-names>Mohammad</given-names>
</name>
<role>Academic Editor</role>
</contrib>
</contrib-group>
<permissions>
<copyright-year>2023</copyright-year>
<copyright-holder>Mohammad Asghari Jafarabadi</copyright-holder>
<license xlink:href="http://creativecommons.org/licenses/by/4.0/">
<license-p>This is an open access article distributed under the terms of the <ext-link ext-link-type="uri" xlink:href="http://creativecommons.org/licenses/by/4.0/" xlink:type="simple">Creative Commons Attribution License</ext-link>, which permits unrestricted use, distribution, and reproduction in any medium, provided the original author and source are credited.</license-p>
</license>
</permissions>
<related-object document-id="10.1371/journal.pone.0283141" document-id-type="doi" document-type="article" id="rel-obj006" link-type="peer-reviewed-article"/>
</front-stub>
<body>
<p>
<named-content content-type="letter-date">14 Mar 2023</named-content>
</p>
<p>PONE-D-22-23228R2 </p>
<p>Food anaphylaxis diagnostic marker compilation in machine learning design and validation </p>
<p>Dear Dr. Randhawa:</p>
<p>I'm pleased to inform you that your manuscript has been deemed suitable for publication in PLOS ONE. Congratulations! Your manuscript is now with our production department. </p>
<p>If your institution or institutions have a press office, please let them know about your upcoming paper now to help maximize its impact. If they'll be preparing press materials, please inform our press team within the next 48 hours. Your manuscript will remain under strict press embargo until 2 pm Eastern Time on the date of publication. For more information please contact <email xlink:type="simple">onepress@plos.org</email>.</p>
<p>If we can help with anything else, please email us at <email xlink:type="simple">plosone@plos.org</email>. </p>
<p>Thank you for submitting your work to PLOS ONE and supporting open access. </p>
<p>Kind regards, </p>
<p>PLOS ONE Editorial Office Staff</p>
<p>on behalf of</p>
<p>Professor Mohammad Asghari Jafarabadi </p>
<p>Academic Editor</p>
<p>PLOS ONE</p>
</body>
</sub-article>
</article>