Skip to content
New issue

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

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

Already on GitHub? # to your account

Script to build dataset with labels and paths to SAC files #19

Merged
merged 4 commits into from
Feb 16, 2023

Conversation

basileroth75
Copy link
Contributor

  • Label data is loaded from .mat matrix.
  • SAC files paths are loaded from .txt file.
  • Labels are preprocessed.
  • 2 dataframes are merged and saved to /network/projects/aia/whale_call/LABELS/

- id: mypy
additional_dependencies: ['types-pyyaml']
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

list_randoms = []
for _ in labels.index:
list_randoms.append(
random.randint( # nosec
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think it should be a random float number between [1.0, and 4.0] inclusive.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Correct, I'll change that

@basileroth75 basileroth75 merged commit e3c0d2e into main Feb 16, 2023
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants