Giter VIP home page Giter VIP logo

pv021_project's Introduction

pv021_project

Building is done by cmake. To successfully build the project you need to have c++14 capable compiler and opencv-2.4 library installed.

Following steps could be useful for usage of neural network:

Download data set

In order to download data set use download.sh script from directory where you want the data to be stored. download.sh takes two arguments of time interval of samples. Example:

    ./download.sh 2015-1-1 2015-12-31

would download the whole year 2015.

If you want to change the sample rate, rewrite the line 22 in download script to desired rate in minutes.

PCA computation

pca-matrix binary is used to compute PCA matrix from dataset. Usage example:

    ./pca-matrix my-dataset my-dataset.pca

Where my-dataset is directory located in same directory as 'pca-matrix' binary and contains only downloaded data.

Learning

To run lstm network in learning mode run following command:

    ./lstm --data=[data set path] --pca=[path to pca matrix] --ite=[number of iterations]
           --s=[save network path]

Before run be sure, that the dimension of pca matrix is same as input_size in main.cpp.

If you dont know the pca matrix size, run the lstm binary with given matrix and change the input_size on line 22 in main.cpp.

Evaluating

To run lstm network in evaluation mode run following command:

    ./lstm --data=[data set path] --pca=[path to pca matrix] --l=[network path] --o=[result.jpg]

The network will load first 7 images from data set and computes the following one.

pv021_project's People

Contributors

xlauko avatar yaqwsx avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar  avatar

pv021_project's Issues

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.