Java icon indicating copy to clipboard operation
Java copied to clipboard

Added Exponential Moving Average Filter for audio signals , EMAFilter.java & EMAFilterTest.java

Open Shreya123714 opened this issue 1 year ago • 2 comments

  • [X] I have read CONTRIBUTING.md.
  • [X] This pull request is all my own work -- I have not plagiarized it.
  • [X] All filenames are in PascalCase.
  • [X] All functions and variable names follow Java naming conventions.
  • [X] All new algorithms have a URL in their comments that points to Wikipedia or other similar explanations.
  • [X] All new code is formatted with clang-format -i --style=file path/to/your/file.java

Shreya123714 avatar Oct 31 '24 10:10 Shreya123714

Codecov Report

:x: Patch coverage is 86.66667% with 2 lines in your changes missing coverage. Please review. :white_check_mark: Project coverage is 73.44%. Comparing base (a676ebc) to head (e909b40). :warning: Report is 237 commits behind head on master.

Files with missing lines Patch % Lines
...java/com/thealgorithms/audiofilters/EMAFilter.java 86.66% 1 Missing and 1 partial :warning:
Additional details and impacted files
@@             Coverage Diff              @@
##             master    #6075      +/-   ##
============================================
+ Coverage     73.42%   73.44%   +0.01%     
- Complexity     5078     5081       +3     
============================================
  Files           656      657       +1     
  Lines         17617    17632      +15     
  Branches       3394     3396       +2     
============================================
+ Hits          12936    12950      +14     
  Misses         4180     4180              
- Partials        501      502       +1     

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

:rocket: New features to boost your workflow:
  • :snowflake: Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

codecov-commenter avatar Oct 31 '24 10:10 codecov-commenter

Hi @yanglbme, @siriak, @vil02, @BamaCharanChhandogi, @alxkm, I’ve added an EMA filter implementation and some test cases in Java, but I'm running into a build error, could you please take a look when you have a moment? I’d appreciate any feedback or suggestions on how to resolve this. Thank you so much! 🙏

Shreya123714 avatar Oct 31 '24 11:10 Shreya123714

This is the error image

siriak avatar Oct 31 '24 20:10 siriak

@siriak , Thank you :) Resolved it 🥹.. Done

Shreya123714 avatar Nov 01 '24 06:11 Shreya123714

Looks good, thanks!

Thank you, I will add more features to the repo in 2 or 3 days, I am planning to add, Fuzzy set and Fuzzy inference system as well 😄🌌🫡

Shreya123714 avatar Nov 01 '24 10:11 Shreya123714