Surely there’s a better way to do this, but I’ve:
- unpacked
fluid.dataset~
/fluid.labelset~
todict
s dict.unpack data:
just to get the data bitspush_to_coll
to move intocoll
-land- use the label
coll
to fork the MFCCcoll
into a separatecoll
per class pull_from_coll
back intodict
-land andload
intofluid.dataset~
s (one per class)tobuffer
thefluid.dataset~
s to get them intobuffer~
sfluid.bufstats~
to get the means per column (now channels)fluid.buf2list @axis 1
to 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!