Coder Social home page Coder Social logo

helion's Introduction

Helion

Helion is a data-driven framework that models the regularities of user-driven home automation, generates natural home automation scenarios, and provides stakeholders with tools to use the scenarios and obtain actionable outcomes.

Getting Started

To make it easier to run, respective library files are included in the project itself.

Quick Setup:

1. Add proper directories to your path:

Execute the Following commands or add them to your .bash_profile to set up your $PATH. Be sure to replace the paths with local paths on your machine

export PYTHONPATH=$PYTHONPATH:/Path/to/helion/libs/Daemon/python-daemon-2.2.0/
export PYTHONPATH=$PYTHONPATH:/Path/to/helion/libs/Daemon/python-daemon-2.2.0/daemon/ 
export PATH=$PATH:/Path/to/helion/libs/mitlm-master/
export PATH=$PATH:/Path/to/helion/libs/kramer-master/

2. Follow the instruction for respective scripts file.

Alternative Method:

If the quick setup method does not work, please install the latest version of libraries.

1. Download necessary files:

  • MITLM - MIT Language Modeling Toolkit
  • Python Daemon 1.5.5 - Library to implement a well-behaved Unix daemon process.
  • Brain Files - The language model server script which reads/writes JSON documents to named pipes.

2. Untar MITLM and Python Daemon:

Execute the following command to un-tar the the MITLM and python daemon packages:

$ tar-xzf <package_name.tar.gz>

3. Add proper directories to your path:

Execute the Following commands or add them to your .bash_profile to set up your $PATH. Be sure to replace the paths with local paths on your machine

export PYTHONPATH=$PYTHONPATH:/Path/to/Python/Daemon/python-daemon-1.5.5/
export PYTHONPATH=$PYTHONPATH:/Path/to/Python/Daemon/python-daemon-1.5.5/daemon/ 
export PYTHONPATH=$PYTHONPATH:/Path/to/Python/Daemon/python-daemon-1.5.5/daemon/version/ 
export PATH=$PATH:/Path/to/MITLM/mitlm-0.4.1/ 
export PATH=$PATH:/Path/to/Brain/Files/

4. Build MITLM:

Navigate to the mitlm-0.4.1/ directory and execute the following commands:

$ ./configure
$ make

After both of these commands have been executed, you should be able to see the estimate-ngram, evaluate-ngram, and interpolate-ngram executables in the mitlm-0.4.1/ directory.

5. Instantiate the Brain:

Navigate to the folder where your training and vocabulary files are located. Then instantiate the brain by running:

$ braind data/helion.train data/helion.vocab

For more detailed instructions on how to interact and instantiate the Brain, see the README.

Acknowledgements:

helion's People

Contributors

helion-security avatar suneal avatar

Stargazers

 avatar  avatar

Watchers

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