Giter Club home page Giter Club logo

02460-nmf-with-gp-priors's Introduction

02460-NMF-with-GP-priors

This repository contains the final product from DTU course 02460 - advanced machine learning, where we worked on Non-negative matrix factorization with Gaussian Process priors for raman spectroscopy. The group consists of David Frich Hansen, Rasmus Arpe Fogh Jensen, Peter Edsberg Møllgaard and Søren Emil Schmidt.

The main hand-in of the project was the article included in article/NMF-GPP-Raman.pdf

Code

The code for the project is divided into seperate files.

  • core.py - Main file containing the code for the implementation of NMF-GPP, LS-NMF and the hamiltonian sampling scheme.

  • raman_plots.py - Script used to generate the raman spectra plots of the article

  • sampling.py - Generates three monte carlo chains and dumps them into the /chains/ folder.

  • sampling_plots.py - Script used to generate the sampling plots of the article based on the generated chains from sampling.py hamiltonian sampling scheme

Setup

Run the following commands to setup the conda environment.

conda env create -f environment.yml
source activate gpp-nmf

While running the sampling.py script, we encountered a "chains not unique" bug. From search on the internet, we found that the current (only) way to solve the problem was to change the source code according to the this comment. This source code manipulation is required to run the sampling script.

02460-nmf-with-gp-priors's People

Contributors

davidfrichhansen avatar rasmusafj avatar srenemil avatar

Stargazers

 avatar  avatar

Watchers

 avatar  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.