Giter Site home page Giter Site logo

compsys_hmm's Introduction

Graph.py

Implements the HMM class upon which the other code files operate. Can be used to generate forward simulation examples, load existing values (as from given csv files), and to do message passing on the corresponding clique tree. In this file also the visualization code for the simulation can be found. For further code ussage instructions, we reffer to the bottom of the Graph.py file.

log_reg_analysis.py

Implements the logistic regression, SVM, and small nn forecasting of C_t based on all observed X(t,i) values. Also plots the accuracies of the fitted models per t.

Inference Algorithm.py

File "Inference Algorithm.py" is for part II. Here, the path should be replaced as well. You can do this in the top of the document to acces the csv files.

Learning of the parameters.py

File "Learning of the parameters.py" is for part III. This code calls functions from "Graph.py", thus the path in "Graph.py" should be changed in regards to above.

Gradient_ascent.py

File "Gradient_ascent.py" is for part III. This code also loads a file from a path.

Other

The code doesn't require any other setup. Just note that the different files import functions from Graph.py, and remember to check that numpy, pandas, os, re, math, random and scipy is installed and up to date.

compsys_hmm's People

Contributors

olinmg avatar lucasbn15 avatar damgaards avatar

Watchers

 avatar

Forkers

lucasbn15

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.