Code Monkey home page Code Monkey logo

hq's Introduction

Install

dependencies

$ git clone https://gitlab.com/antoinehonore/hq.git
$ git clone -b api https://gitlab.com/antoinehonore/gm_hmm.git

Interpreters

In hq/ and gm_hmm/ folders Run:

$ cd [FOLDER]
$ virtualenv -p python3 pyenv
$ . pyenv/bin/activate
$ python [FOLDER]/setup.py develop

The last line adds the folder containing hq/ and gm_hmm/ to PYTHONPATH.

Data

Place the train and test pickle files corresponding to 61 classes and 39 features and clean test with the names: train.feat0.pkl and test.feat0.pkl under exp/split\_c61f39clean/data. Follow the same naming notations for the rest of the possible datasets.

  • feat0 is not used here but might be necessary if we were to compute different sets of features.

Test

From hq/, run:

$ make model=gmmhmm splits=_c61f39clean feats=0

Advanced test

Once the previous test runs and gives results, we can try more advanced calls:

$ ./gmmhmm_submodels
$ ./gmmhmm_submodels.sh print
Models:  gmmhmm
Number of states (ns):  3 6 9
Number of iterations (niter):  2 10 20
Number of mixtures (nmix):  2 4 6 8 10 12
gmmhmm-ns\{3,6,9\}-niter\{2,10,20\}-nmix\{2,4,6,8,10,12\}

Copy the last line and use it in the make call

$ make gmmhmm-ns\{3,6,9\}-niter\{2,10,20\}-nmix\{2,4,6,8,10,12\} splits=_c61f39clean feats=0 -j 5

This allows to train all combinations of hyper parameters for gmmhmms on the data called c61f39clean. Once you have set up more split_ folders, you can run things like:

$ make gmmhmm-ns\{3,6,9\}-niter\{2,10,20\}-nmix\{2,4,6,8,10,12\} splits=_c61f\{39,13\}clean feats=0 -j 5

Acknowledge

This repos is forked from hq

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.