Peer Review History

Original SubmissionDecember 20, 2024
Decision Letter - Xiaohui Zhang, Editor

PONE-D-24-59060Time-series visual representations for sleep stages classificationPLOS ONE

Dear Dr. Padovani Ederli,

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.

Please submit your revised manuscript by Mar 08 2025 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 plosone@plos.org. When you're ready to submit your revision, log on to https://www.editorialmanager.com/pone/ and select the 'Submissions Needing Revision' folder to locate your manuscript file.

Please include the following items when submitting your revised manuscript:

  • 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'.
  • 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'.
  • An unmarked version of your revised paper without tracked changes. You should upload this as a separate file labeled 'Manuscript'.

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.

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: https://journals.plos.org/plosone/s/submission-guidelines#loc-laboratory-protocols. 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 https://plos.org/protocols?utm_medium=editorial-email&utm_source=authorletters&utm_campaign=protocols.

We look forward to receiving your revised manuscript.

Kind regards,

Xiaohui Zhang

Academic Editor

PLOS ONE

Journal requirements:

When submitting your revision, we need you to address these additional requirements.

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

https://journals.plos.org/plosone/s/file?id=wjVg/PLOSOne_formatting_sample_main_body.pdf and

https://journals.plos.org/plosone/s/file?id=ba62/PLOSOne_formatting_sample_title_authors_affiliations.pdf

2. 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, we expect all author-generated code to be made available without restrictions upon publication of the work. Please review our guidelines at https://journals.plos.org/plosone/s/materials-and-software-sharing#loc-sharing-code and ensure that your code is shared in a way that follows best practice and facilitates reproducibility and reuse.

Additional Editor Comments (if provided):

[Note: HTML markup is below. Please do not edit.]

Reviewers' comments:

Reviewer's Responses to Questions

Comments to the Author

1. Is the manuscript technically sound, and do the data support the conclusions?

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.

Reviewer #1: Yes

Reviewer #2: Yes

**********

2. Has the statistical analysis been performed appropriately and rigorously?

Reviewer #1: Yes

Reviewer #2: Yes

**********

3. Have the authors made all data underlying the findings in their manuscript fully available?

The PLOS Data policy 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.

Reviewer #1: Yes

Reviewer #2: Yes

**********

4. Is the manuscript presented in an intelligible fashion and written in standard English?

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.

Reviewer #1: Yes

Reviewer #2: Yes

**********

5. Review Comments to the Author

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)

Reviewer #1: The study explores the application of visual representations of time series data from smartwatches to classify sleep stages. The authors transform data collected from accelerometers and heart rate sensors into visual formats like Gramian Angular Fields (GAF), Recurrence Plots (RP), Markov Transition Fields (MTF), and spectrograms. These visual representations are processed using 2D convolutional neural networks (CNNs), with image patching and ensemble methods enhancing classification performance. The proposed method demonstrates superior accuracy compared to traditional raw data approaches. I have a few points that can help improve the manuscript.

1. EfficientNet is a class of models. The authors need to specify which specific EfficientNet model was used for the experiment.

2. The authors should clearly define the classification task they are working on. What exactly is the goal/benefit for different classification task, and what is the distribution of each class? Including a workflow or pipeline demonstration figure would greatly enhance clarity. For each task, the data distribution, including the actual number of cases(and their respective percentages), should be explicitly shown.

3. The authors mention a data imbalance issue. It would be helpful to know if they took any measures to address this problem or include it in a limitation discussion.

4. For cross-validation, it is unclear whether the authors used a stratified split based on the label of each sample. Clarifying this would be helpful. It is also unclear if the accuracy in the paper is the average accuracy of the 5-fold cross validation. If so, standard deviation should be included.

5. For better readability, I suggest placing the figure descriptions together with the figures.

6. The paper contains a large number of comparison results. The authors might consider highlighting the most significant ones and moving the rest to the supplementary material.

7. Conclusions and Discussion sections need more work. A summary of the study's goal should be included, along with how the findings support this goal. For example, how why is classifying sleeping stage important and how can the method developed benefit research or improve human well-being.

Reviewer #2: The paper utilizes Gramian Angular Fields, Recurrence Plots, Markov models, Transition Fields, and spectrograms to process time series data collected from smartwatches, aiming to enhance the classification of sleep stages. The analyses and experiments are rigorous. However, the methods utilized are largely standard, and the paper lacks a degree of innovation.

**********

6. PLOS authors have the option to publish the peer review history of their article (what does this mean?). If published, this will include your full peer review and any attached files.

If you choose “no”, your identity will remain anonymous but your review may still be made public.

Do you want your identity to be public for this peer review? For information about this choice, including consent withdrawal, please see our Privacy Policy.

Reviewer #1: No

Reviewer #2: No

**********

[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.]

While revising your submission, please upload your figure files to the Preflight Analysis and Conversion Engine (PACE) digital diagnostic tool, https://pacev2.apexcovantage.com/. 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 figures@plos.org. Please note that Supporting Information files do not need this step.

Revision 1

Paper title: Time-series visual representations for sleep stages classification

Journal: PLOS ONE

February 21th, 2025

Dear Editor and Reviewers,

We would like to thank the editor and reviewers for their comments and suggestions. They were valuable and certainly contributed to improving the quality of our manuscript. In this revised version, we addressed all points raised by the reviewers and made adjustments to enhance clarity, methodology description, and data presentation.

The comments, along with our continued research during the review process, allowed us to refine and strengthen our manuscript. The revised version has been submitted through the online submission system, with the main changes highlighted.

We appreciate the time and effort dedicated by the reviewers and the editor and hope that this version meets the journal’s criteria for publication. For any further questions, please do not hesitate to contact us.

Sincerely,

The authors

***

General Comment

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.

Response: We thank the editor and the reviewers for diligently dealing with our submission and for the very constructive feedback.

In this new version, we addressed the points of both reviewers, and we modified the manuscript according to their insightful and accurate comments. We are grateful to both reviewers and the editor for their positive comments and for the time dedicated to the reviewing process. With our revised manuscript, we send a point-by-point response in which we did our best to address all of them.

***

Reviewer #1

The study explores the application of visual representations of time series data from smartwatches to classify sleep stages. The authors transform data collected from accelerometers and heart rate sensors into visual formats like Gramian Angular Fields (GAF), Recurrence Plots (RP), Markov Transition Fields (MTF), and spectrograms. These visual representations are processed using 2D convolutional neural networks (CNNs), with image patching and ensemble methods enhancing classification performance. The proposed method demonstrates superior accuracy compared to traditional raw data approaches. I have a few points that can help improve the manuscript.

1. EfficientNet is a class of models. The authors need to specify which specific EfficientNet model was used for the experiment.

Response: We agree with the reviewer’s observation. To clarify, we now explicitly state that we used EfficientNet-B0 for our experiments. This information has been added to the “Materials and methods (Training and validation)” subsection.

***

2. The authors should clearly define the classification task they are working on. What exactly is the goal/benefit for different classification tasks, and what is the distribution of each class? Including a workflow or pipeline demonstration figure would greatly enhance clarity. For each task, the data distribution, including the actual number of cases (and their respective percentages), should be explicitly shown.

Response: Following the reviewer's suggestion, we have revised the manuscript to improve the clarity of our classification tasks. The “Introduction” section now explicitly describes the two classification tasks—two-stage (wake/sleep) and three-stage (wake/NREM/REM)—along with their practical relevance. The two-stage classification is useful for basic sleep detection, such as in large-scale sleep monitoring or initial sleep disorder screenings, while the three-stage classification enables detailed analysis of sleep architecture, essential for clinical applications like diagnosing sleep disorders or assessing sleep quality.

In addition, we have included Table 1 in the “Materials and Methods (Dataset)” subsection. This table provides the number of samples and percentages per class, highlighting the dataset imbalance.

To further enhance clarity, we also added Figure 2, which illustrates the overall workflow of the proposed methodology, including the transformation of time series into visual representations and subsequent classification steps.

***

3. The authors mention a data imbalance issue. It would be helpful to know if they took any measures to address this problem or include it in a limitation discussion.

Response: To mitigate the impact of class imbalance, we applied class weighting, where the loss function assigns higher weights to minority classes, ensuring a more balanced contribution during training. To address this comment, this strategy is now explicitly described in the “Materials and methods (Training and validation)” subsection.

***

4. For cross-validation, it is unclear whether the authors used a stratified split based on the label of each sample. Clarifying this would be helpful. It is also unclear if the accuracy in the paper is the average accuracy of the 5-fold cross validation. If so, standard deviation should be included.

Response: Following the suggestion, we have clarified these points in the revised manuscript. The “Materials and methods (Training and validation)” subsection now explicitly states that we used 5-fold cross-validation, ensuring that data from the same subject were never included in both training and validation within the same fold. Instead of a stratified split, we opted for a random split, allowing the model to capture the natural variability of sleep stage transitions, as now described in the “Materials and Methods (Training and Validation)” subsection.

Additionally, the “Materials and methods (Performance metrics and model evaluation)” subsection now specifies that the reported results correspond to the average balanced accuracy across the five folds, with the standard deviation included to quantify variability. Standard deviation values are reported in the “Results and discussion” section.

***

5. For better readability, I suggest placing the figure descriptions together with the figures.

Response: In the revised manuscript, figure descriptions have been placed together with their respective figures (figures 7-10 and figures 12-15).

***

6. The paper contains a large number of comparison results. The authors might consider highlighting the most significant ones and moving the rest to the supplementary material.

Response: We agree with the reviewer’s suggestion. To streamline the manuscript, we highlighted the most significant results in the main text and moved the full comparison tables (Tables 2 and 3) to the supplementary materials.

***

7. Conclusions and Discussion sections need more work. A summary of the study's goal should be included, along with how the findings support this goal. For example, why classifying sleeping stages is important and how can the method developed benefit research or improve human well-being.

Response: Following the reviewer’s suggestion, we revised the “Conclusion” section to better summarize the study's goal and clarify how the findings support it. The revised text now explicitly states that the objective was to enhance sleep stage classification using visual representations and deep learning. We also emphasize the importance of sleep stage classification for assessing sleep quality, detecting disorders, and advancing research.

***

Reviewer #2

The paper utilizes Gramian Angular Fields, Recurrence Plots, Markov models, Transition Fields, and spectrograms to process time series data collected from smartwatches, aiming to enhance the classification of sleep stages. The analyses and experiments are rigorous. However, the methods utilized are largely standard, and the paper lacks a degree of innovation.

Response: This study introduces a novel application for sleep stage classification using smartwatch data within a comprehensive full pipeline approach. While techniques such as Gramian Angular Fields (GAF), Recurrence Plots (RP), Markov Transition Fields (MTF) and spectrograms are established in other domains, their combined application and evaluation for this task represent a significant advancement. By assessing their effectiveness under identical conditions and comparing them to traditional approaches, this study bridges a critical gap that has not been addressed before in this context.

This study not only explores the application of these visual transformations but also in the integration of techniques such as image patching and ensemble methods, which significantly enhance classification performance. The combination of GAF with patching and ensemble techniques achieved a balanced accuracy of over 82% for two-stage classification (sleep/wake) and 62% for three-stage classification (wake/NREM/REM).

A direct comparison with other commonly used representations for sleep stage classification (feature extraction and direct use of raw data) highlights the advantages of visual representations, demonstrating improved classification accuracy and reinforcing their applicability in sleep monitoring, outperforming traditional methods by up to 8.9 percentage points in two-stage classification and 9.1 percentage points in three-stage classification. These results emphasize the ability of visual representations to capture fine-grained temporal structures and enhance prediction robustness.

Furthermore, this study provides novel insights into the distinct contributions of accelerometer and heart rate data. Accelerometer data proved more effective for distinguishing between sleep and wake states, while heart rate data played a critical role in three-stage classification. This finding underscores the complementary nature of these data sources and their importance for accurate sleep stage classification.

To address the reviewer's concern regarding innovation, we revised the “Introduction”, “Discussion”, and “Conclusion” sections to better emphasize the study's contributions. These revisions highlight how the proposed methodology advances the field by offering a non-invasive, cost-effective alternative to polysomnography and enabling more reliable health monitoring and early interventions. This study also paves the way for future research by demonstrating the potential of visual representations and deep learning techniques for sleep analysis.

Attachments
Attachment
Submitted filename: Response to Reviewers.pdf
Decision Letter - Xiaohui Zhang, Editor

PONE-D-24-59060R1Time-series visual representations for sleep stages classificationPLOS ONE

Dear Dr. Padovani Ederli,

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.

Please submit your revised manuscript by Apr 30 2025 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 plosone@plos.org. When you're ready to submit your revision, log on to https://www.editorialmanager.com/pone/ and select the 'Submissions Needing Revision' folder to locate your manuscript file.

Please include the following items when submitting your revised manuscript:

  • 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'.
  • 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'.
  • An unmarked version of your revised paper without tracked changes. You should upload this as a separate file labeled 'Manuscript'.

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.

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: https://journals.plos.org/plosone/s/submission-guidelines#loc-laboratory-protocols. 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 https://plos.org/protocols?utm_medium=editorial-email&utm_source=authorletters&utm_campaign=protocols.

We look forward to receiving your revised manuscript.

Kind regards,

Xiaohui Zhang

Academic Editor

PLOS ONE

Journal Requirements:

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.

[Note: HTML markup is below. Please do not edit.]

Reviewers' comments:

Reviewer's Responses to Questions

Comments to the Author

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.

Reviewer #1: All comments have been addressed

Reviewer #2: All comments have been addressed

**********

2. Is the manuscript technically sound, and do the data support the conclusions?

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.

Reviewer #1: Yes

Reviewer #2: Yes

**********

3. Has the statistical analysis been performed appropriately and rigorously?

Reviewer #1: Yes

Reviewer #2: Yes

**********

4. Have the authors made all data underlying the findings in their manuscript fully available?

The PLOS Data policy 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.

Reviewer #1: Yes

Reviewer #2: Yes

**********

5. Is the manuscript presented in an intelligible fashion and written in standard English?

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.

Reviewer #1: Yes

Reviewer #2: Yes

**********

6. Review Comments to the Author

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)

Reviewer #1: The study explores the application of visual representations of time series data from smartwatches to classify sleep stages. The authors transform data collected from accelerometers and heart rate sensors into visual formats like Gramian Angular Fields (GAF),Recurrence Plots (RP), Markov Transition Fields (MTF), and spectrograms. The visual representations are then feed into 2d neural network for classification. Most of the comments have been address.

On data split: Given the imbalanced distribution of the dataset (minority class only 7.7%), using random split instead of stratified split is not a good representation of the data distribution. Without stratification, a random split might lead to some folds having very few (or even no samples) from the minority class. Even with the weight adjustment on minority samples in training, this can still lead to unreliable performance estimates as train and test set may not have the same distribution. I suggest replacing the results with stratified split or checking the class distribution for the random split to make sure the data distribution in each fold is reliably representing the overall distribution.

Reviewer #2: All the review comments have been addressed, and the paper has been improved. Although I still believe the methods are standard and lack some innovation, the application and execution of these methods demonstrate creativity. There is potential for further development.

**********

7. PLOS authors have the option to publish the peer review history of their article (what does this mean?). If published, this will include your full peer review and any attached files.

If you choose “no”, your identity will remain anonymous but your review may still be made public.

Do you want your identity to be public for this peer review? For information about this choice, including consent withdrawal, please see our Privacy Policy.

Reviewer #1: No

Reviewer #2: No

**********

[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.]

While revising your submission, please upload your figure files to the Preflight Analysis and Conversion Engine (PACE) digital diagnostic tool, https://pacev2.apexcovantage.com/. 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 figures@plos.org. Please note that Supporting Information files do not need this step.

Revision 2

Paper title: Time-series visual representations for sleep stages classification

Journal: PLOS ONE

March 21th, 2025

Dear Editor and Reviewers,

We would like to thank the editor and reviewers for their constructive feedback and thoughtful suggestions. Their insights have been invaluable in improving the clarity and rigor of our manuscript.

In this revised version, we carefully addressed all the reviewers' comments. Specifically, we clarified methodological choices and provided additional justifications where necessary. We also analyzed the data split strategy in more detail to ensure the reliability of our results.

The revised manuscript has been submitted through the online submission system, with key changes highlighted. Below, we provide a point-by-point response to each reviewer’s comments, detailing the revisions made.

We greatly appreciate the time and effort the reviewers and the editor invested in evaluating our work. We hope that this version meets the high publication standards of PLOS ONE. After this round of revisions, we believe our manuscript is suitable for publication.

Please feel free to reach out for any further clarifications.

Sincerely,

The authors

General Comment

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.

Response: We thank the editor and the reviewers for diligently dealing with our submission and for the very constructive feedback.

In this new version, we addressed the points of both reviewers, and we modified the manuscript according to their comments. We are grateful to both the reviewers and the editor for their comments and the time they dedicated to the reviewing process. With our revised manuscript, we send a point-by-point response in which we did our best to address all of them.

***

Reviewer #1

The study explores the application of visual representations of time series data from smartwatches to classify sleep stages. The authors transform data collected from accelerometers and heart rate sensors into visual formats like Gramian Angular Fields (GAF),Recurrence Plots (RP), Markov Transition Fields (MTF), and spectrograms. The visual representations are then fed into a 2d neural network for classification. Most of the comments have been addressed.

On data split: Given the imbalanced distribution of the dataset (minority class only 7.7%), using random split instead of stratified split is not a good representation of the data distribution. Without stratification, a random split might lead to some folds having very few (or even no samples) from the minority class. Even with the weight adjustment on minority samples in training, this can still lead to unreliable performance estimates as the train and test set may not have the same distribution. I suggest replacing the results with stratified split or checking the class distribution for the random split to make sure the data distribution in each fold is reliably representing the overall distribution.

Response: We appreciate your insightful comment regarding the impact of using a random split instead of a stratified split in our cross-validation process. We acknowledge the concern that a random split may result in some folds having very few or no samples from the minority class, potentially affecting the reliability of performance estimates in particular scenarios.

To address this, we analyzed the class distribution across the five splits. We presented the results in the new Table 2 of the revised version (“Materials and methods / Training and validation” subsection). The table shows the percentage of Wake, NREM, and REM samples for each split in the training and validation sets. The training data maintains a stable class distribution across splits, ensuring a balanced representation during model learning.

While the validation distribution shows some variability—particularly in Split 1 and Split 2 for Wake and Split 5 for REM—this reflects real-world sleep data, where sleep stages are inherently imbalanced across different nights and individuals. Since the model is evaluated across multiple splits, the impact of these variations is minimized.

It is important to emphasize that our dataset consists of sleep time-series data, where each sample corresponds to data from a specific subject. To prevent data leakage, we ensured that data from the same subject were not simultaneously used for training and validation. Unlike traditional classification tasks where stratification can be applied at the sample level, our setup requires entire subjects to be assigned exclusively to either a training fold or a validation fold. Our decision to use a random split was also motivated by the goal of maintaining the natural variability of sleep stage transitions, which differ across nights and individuals.

Given the constraints imposed by subject-level separation, we believe that using a random split does not introduce substantial bias or compromise the reliability of our results in this study. Additionally, the data distribution in each fold reflects the overall distribution, enabling the model to be tested under conditions that closely resemble real sleep patterns.

While we appreciate the suggestion to replace the results with a stratified split, our analysis indicates that the observed stability in class distributions and the need to maintain subject independence make our current approach the most appropriate for this study.

We sincerely appreciate your valuable feedback. Please let us know if further clarification is needed.

***

Reviewer #2

All the review comments have been addressed, and the paper has been improved. Although I still believe the methods are standard and lack some innovation, the application and execution of these methods demonstrate creativity. There is potential for further development.

Response: We sincerely appreciate your time and effort in reviewing our paper. Your feedback has helped us refine our work, and we are grateful for your positive remarks regarding the application and execution of our methods. While we recognize that the techniques employed are well-established, we focused on demonstrating their effectiveness in a novel application. We agree that there is potential for further development, and we see this work as a foundation for future research.

Thank you again for your valuable insights and constructive evaluation.

Attachments
Attachment
Submitted filename: Response_to_Reviewers_auresp_2.pdf
Decision Letter - Xiaohui Zhang, Editor

Time-series visual representations for sleep stages classification

PONE-D-24-59060R2

Dear Dr. Padovani Ederli,

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.

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.

An invoice will be generated when your article is formally accepted. Please note, if your institution has a publishing partnership with PLOS and your article meets the relevant criteria, all or part of your publication costs will be covered. Please make sure your user information is up-to-date by logging into Editorial Manager at Editorial Manager® and clicking the ‘Update My Information' link at the top of the page. If you have any questions relating to publication charges, please contact our Author Billing department directly at authorbilling@plos.org.

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 onepress@plos.org.

Kind regards,

Xiaohui Zhang

Academic Editor

PLOS ONE

Additional Editor Comments (optional):

Reviewers' comments:

Reviewer's Responses to Questions

Comments to the Author

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.

Reviewer #1: All comments have been addressed

**********

2. Is the manuscript technically sound, and do the data support the conclusions?

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.

Reviewer #1: Yes

**********

3. Has the statistical analysis been performed appropriately and rigorously?

Reviewer #1: Yes

**********

4. Have the authors made all data underlying the findings in their manuscript fully available?

The PLOS Data policy 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.

Reviewer #1: Yes

**********

5. Is the manuscript presented in an intelligible fashion and written in standard English?

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.

Reviewer #1: Yes

**********

6. Review Comments to the Author

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)

Reviewer #1: The study explores the application of visual representation of time series data from smartwatch to classify sleep stages. In the added table, the authors analyzed the class distribution across the splits and show that the training and testing maintain a relatively stable distribution. All the comments have been addressed and the paper has been improved.

**********

7. PLOS authors have the option to publish the peer review history of their article (what does this mean?). If published, this will include your full peer review and any attached files.

If you choose “no”, your identity will remain anonymous but your review may still be made public.

Do you want your identity to be public for this peer review? For information about this choice, including consent withdrawal, please see our Privacy Policy.

Reviewer #1: No

**********

Formally Accepted
Acceptance Letter - Xiaohui Zhang, Editor

PONE-D-24-59060R2

PLOS ONE

Dear Dr. Padovani Ederli,

I'm pleased to inform you that your manuscript has been deemed suitable for publication in PLOS ONE. Congratulations! Your manuscript is now being handed over to our production team.

At this stage, our production department will prepare your paper for publication. This includes ensuring the following:

* All references, tables, and figures are properly cited

* All relevant supporting information is included in the manuscript submission,

* There are no issues that prevent the paper from being properly typeset

You will receive further instructions from the production team, including instructions on how to review your proof when it is ready. Please keep in mind that we are working through a large volume of accepted articles, so please give us a few days to review your paper and let you know the next and final steps.

Lastly, 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 onepress@plos.org.

If we can help with anything else, please email us at customercare@plos.org.

Thank you for submitting your work to PLOS ONE and supporting open access.

Kind regards,

PLOS ONE Editorial Office Staff

on behalf of

Dr. Xiaohui Zhang

Academic Editor

PLOS ONE

Open letter on the publication of peer review reports

PLOS recognizes the benefits of transparency in the peer review process. Therefore, we enable the publication of all of the content of peer review and author responses alongside final, published articles. Reviewers remain anonymous, unless they choose to reveal their names.

We encourage other journals to join us in this initiative. We hope that our action inspires the community, including researchers, research funders, and research institutions, to recognize the benefits of published peer review reports for all parts of the research system.

Learn more at ASAPbio .