bmcfee / pumpp

practically universal music pre-processor
ISC License
60 stars 11 forks source link

Make our own label vectorizer #94

Closed bmcfee closed 5 years ago

bmcfee commented 6 years ago

Description

pumpp currently depends on three classes from sklearn: LabelEncoder, LabelBinarizer, and MultiLabelBinarizer.

While there's an implicit sklearn dependency via librosa, using sklearn objects within pumpp presents a challenge for serialization. It would be best if we just reimplement these classes locally to minimize issues with cross-version serialization.