sensein / senselab

SenseLab is a Python package that simplifies building pipelines for biometric (e.g. speech, voice, video, etc) analysis.
https://github.com/sensein/senselab
Apache License 2.0
6 stars 3 forks source link

Adding utility functions #48

Closed fabiocat93 closed 1 month ago

fabiocat93 commented 1 month ago

I have added some utility functions for computing cosine similarity, eer, wer, cca, cka, cross correlation

codecov-commenter commented 1 month ago

Codecov Report

Attention: Patch coverage is 94.76744% with 18 lines in your changes missing coverage. Please review.

Project coverage is 59.38%. Comparing base (3e2e6b6) to head (66ff00b).

Files Patch % Lines
...lab/audio/tasks/speech_to_text_evaluation_pydra.py 0.00% 7 Missing :warning:
src/senselab/audio/tasks/preprocessing_pydra.py 0.00% 4 Missing :warning:
src/senselab/audio/tasks/preprocessing.py 93.18% 3 Missing :warning:
src/senselab/utils/tasks/cca_cka.py 95.55% 2 Missing :warning:
src/senselab/utils/tasks/cosine_similarity.py 90.90% 1 Missing :warning:
src/tests/audio/tasks/preprocessing_test.py 98.11% 1 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## audio_abstract_dtype #48 +/- ## ========================================================= + Coverage 41.62% 59.38% +17.75% ========================================================= Files 25 36 +11 Lines 627 943 +316 ========================================================= + Hits 261 560 +299 - Misses 366 383 +17 ```

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

fabiocat93 commented 1 month ago

thank you, @wilke0818, for your feedback. For now, I have created an enum for the kernel types. I will address documentation issues more calmly if that sounds reasonable. Also, I have added some more functionalities for audio pre-processing. Please feel free to review the code whenever you have time