vocalpy / vak

A neural network framework for researchers studying acoustic communication
https://vak.readthedocs.io
BSD 3-Clause "New" or "Revised" License
78 stars 16 forks source link

Improve train/test(/val) split functions? #4

Open NickleDave opened 5 years ago

NickleDave commented 5 years ago

Making this into a general issue / discussion of how to improve these functions.
Will collect thoughts + ideas from other issues here (to close those and consolidate).

NickleDave commented 5 years ago

e.g. stratify by syllable / time-bin, etc.

NickleDave commented 2 years ago

From #42:

can use combinatoric itertools to more efficiently draw subsets of training data? i.e. find every combination of set of spectrograms with all classes present, then pick x of those