# Class "interpolation" (distance to classes)

**URL:** <https://discourse.flucoma.org/t/class-interpolation-distance-to-classes/1903>\
**Category:** Usage Questions\
**Created:** [May 7, 2023, 12:34pm UTC](https://discourse.flucoma.org/t/class-interpolation-distance-to-classes/1903 "2023-05-07T12:34:08Z")\
**Posts on this page:** 1\
**Showing post:** 48

<div class="post-metadata">

**Author:** ![rodrigo.constanzo](https://discourse.flucoma.org/user_avatar/discourse.flucoma.org/rodrigo.constanzo/32/12_2.png) [@rodrigo.constanzo](https://discourse.flucoma.org/u/rodrigo.constanzo)\
**Post date:** [February 11, 2024, 4:04pm UTC](https://discourse.flucoma.org/t/class-interpolation-distance-to-classes/1903/48 "2024-02-11T16:04:12Z")

</div>

Aaand a bit of classic number crunching.

Compared the MFCC and Spectral descriptors in terms of raw/straight classification (ala all the experiments from [this thread](https://discourse.flucoma.org/t/regression-classification-regressification/547/61)) and got the following results.

The labeled musical example I gave it had only 4 classes and I ran the tests with a classifier trained on just 4 classes, or all 10 classes. Then primarily experimented with including loudness compensation (this helped my MFCC accuracy) and whether or not to include derivatives.

The base recipes are as follows:  
MFCC baseline

> 13 mfccs / startcoeff 1  
> zero padding (256 64 512)  
> min 200 / max 12000  
> mean std low high (1 deriv)

Spectral baseline:

> all moments / power 1 / unit 1  
> zero padding (256 64 512)  
> max freq 20000  
> mean std low high (1 deriv)

//////////////////////////////////////////////////////////

The results:  
4 classes:  
mfcc baseline - **95.8333%** (my current “gold standard”)  
spectral baseline - **87.5%**  
spectral no loudness - **87.5%**  
spectral no deriv - **88.88%**

10 classes:  
mfcc baseline - **86.11%**  
spectral baseline - **66.66%**  
spectral no loudness - **66.66%**  
spectral no deriv - **72.22%**

//////////////////////////////////////////////////////////

So it looks like I’m probably better off without derivatives for these spectralshape things.

---

_[View the full topic](https://discourse.flucoma.org/t/class-interpolation-distance-to-classes/1903)._
