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

Add function to turn annotations into one hot encoding #138

Open
sprestrelski opened this issue Aug 16, 2022 · 1 comment
Open

Add function to turn annotations into one hot encoding #138

sprestrelski opened this issue Aug 16, 2022 · 1 comment

Comments

@sprestrelski
Copy link
Member

sprestrelski commented Aug 16, 2022

Turn weakly labeled files into a DataFrame using one hot encoding.

Class 1 Class 2 Class 3 Class 4 Class 5 Class 6 Class 7
file1.wav 1 0 0 0 0 0 0
file2.wav 0 0 0 1 0 0 0
file3.wav 0 0 0 0 1 0 0

Example maybe here or here

@JacobGlennAyers
Copy link
Contributor

I imagine that this would be for ease of use with a library such as PyTorch? I.E. it is useful when trying to use PyHa outputs as training data?

What would be the added value of having that implemented natively in PyHa compared to using the existing functionality in deep learning frameworks?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants