Code Monkey home page Code Monkey logo

exp-anomaly-detector's Introduction

Readme

Requirements:

  1. python 2.7

  2. tensorflow 1.1.0

  3. numpy 1.12.1

  4. matplotlib 2.0.2

  5. pandas 0.20.2

  6. scikit-learn 0.18.1

Please also install other packages if necessary (will be noticed if a package is not installed).

Folders:

  1. env: the environments used for generating states in reinforcement learning;

  2. exp: the folders to maintain experiment outputs (checkpoint, summaries, etc.);

  3. test: the unit tests for basic functions

Files:

  1. Anomaly Detection with Q-learning (RNN n-n, boosted binary tree train).ipynb: main file for training the model

  2. Anomaly Detection with Q-learning (RNN n-n, boosted binary tree test).ipynb: main file for testing the model

These two files are roughly the same except the last section in each of them. One is for training using Yahoo benchmark dataset, and the other is for testing using Numenta datasets.

Notes:

  1. Please open "Anomaly Detection with Q-learning (RNN n-n, boosted binary tree test).ipynb" for the testing results of using the model for anomaly detection (Numenta datasets).

  2. Please open "Anomaly Detection with Q-learning (RNN n-n, boosted binary tree training).ipynb" for the training of the model. Before running the training file, please check the file "time_series_repo_ext.py" in env to correct the environment to load the training datasets (Yahoo Benchmark A1-A4).

  3. Practically, the training process could be done incrementally (by incrementally augmenting the datasets). But this functionality is currently not supported.

  4. You could change the strings "exp_relative_dir" or "dataset_dir" to change the pointed locations of experiment folders and dataset folders respectively.

exp-anomaly-detector's People

Contributors

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