Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Exercises for Patterns in Recordings

Exercises for Patterns in Recordings

from DHOxSS 2015-16

Ben Fields

July 05, 2016
Tweet

More Decks by Ben Fields

Other Decks in Technology

Transcript

  1. Patterns in Recording -
    Exercises
    Ben Fields

    View Slide

  2. WEKA basics
    • Launch the WEKA
    Application

    • Select ‘Explorer’

    • Load
    ’50_weka_class_labeled.arff’

    • Select various Attributes
    (features)

    View Slide

  3. WEKA basics
    • Attribute selection with
    regular expressions (‘.*’ is
    an expanding wild card)

    • Find all the MFCC
    attributes

    • also select ‘CLASS’

    • press ‘Invert’, then
    ‘Remove’

    View Slide

  4. using a classifier
    • Select ‘Classify’ tab

    • ‘Choose’ >>
    ‘classifiers/bayes/
    NaiveBayes’

    • set test options to
    ‘Cross-validation’

    • press ‘Start’

    View Slide

  5. putting it all together
    • now repeat the whole process using LPC features

    View Slide

  6. Explore more files and
    features
    • Load ‘training_data_after_parsing.arff’

    • Classify against the CLASS mood labels using Random
    Forests and J48. Which performs better? Which classes
    are most confused?

    View Slide