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

Several changes detailed below #25

Closed
wants to merge 6 commits into from
Closed

Several changes detailed below #25

wants to merge 6 commits into from

Conversation

ghost
Copy link

@ghost ghost commented Oct 24, 2023

Summary of changes

refactor: remove repetition by refactoring all solvers into a single function
fix: do not iterate if data is empty
fix: deprecate fcnnlsVector and update fcnnls to handle 1DArrays (this also fixes another bug since number[] is actually not accepted in the previous version.)
chore: fix benchmark
chore: readme examples and explanations.

close #22
close #24

@codecov
Copy link

codecov bot commented Oct 24, 2023

Codecov Report

Attention: 1 lines in your changes are missing coverage. Please review.

Comparison is base (8bc5871) 96.00% compared to head (ae10d5d) 99.29%.

Additional details and impacted files
@@            Coverage Diff             @@
##             main      #25      +/-   ##
==========================================
+ Coverage   96.00%   99.29%   +3.29%     
==========================================
  Files          12       12              
  Lines         700      711      +11     
  Branches       98      101       +3     
==========================================
+ Hits          672      706      +34     
+ Misses         28        5      -23     
Files Coverage Δ
src/fcnnls.ts 100.00% <100.00%> (ø)
src/fcnnlsVector.ts 94.73% <100.00%> (+0.14%) ⬆️
src/cssls.ts 98.29% <98.00%> (+21.01%) ⬆️

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@ghost ghost marked this pull request as ready for review October 24, 2023 12:17
@ghost ghost closed this Dec 20, 2023
This pull request was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add deprecated on fcnnlsVector possible bug in the matrix factorisation step
0 participants