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

Wenbo ver 2.0 #41

Merged
merged 3 commits into from
Mar 5, 2023
Merged

Wenbo ver 2.0 #41

merged 3 commits into from
Mar 5, 2023

Conversation

lwbhahahaha
Copy link
Collaborator

  • Upgraded the whole Wenbo algorithm to version 2.0;
  • Redesigned _encode() and '_decode()' to be more accurate and efficient;
  • Wenbo tfm detaches boolean_indicator(). Now boolean_indicator() is never called, to decrease runtime by 1/6;
  • Wenbo tfm now supports both Int or Float values as input;
  • Wenbo tfm now supports input values to be continuous within [0,1], instead of discrete (either 0 or 1). This will benefit applying Wenbo tfm onto prediction masks from NN because the output from NN will lie within [0,1]. Time is reduced by not needing to call round.();
  • Rewrote 50% code in a more professional way;
  • Performance on edge cases increased by ~20X;
  • Passed all test.

@codecov-commenter
Copy link

Codecov Report

Patch coverage: 81.29% and project coverage change: +5.19 🎉

Comparison is base (2984522) 44.17% compared to head (9b31bba) 49.36%.

📣 This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more

Additional details and impacted files
@@            Coverage Diff             @@
##           master      #41      +/-   ##
==========================================
+ Coverage   44.17%   49.36%   +5.19%     
==========================================
  Files           5        5              
  Lines         713      873     +160     
==========================================
+ Hits          315      431     +116     
- Misses        398      442      +44     
Impacted Files Coverage Δ
src/wenbo.jl 41.82% <81.29%> (+9.03%) ⬆️

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

☔ View full report at Codecov.
📢 Do you have feedback about the report comment? Let us know in this issue.

@Dale-Black Dale-Black merged commit 4c26e18 into master Mar 5, 2023
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.

3 participants