Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[REVIEW]: c-lasso: a Python package for constrained sparse regression and classification #2844

Closed
39 of 40 tasks
whedon opened this issue Nov 18, 2020 · 57 comments
Closed
39 of 40 tasks
Assignees
Labels
accepted published Papers published in JOSS Python recommend-accept Papers recommended for acceptance in JOSS. review TeX

Comments

@whedon
Copy link

whedon commented Nov 18, 2020

Submitting author: @Leo-Simpson (Leo Simpson)
Repository: https://github.com/Leo-Simpson/c-lasso
Version: v1.0
Editor: @mjsottile
Reviewer: @jbytecode, @glemaitre
Archive: 10.6084/m9.figshare.13589585.v1

⚠️ JOSS reduced service mode ⚠️

Due to the challenges of the COVID-19 pandemic, JOSS is currently operating in a "reduced service mode". You can read more about what that means in our blog post.

Status

status

Status badge code:

HTML: <a href="https://joss.theoj.org/papers/e830fbd5fa1c1bc5480e73979a992b46"><img src="https://joss.theoj.org/papers/e830fbd5fa1c1bc5480e73979a992b46/status.svg"></a>
Markdown: [![status](https://joss.theoj.org/papers/e830fbd5fa1c1bc5480e73979a992b46/status.svg)](https://joss.theoj.org/papers/e830fbd5fa1c1bc5480e73979a992b46)

Reviewers and authors:

Please avoid lengthy details of difficulties in the review thread. Instead, please create a new issue in the target repository and link to those issues (especially acceptance-blockers) by leaving comments in the review thread below. (For completists: if the target issue tracker is also on GitHub, linking the review thread in the issue or vice versa will create corresponding breadcrumb trails in the link target.)

Reviewer instructions & questions

@jbytecode & @glemaitre, please carry out your review in this issue by updating the checklist below. If you cannot edit the checklist please:

  1. Make sure you're logged in to your GitHub account
  2. Be sure to accept the invite at this URL: https://github.com/openjournals/joss-reviews/invitations

The reviewer guidelines are available here: https://joss.readthedocs.io/en/latest/reviewer_guidelines.html. Any questions/concerns please let @mjsottile know.

Please start on your review when you are able, and be sure to complete your review in the next six weeks, at the very latest

Review checklist for @jbytecode

Conflict of interest

  • I confirm that I have read the JOSS conflict of interest (COI) policy and that: I have no COIs with reviewing this work or that any perceived COIs have been waived by JOSS for the purpose of this review.

Code of Conduct

General checks

  • Repository: Is the source code for this software available at the repository url?
  • License: Does the repository contain a plain-text LICENSE file with the contents of an OSI approved software license?
  • Contribution and authorship: Has the submitting author (@Leo-Simpson) made major contributions to the software? Does the full list of paper authors seem appropriate and complete?
  • Substantial scholarly effort: Does this submission meet the scope eligibility described in the JOSS guidelines

Functionality

  • Installation: Does installation proceed as outlined in the documentation?
  • Functionality: Have the functional claims of the software been confirmed?
  • Performance: If there are any performance claims of the software, have they been confirmed? (If there are no claims, please check off this item.)

Documentation

  • A statement of need: Do the authors clearly state what problems the software is designed to solve and who the target audience is?
  • Installation instructions: Is there a clearly-stated list of dependencies? Ideally these should be handled with an automated package management solution.
  • Example usage: Do the authors include examples of how to use the software (ideally to solve real-world analysis problems).
  • Functionality documentation: Is the core functionality of the software documented to a satisfactory level (e.g., API method documentation)?
  • Automated tests: Are there automated tests or manual steps described so that the functionality of the software can be verified?
  • Community guidelines: Are there clear guidelines for third parties wishing to 1) Contribute to the software 2) Report issues or problems with the software 3) Seek support

Software paper

  • Summary: Has a clear description of the high-level functionality and purpose of the software for a diverse, non-specialist audience been provided?
  • A statement of need: Do the authors clearly state what problems the software is designed to solve and who the target audience is?
  • State of the field: Do the authors describe how this software compares to other commonly-used packages?
  • Quality of writing: Is the paper well written (i.e., it does not require editing for structure, language, or writing quality)?
  • References: Is the list of references complete, and is everything cited appropriately that should be cited (e.g., papers, datasets, software)? Do references in the text use the proper citation syntax?

Review checklist for @glemaitre

Conflict of interest

  • I confirm that I have read the JOSS conflict of interest (COI) policy and that: I have no COIs with reviewing this work or that any perceived COIs have been waived by JOSS for the purpose of this review.

Code of Conduct

General checks

  • Repository: Is the source code for this software available at the repository url?
  • License: Does the repository contain a plain-text LICENSE file with the contents of an OSI approved software license?
  • Contribution and authorship: Has the submitting author (@Leo-Simpson) made major contributions to the software? Does the full list of paper authors seem appropriate and complete?
  • Substantial scholarly effort: Does this submission meet the scope eligibility described in the JOSS guidelines

Functionality

  • Installation: Does installation proceed as outlined in the documentation?
  • Functionality: Have the functional claims of the software been confirmed?
  • Performance: If there are any performance claims of the software, have they been confirmed? (If there are no claims, please check off this item.)

Documentation

  • A statement of need: Do the authors clearly state what problems the software is designed to solve and who the target audience is?
  • Installation instructions: Is there a clearly-stated list of dependencies? Ideally these should be handled with an automated package management solution.
  • Example usage: Do the authors include examples of how to use the software (ideally to solve real-world analysis problems).
  • Functionality documentation: Is the core functionality of the software documented to a satisfactory level (e.g., API method documentation)?
  • Automated tests: Are there automated tests or manual steps described so that the functionality of the software can be verified?
  • Community guidelines: Are there clear guidelines for third parties wishing to 1) Contribute to the software 2) Report issues or problems with the software 3) Seek support

Software paper

  • Summary: Has a clear description of the high-level functionality and purpose of the software for a diverse, non-specialist audience been provided?
  • A statement of need: Do the authors clearly state what problems the software is designed to solve and who the target audience is?
  • State of the field: Do the authors describe how this software compares to other commonly-used packages?
  • Quality of writing: Is the paper well written (i.e., it does not require editing for structure, language, or writing quality)?
  • References: Is the list of references complete, and is everything cited appropriately that should be cited (e.g., papers, datasets, software)? Do references in the text use the proper citation syntax?
@whedon
Copy link
Author

whedon commented Nov 18, 2020

Hello human, I'm @whedon, a robot that can help you with some common editorial tasks. @jbytecode, @glemaitre it looks like you're currently assigned to review this paper 🎉.

⚠️ JOSS reduced service mode ⚠️

Due to the challenges of the COVID-19 pandemic, JOSS is currently operating in a "reduced service mode". You can read more about what that means in our blog post.

⭐ Important ⭐

If you haven't already, you should seriously consider unsubscribing from GitHub notifications for this (https://github.com/openjournals/joss-reviews) repository. As a reviewer, you're probably currently watching this repository which means for GitHub's default behaviour you will receive notifications (emails) for all reviews 😿

To fix this do the following two things:

  1. Set yourself as 'Not watching' https://github.com/openjournals/joss-reviews:

watching

  1. You may also like to change your default settings for this watching repositories in your GitHub profile here: https://github.com/settings/notifications

notifications

For a list of things I can do to help you, just type:

@whedon commands

For example, to regenerate the paper pdf after making changes in the paper's md or bib files, type:

@whedon generate pdf

@whedon
Copy link
Author

whedon commented Nov 18, 2020

Reference check summary (note 'MISSING' DOIs are suggestions that need verification):

OK DOIs

- 10.1093/biomet/71.2.323 is OK
- 10.1101/2020.09.01.277632 is OK
- 10.1007/s10957-018-1430-2 is OK
- 10.1007/s11228-011-0191-y is OK
- 10.1214/19-EJS1662 is OK
- 10.1007/s12561-020-09283-2 is OK
- 10.1080/10618600.2018.1473777 is OK
- 10.1080/01621459.2019.1609970 is OK
- 10.1007/bf02985802 is OK
- 10.1016/j.csda.2020.106958 is OK
- 10.1162/NECO_a_00434 is OK
- 10.1093/biomet/asu031 is OK
- 10.1111/j.1467-9868.2010.00740.x is OK
- 10.1214/009053606000001370 is OK
- 10.1214/16-AOAS928 is OK

MISSING DOIs

- None

INVALID DOIs

- None

@whedon
Copy link
Author

whedon commented Nov 18, 2020

👉📄 Download article proof 📄 View article proof on GitHub 📄 👈

@jbytecode
Copy link

@whedon check repository

@whedon
Copy link
Author

whedon commented Nov 18, 2020

Software report (experimental):

github.com/AlDanial/cloc v 1.84  T=10.07 s (4.3 files/s, 9816.0 lines/s)
-------------------------------------------------------------------------------
Language                     files          blank        comment           code
-------------------------------------------------------------------------------
HTML                             3           6745              6          41729
SQL                              1              0              0          37299
Python                          19            897            821           3455
Markdown                         6            499              3           1113
Jupyter Notebook                 3              0           5152            520
TeX                              1             21              1            210
R                                3             35             32             76
reStructuredText                 5             52             64             37
DOS Batch                        1              8              1             26
make                             1              4              7              9
-------------------------------------------------------------------------------
SUM:                            43           8261           6087          84474
-------------------------------------------------------------------------------


Statistical information for the repository '3ed71301e422b11a6362b526' was
gathered on 2020/11/18.
The following historical commit information, by author, was found:

Author                     Commits    Insertions      Deletions    % of changes
Leo-Simpson                    168         14728           9555          100.00

Below are the number of rows from each author that have survived and are still
intact in the current revision:

Author                     Rows      Stability          Age       % in comments
Leo-Simpson                5173           35.1          2.9                7.04

@whedon
Copy link
Author

whedon commented Nov 18, 2020

Failed to discover a valid open source license.

@jbytecode
Copy link

@whedon generate pdf

@whedon
Copy link
Author

whedon commented Nov 19, 2020

👉📄 Download article proof 📄 View article proof on GitHub 📄 👈

@jbytecode
Copy link

@whedon generate pdf

@whedon
Copy link
Author

whedon commented Nov 22, 2020

👉📄 Download article proof 📄 View article proof on GitHub 📄 👈

@whedon
Copy link
Author

whedon commented Nov 25, 2020

👋 @glemaitre, please update us on how your review is going.

@whedon
Copy link
Author

whedon commented Nov 25, 2020

👋 @jbytecode, please update us on how your review is going.

@jbytecode
Copy link

I have opened many issues. The authors have finished some of them. They are also working on the other issues. Whenever an issue is closed, I check the corresponding review item.

@mjsottile
Copy link

👋 @glemaitre I wanted to check to see if you had a chance to start your review? Let me know if you need anything to proceed.

@glemaitre
Copy link

Thanks for pinging. I will make a full pass now. Sorry for the delay.

@glemaitre
Copy link

I am adding a question here since that I would like to have advice from @mjsottile

So one statement in the package is the following:

his package is intended to fill the gap between popular python tools such as scikit-learn which CANNOT solve sparse constrained problems and general-purpose optimization solvers that do not scale well for the considered problems.

It is completely correct that scikit-learn does not provide this functionality. So, one of my expectation would be to be able to use c-lasso as a drop-in replacement instead of scikit-learn to solve such problem. However, I might be bias by being involve in the development of scikit-learn. The issue here is that you cannot use the package for such purpose due to API issue incompatibilities.

Indeed, it would require a tremendous amount of work but this is possible. I can link to the following package which shows such of an example (https://mathurinm.github.io/celer/index.html). I would expect Python functions to implement the different solvers and a common class with parameters allowing to select a specific solver. Turning on/off flags is not really something done in scikit-learn. With such design, c-lasso would be used by people from the scikit-learn community while currently it would not be possible.

I see that @Leo-Simpson is also using the package with R which is probably one of the reason of having different vison regarding the package.

@mjsottile Indeed, I would like to know if these thoughts should be considered while reviewing the paper. I would not like to block the review/acceptance process on a criterion that should not be considered in the review process.

@muellsen
Copy link

muellsen commented Dec 9, 2020

Thanks for raising this important issue. Indeed, our initial hope was to design c-lasso as drop-in replacement in scikit-learn and use all the cool functionality there. However, after an in-depth analysis at the start of the project in early 2019, we opted for a stand-alone version. Below is our thinking and a note about potential future developments

  • First, we do not have yet the resources and knowledge to do such an integration. I spent several days understanding the implementations of the optimization schemes underlying the standard lasso problems and found them to be incompatible with our ideas (largely due to my inadequacies I think)
  • Second, c-lasso is indeed integral for several R packages (including one already available, called "trac") that we are currently developing, and thus, the current solution makes it easier (for us) to handle these joint developments
  • Third, c-lasso is integral for future QIIME-2 plugins (developed in parallel) where we again would love to have light-weight dependencies and full control over the solver development (this is specific to the needs in the microbiome data analysis community)
  • Forth, if someone from the scikit-learn community is interested in this, we would love to collaborate. I know that Alexandre Gramfort and colleagues have worked on similar ideas regarding concomitant estimation (so problems with estimating sigma) so maybe there is a future connection?!

@mjsottile
Copy link

mjsottile commented Dec 9, 2020

Hi @glemaitre - good questions, and thanks for the details @muellsen. I think this issue is worth addressing in the paper to explicitly clarify that, in its current state, the package is not an API-compatible drop in replacement for components of scikit-learn. The issue with API compatibility (or the lack thereof) doesn't detract from the quality of the work itself, just the expectations that users may have. If the paper just adds a simple statement that the code currently is not a straight drop-in replacement in scikit-learn, then potential users won't mistakenly assume that it is. I think such a design for c-lasso would be interesting to look at in the future, but isn't critical for this submission.

@mjsottile
Copy link

@whedon generate pdf

@mjsottile
Copy link

@whedon check references

@whedon
Copy link
Author

whedon commented Jan 15, 2021

Reference check summary (note 'MISSING' DOIs are suggestions that need verification):

OK DOIs

- 10.1093/biomet/71.2.323 is OK
- 10.1101/2020.09.01.277632 is OK
- 10.1007/s10957-018-1430-2 is OK
- 10.1007/s11228-011-0191-y is OK
- 10.1214/19-EJS1662 is OK
- 10.1007/s12561-020-09283-2 is OK
- 10.1080/10618600.2018.1473777 is OK
- 10.1080/01621459.2019.1609970 is OK
- 10.1007/bf02985802 is OK
- 10.1016/j.csda.2020.106958 is OK
- 10.1162/NECO_a_00434 is OK
- 10.1093/biomet/asu031 is OK
- 10.1111/j.1467-9868.2010.00740.x is OK
- 10.1214/009053606000001370 is OK
- 10.1214/16-AOAS928 is OK

MISSING DOIs

- None

INVALID DOIs

- None

@whedon
Copy link
Author

whedon commented Jan 15, 2021

👉📄 Download article proof 📄 View article proof on GitHub 📄 👈

@mjsottile
Copy link

mjsottile commented Jan 16, 2021

Hi @muellsen @Leo-Simpson - I am making my final editorial pass over the text. A couple points to address:

  • I noticed a number of places where the word "constrained" is spelled "contrained". I am assuming this is a typo that you can search and replace to fix.
  • In the toy example, it would be useful to reformat slightly so that the closing paren for the random_data() call isn't on its own at the top of the following page.
  • Remove capitalization of "laptop" at the end of the section on the toy example.
  • Capitalize "Lipschitzian" in the references since it derives from a proper noun.

Once those edits are complete, I believe there will be no remaining outstanding issues and we can proceed to finalizing the paper. The final steps will be:

  • Submit a version of the software to an archive (e.g., figshare or zenodo) and post the DOI for the archive in this thread.

  • Please verify that the version number matches that of the archived code, and if not, let me know so I can update the version here.

  • Finally, make sure that the metadata for the archive (e.g., title, authors) matches the paper.

Please comment here when you've completed everything and have a DOI.

@Leo-Simpson
Copy link

Dear @mjsottile,

Thank you very much.

I finished those edits, except for the problem in the references, which I think can not be fixed on the paper, because the references are generated automatically with pandoc with a certain citation rendering, and I assume that it restricts the rendering of the title, because there is a capital letter in the paper.bibfile.

I submitted the software to figshare : https://doi.org/10.6084/m9.figshare.13589585.v1

So I guess the version of the archived code is 'v1', but I don't know if we can modify it.

The DOI is : 10.6084/m9.figshare.13589585

Best regards.

@mjsottile
Copy link

@Leo-Simpson I believe you can use the usual BiBTeX method to preserve case by wrapping the titles (or individual words) in an additional layer of {} braces. Pandoc is just using LaTeX to render the markdown into PDF, so that should fix the cases. It looks like some of your bib file entries already have extra braces like this (eg, see the title entry for bien:2020).

@Leo-Simpson
Copy link

@mjsottile Thank you for the indication, I did not know how to do this. I have just edited it.

@mjsottile
Copy link

@whedon generate pdf

@whedon
Copy link
Author

whedon commented Jan 17, 2021

👉📄 Download article proof 📄 View article proof on GitHub 📄 👈

@mjsottile
Copy link

@whedon
Copy link
Author

whedon commented Jan 17, 2021

OK. 10.6084/m9.figshare.13589585.v1 is the archive.

@mjsottile
Copy link

@whedon set v1.0 as version

@whedon
Copy link
Author

whedon commented Jan 17, 2021

OK. v1.0 is the version.

@mjsottile
Copy link

Everything looks good to me @Leo-Simpson - I will hand the paper to the EICs for final processing.

Thank you very much @glemaitre and @jbytecode for your time and thoughtful reviews.

@mjsottile
Copy link

@whedon accept

@whedon
Copy link
Author

whedon commented Jan 17, 2021

Attempting dry run of processing paper acceptance...

@whedon whedon added the recommend-accept Papers recommended for acceptance in JOSS. label Jan 17, 2021
@whedon
Copy link
Author

whedon commented Jan 17, 2021

Reference check summary (note 'MISSING' DOIs are suggestions that need verification):

OK DOIs

- 10.1093/biomet/71.2.323 is OK
- 10.1101/2020.09.01.277632 is OK
- 10.1007/s10957-018-1430-2 is OK
- 10.1007/s11228-011-0191-y is OK
- 10.1214/19-EJS1662 is OK
- 10.1007/s12561-020-09283-2 is OK
- 10.1080/10618600.2018.1473777 is OK
- 10.1080/01621459.2019.1609970 is OK
- 10.1007/bf02985802 is OK
- 10.1016/j.csda.2020.106958 is OK
- 10.1162/NECO_a_00434 is OK
- 10.1093/biomet/asu031 is OK
- 10.1111/j.1467-9868.2010.00740.x is OK
- 10.1214/009053606000001370 is OK
- 10.1214/16-AOAS928 is OK

MISSING DOIs

- None

INVALID DOIs

- None

@whedon
Copy link
Author

whedon commented Jan 17, 2021

👋 @openjournals/joss-eics, this paper is ready to be accepted and published.

Check final proof 👉 openjournals/joss-papers#2028

If the paper PDF and Crossref deposit XML look good in openjournals/joss-papers#2028, then you can now move forward with accepting the submission by compiling again with the flag deposit=true e.g.

@whedon accept deposit=true

@arfon
Copy link
Member

arfon commented Jan 17, 2021

@whedon accept deposit=true

@whedon
Copy link
Author

whedon commented Jan 17, 2021

Doing it live! Attempting automated processing of paper acceptance...

@whedon whedon added accepted published Papers published in JOSS labels Jan 17, 2021
@whedon
Copy link
Author

whedon commented Jan 17, 2021

🐦🐦🐦 👉 Tweet for this paper 👈 🐦🐦🐦

@whedon
Copy link
Author

whedon commented Jan 17, 2021

🚨🚨🚨 THIS IS NOT A DRILL, YOU HAVE JUST ACCEPTED A PAPER INTO JOSS! 🚨🚨🚨

Here's what you must now do:

  1. Check final PDF and Crossref metadata that was deposited 👉 Creating pull request for 10.21105.joss.02844 joss-papers#2029
  2. Wait a couple of minutes to verify that the paper DOI resolves https://doi.org/10.21105/joss.02844
  3. If everything looks good, then close this review issue.
  4. Party like you just published a paper! 🎉🌈🦄💃👻🤘

Any issues? Notify your editorial technical team...

@arfon
Copy link
Member

arfon commented Jan 17, 2021

@jbytecode, @glemaitre - many thanks for your reviews here and to @mjsottile for editing this submission. JOSS relies upon the volunteer efforts of folks like yourselves and we simply wouldn't be able to do this without you! ✨

@Leo-Simpson - your paper is now accepted and published in JOSS ⚡🚀💥

@arfon arfon closed this as completed Jan 17, 2021
@whedon
Copy link
Author

whedon commented Jan 17, 2021

🎉🎉🎉 Congratulations on your paper acceptance! 🎉🎉🎉

If you would like to include a link to your paper from your README use the following code snippets:

Markdown:
[![DOI](https://joss.theoj.org/papers/10.21105/joss.02844/status.svg)](https://doi.org/10.21105/joss.02844)

HTML:
<a style="border-width:0" href="https://doi.org/10.21105/joss.02844">
  <img src="https://joss.theoj.org/papers/10.21105/joss.02844/status.svg" alt="DOI badge" >
</a>

reStructuredText:
.. image:: https://joss.theoj.org/papers/10.21105/joss.02844/status.svg
   :target: https://doi.org/10.21105/joss.02844

This is how it will look in your documentation:

DOI

We need your help!

Journal of Open Source Software is a community-run journal and relies upon volunteer effort. If you'd like to support us please consider doing either one (or both) of the the following:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
accepted published Papers published in JOSS Python recommend-accept Papers recommended for acceptance in JOSS. review TeX
Projects
None yet
Development

No branches or pull requests

7 participants