Giter VIP home page Giter VIP logo

ddsw-2018-dsp-workshop's Introduction

Signal Processing for Data Science

Dutch Data Science Week Workshop

Introduction (09:00 - 10:45)

  • Signal processing applications
  • Convolution
  • Fourier analysis

Feature engineering (11:00 - 13:00)

  • 1D signals: filter banks, pooling
  • 2D signals: bag-of-words

Feature learning (14:00 - 15:15)

  • PCA / LDA
  • Convolutional neural network

Speech processing hackathon (15:30 - ?)

  • Speaker / gender / age / nationality recognition...
  • ...based on Fourier / bag-of-words / convnet

Getting started

This repo uses conda's virtual environment for Python 3.

Install (mini)conda if not yet installed by following the instructions on https://conda.io/docs/install/quick.html.

Create the environment using the environment.yml config file:

$ cd /sp/for/datascience/ddsw/folder
$ conda env create -f environment.yml
$ source activate dsp

If that doesn't work, inspect the environment.yml and install the packages you need one by one.

Then, start a Jupyter notebook server

$ jupyter-notebook

and pick the notebook you want to run.

Or view a notebook as a presentation (if applicable; this is indicated by the presence of 'Slide Type' dropdowns in the top right of the notebook cells)

$ # possible presentations are intro.ipynb, feature-engineering.ipynb and feature-learning.ipynb
$ jupyter nbconvert intro.ipynb --to slides --post serve

Hackathon

In the hackathon we will apply Digital Signal Processing methods to audio sigals. Provided is a handful of speech samples and associated metadata of the speakers. Based on that, we'll try to recognize the speaker's identity/gender/age/etc using machine learning. See hackathon/hackathon.ipynb for the assignment; or a couple of my implementations in hackathon/hackathon-answers.ipynb.

Lab notebooks

In fourier-lab.ipynb we will look at how fourier analysis can help us to find periodicity in a timeseries, and we will use FFT to identify outliers in the sunspots dataset. As a bonus exercise (more of a thought experiment), we look at how we can use FFT for extrapolation. See fourier-lab-answers.ipynb for possible solutions.

In convnet-lab.ipynb we implement an end-to-end transfer learning pipeline using Keras. We will train a CNN on the first 5 digits of MNIST, and use the features learnt at this step to classify the last 5. A student should be able to solve this exercise by following the lecture material in convnet.ipynb; solutions are in convnet-lab-answers.ipynb

ddsw-2018-dsp-workshop's People

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.