Surely there’s a better way to do this, but I’ve:
- unpacked
fluid.dataset~/fluid.labelset~todicts dict.unpack data:just to get the data bitspush_to_collto move intocoll-land- use the label
collto fork the MFCCcollinto a separatecollper class pull_from_collback intodict-land andloadintofluid.dataset~s (one per class)tobufferthefluid.dataset~s to get them intobuffer~sfluid.bufstats~to get the means per column (now channels)fluid.buf2list @axis 1to get the mean of each class
What a journey!
I could probably skip the coll stuff and operate on the dict versions, I just know the coll syntax offhand so did stuff there. But it was quite a tour the fluid.objects~ to do this!